You can read more at [Learning Python Application Development] (https://www.packtpub.com/application-development/learning-python-application-development?utm_source=Github&utm_medium=Repository&utm_campaign=9781785889196)
README file for book : Learning Python Application Development, Packt Publishing
*Directory contents: Code files for the following Chapters:
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
See the LICENSE file for the license information for this code.
All above files are compatible with Python 3.5.x
Equivalent Python 2.7.9 compatible files are located in the directories with the following convention: src_chNo_python2
- RUNNING THE PROGRAMS
-
General instruction: /path/to/python filename.py
Replace /path/to/python with the actual Python path on your system. Replace filename.py with the actual file name
-
Python 3.5.x must be installed on your system.
-
It is assumed that you have Python 3.5 available in your environment variable PATH. It will be typically available as 'python' or 'python3'.
-
Here is the command to execute this code from command prompt
$python filename.py ( OR $python3 filename.py)
-
Alternatively specify the full path to the Python 3 executable. For example on Linux, it could be:
/usr/bin/python filename.py
-
On Windows OS, while installing Python 3.5, you should add Python to the environment variable PATH. For example, on Window 7, it could be installed here: C:\Users\USER_NAME\AppData\Local\Programs\Python\Python35-32\python.exe
Where USER_NAME is your Windows user name.
Assuming it is in the PATH, it could be run from the command prompt as: > python.exe filename.py Or simply: > python filename.py
-
If the above instructions doesn't help, visit python.org for OS specific instructions.
Related Python Books
[ Expert Python Programming [Book] ] (https://www.packtpub.com/application-development/expert-python-programming?utm_source=Github&utm_medium=Repository&utm_campaign=9781847194947)
[ Building Machine Learning Systems with Python [Book] ] (https://www.packtpub.com/big-data-and-business-intelligence/building-machine-learning-systems-python?utm_source=Github&utm_medium=Repository&utm_campaign=9781782161400)
[ Deep Learning with Python [Video] ] (https://www.packtpub.com/big-data-and-business-intelligence/deep-learning-python-video?utm_source=Github&utm_medium=Repository&utm_campaign=9781785883873)