python cheat sheet
-
To use python from windows command line, you need to set environmental variable PATH:
-
To directly install library packages to python. Extract the folder pyserial-2.5 from the downloaded tarball to
C:\Python27\Lib\site-packages
. Then, install from the directory:C:\Python27\Lib\site-packages\pyserial-2.5
by runningpython setup.py install
-
Input output file handling from command line python. If you are the only one to use the program and don’t need any defensive programming use this technique.
Last modified: 2017-12-31