Running Python

Beginning Python Programming

Makzan, 2020 April.

Running Python

  • Installing from Python.org
  • Third party distribution, such as Anaconda
  • Running Python on web browsers
  • Running on Juypter
  • Running Python in iOS and Android
  • Running Python on server
  • Running Python in other hardware

Installing Official Python

  • python.org
  • Latest version is 3.8.2
    as at 2020 April.

Running .py file in Windows

  1. Double click file to run
  2. Command Prompt

Anaconda distribution

Anaconda provides an all-in-one package with Python runtime with extra essential modules installed. It is a one-stop distribution that provides all the modules that we need for learning this course.

 

Python on Web Browsers

The easiest way to run Python is through web browser. The following lists some of the online editor that you run Python code directly.

Python on Jupyter

Jupyter is web-based interactive learning environment. Anaconda distribution also includes Jupyter.

  1. Launch Anaconda Navigator.
  2. Launch “Jupyter”
  3. Browser folder tree to project folder, if any.
  4. New “Python 3” file.
  5. Happen Python coding ;-)

Pythonista on iOS

  • Python 3 runtime
  • BeautifulSoup
  • NumPy
  • MatPlotLib.
  • iOS Clipboard
  • iOS contacts
  • iOS photos.
  • and more...

Python in iOS and Android

Pyto on iOS

  • Python 3 runtime
  • BeautifulSoup
  • NumPy
  • MatPlotLib
  • Pandas
  • Sci-kit Learn
  • Home Screen Widget

Python in iOS and Android

Carnets—Jupyter on iOS

  • Standalone Jupyter
  • Local without Internet needs
  • Includes:
    • Numpy
    • Matplotlib
    • Sympy
    • Pandas

Python in iOS and Android

Pydroid 3 for Android

  • Python 3.7 IDE on Android
  • Package manager included
  • Includes:
    • Numpy
    • Scipy
    • Matplotlib
    • Scikit-learn
  • Jupyter included

Python in iOS and Android

Python on Server

  • Python runs on Linux, Windows Server, and macOS Server
  • Scheduled Python execution on Server
    • To keep fetching data
    • To keep providing data

Example:

https://dev.makzan.net/news-latest.txt

https://mak.la/carpark.xml

 

Extra: https://mak.la/carpark

Python on other hardware

For example: