In this post we will see how to setup our Python environment to run our scripts and application. Installing and running python program is relatively easy compared to most programming language. This will consist of 2 parts i.e,
Local Environment
Cloud Environment
Local Environment
1. For this we will be installing the application on the Windows 10, visit the following link https://www.python.org/downloads/ and download the latest version on Python installer.
2. Once the installer is downloaded just run the package, leave the checkbox selection to default click next and finish the installation.
3. To verify the successful installation open up the command prompt and type in the below command
python --version
Cloud Environment
If you wish not to install Python on our system but still want to run python then you can visit anyone of these sites to write and run programs, these are completely free and flexible to use all you need is just a web browser with internet connection.
I. Repl.it
URL : https://repl.it
No sign in required, completely free and it provide both terminal as well all the run file to run our python scripts. What makes it standout is that we can even run Tkinder application or other interactive GUI application on Repl.
II. Pythonanywhere
URL : https://www.pythonanywhere.com
It requires sign in but it will even let you to host and run you Python web application with mysql server on their free version with limited bandwidth making it best choice for web application.