Difference between revisions of "Python"
Jump to navigation
Jump to search
Wiki-admin (talk | contribs) |
Wiki-admin (talk | contribs) |
||
Line 20: | Line 20: | ||
python get-pip.py | python get-pip.py | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! scope="col" | Python Library | ||
+ | ! scope="col" | Description | ||
+ | ! scope="col" | Installed | ||
+ | ! scope="col" | Installer Type | ||
+ | ! scope="col" | URL | ||
+ | |||
+ | |- | ||
+ | | PIL || Python Image Library || Yes || Package Manager || http://www.pythonware.com/products/pil/ | ||
+ | |- | ||
+ | | SciPy || Python-based ecosystem of open-source software for mathematics, science, and engineering. || Yes || Package Manager || http://www.scipy.org/install.html | ||
+ | |- | ||
+ | | PyWIn32 || Python Extensions for Windows || Yes || Windows Installer || http://sourceforge.net/projects/pywin32/files/pywin32/ | ||
+ | |- | ||
+ | | PySerial || Serial access for Python || Yes || Windows Installer || https://pypi.python.org/pypi/pyserial | ||
+ | |- | ||
+ | | wxPython || GUI Toolkit for Python || Yes || Windows Installer || http://www.wxpython.org/download.php#msw | ||
+ | |- | ||
+ | | matplotlib || 2D plotting library for Python || Yes || Windows Installer || http://matplotlib.org/downloads.html | ||
+ | |- | ||
+ | | pyo || dedicated Python module for digital signal processing || Yes || Windows Installer || http://ajaxsoundstudio.com/software/pyo/ | ||
+ | |- | ||
+ | | Opencv2 || Open Source Computer Vision is a library of programming functions mainly aimed at real-time computer vision || Yes || Windows Installer || http://opencv.org/ | ||
+ | |- | ||
+ | | PyQt || Python binding of the cross-platform GUI toolkit Qt || Yes || Windows Installer || http://www.riverbankcomputing.co.uk/software/pyqt/download5 | ||
+ | |- | ||
+ | | PyQtGraph || Scientific Graphics and GUI Library for Python || Yes || Windows Installer || http://www.pyqtgraph.org/ | ||
+ | |- | ||
+ | | AVbin || Codec || No || Windows Installer || http://avbin.github.io/AVbin/Home/Home.html | ||
+ | |} | ||
+ | |||
+ | '''Default Folder Location packages''' | ||
+ | |||
+ | The librarys is installed on the following windows path: | ||
+ | C:\Python27\Lib\site-packages | ||
=== Windows Installation Setup-Tools (easy_install) === | === Windows Installation Setup-Tools (easy_install) === |
Revision as of 08:32, 14 October 2014
Windows Installation
Windows Installation Python 2.7
You can download the Win32 installer by clicking on the following link: https://www.python.org/downloads/
Set Windows Environment Variables
Computer --> Properties --> Advanced settings --> Environment Variables.
Add the following Path:
C:\Python27;C:\Python27\Lib\site-packages\;C:\Python27\Scripts\;
Windows Installation PIP package manager
Install Pip by executing get-pip.py you can get the file here: https://raw.github.com/pypa/pip/master/contrib/get-pip.py
Execute the following command:
python get-pip.py
Python Library | Description | Installed | Installer Type | URL |
---|---|---|---|---|
PIL | Python Image Library | Yes | Package Manager | http://www.pythonware.com/products/pil/ |
SciPy | Python-based ecosystem of open-source software for mathematics, science, and engineering. | Yes | Package Manager | http://www.scipy.org/install.html |
PyWIn32 | Python Extensions for Windows | Yes | Windows Installer | http://sourceforge.net/projects/pywin32/files/pywin32/ |
PySerial | Serial access for Python | Yes | Windows Installer | https://pypi.python.org/pypi/pyserial |
wxPython | GUI Toolkit for Python | Yes | Windows Installer | http://www.wxpython.org/download.php#msw |
matplotlib | 2D plotting library for Python | Yes | Windows Installer | http://matplotlib.org/downloads.html |
pyo | dedicated Python module for digital signal processing | Yes | Windows Installer | http://ajaxsoundstudio.com/software/pyo/ |
Opencv2 | Open Source Computer Vision is a library of programming functions mainly aimed at real-time computer vision | Yes | Windows Installer | http://opencv.org/ |
PyQt | Python binding of the cross-platform GUI toolkit Qt | Yes | Windows Installer | http://www.riverbankcomputing.co.uk/software/pyqt/download5 |
PyQtGraph | Scientific Graphics and GUI Library for Python | Yes | Windows Installer | http://www.pyqtgraph.org/ |
AVbin | Codec | No | Windows Installer | http://avbin.github.io/AVbin/Home/Home.html |
Default Folder Location packages
The librarys is installed on the following windows path:
C:\Python27\Lib\site-packages
Windows Installation Setup-Tools (easy_install)
Execute the command within CMD:
pip install -U setuptools
Windows Handlers
Check the Handlers by opening the Windows registry editor.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Python.CompiledFile\shell\open\command] @="\"C:\\Python27\\python.exe\" \"%1\" %*"
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Python.File\shell\open\command] @="\"C:\\Python27\\python.exe\" \"%1\" %*"
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Python.CompiledFile\shell\open\command] @="\"C:\\Python27\\python.exe\" \"%1\" %*"
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Python.File\shell\open\command] @="\"C:\\Python27\\python.exe\" \"%1\" %*"
Execute Python TestArgs.py
Execute the following script within the commandline:
python testArgs.py a.
You will see the following result:
number of argument: 2 argv[0]: ./testArgs.py argv[1]: a