Python: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
python mypython.py | python mypython.py | ||
</pre> | </pre> | ||
= Projects based on python = | |||
* [http://kevinmehall.net/p/pithos/ pithos] Pandora on linux | |||
* Many Raspberry Pi GPIO projects |
Revision as of 08:41, 22 March 2013
Install a new module
The Python Package Index (PyPI) is the definitive list of packages (or modules
sudo apt-get install python-serial
If a package has been bundled by its creator using the standard approach to bundling modules (with Python’s distutils tool), all you need to do is download the package, uncompress it and type:
python setup.py install
How to run a python code
python mypython.py
Projects based on python
- pithos Pandora on linux
- Many Raspberry Pi GPIO projects