Python Snippets

Date

26th May 2013

Modified

2020-05-04 20:39

Author

Matthew Tunstall

How to call shell commands.
1#!/usr/bin/env python
2# A python example showing how to call shell commands from a python script.
3import subprocess
4subprocess.call("ls-l", shell="TRUE")

Python GTK3 Tutorial & Reference Documents

http://python-gtk-3-tutorial.readthedocs.org/en/latest/index.html