1- Install Visual Studio Code (https://code.visualstudio.com/). You can use any code writer, such as Notepad++.
2- Install Anaconda (https://www.anaconda.com/)
3- Install git-scm (https://git-scm.com/). This software is similar to CDM for Windows, and its interface is more like Linux. So, it is recommended to use this software to replace CDM or the terminal in Visual Code.
![]() |
| During Git installation, select "Use Visual Studio Code as Git's default editor". |
$ conda init bash
#specifically, please have your own environment.
6- Open Git Bash (How to execute demo.py)
Bash
$ cd ~/Desktop #change directory to the Desktop, since we want to run demo.py
#that located at the Desktop
$ ls #keyword for listing all files in the directory, which is in the Desktop.
$ python demo.py #how to run demo.py.
7- How to install package(s)?? Run Git Bash, and we want to install it in the Demo environment.
![]() |
| What if our script "demo.py" has a package?? |
$ conda install requests #how to install "requests", which is a package.
$ python demo.py #how to run demo.py. That has the "requests" package


No comments:
Post a Comment