Home > database >  The first day of learning to program - build python environment
The first day of learning to program - build python environment

Time:10-10

A, install python

1. Check whether to install python, "python" in the CMD command input;

2. To download the latest version of python in python's official website, run the setup program, please be sure to check the Add python to PATH, allow you to easily configure,

2, install text compiler geany

To http://grant.org/to download geany compiler, establish python_work in desktop folder, used to store python. Py files;

Three, run an interactive python program (CMD running python)

1. C: \ desktop \ python_work & gt; Python hello_world. Py#;

2. The CD command specified folder, CD directory name, to the directory name folder; CD/, returned to the root directory; Dir (director) directory list all folders in the current directory,

4, install python packages
Note: if you can't install, as shown in figure process can try under CD install setuptools first, then install the PIP,


CodePudding user response:

Thanks for sharing, knowledge suggest wrote a personal blog,
  • Related