Python: Difference between revisions

From 太極
Jump to navigation Jump to search
(Created page with "= Install a new module = <pre> sudo apt-get install python-serial </pre> If a package has been bundled by its creator using the standard approach to bundling modules (with Pytho…")
 
No edit summary
Line 1: Line 1:
= Install a new module =
= Install a new module =
[https://pypi.python.org/pypi The Python Package Index (PyPI)] is the definitive list of packages (or modules
<pre>
<pre>
sudo apt-get install python-serial
sudo apt-get install python-serial

Revision as of 15:30, 1 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