(1) install Python Interpreter

  • Python Official website :https://www.python.org/

    Download the corresponding machine (Windows/Mac) Installation package :

    Baidu online address :

    link :https://pan.baidu.com/s/1oX9W-yTStNovaFeBTHA2Pg

    Extraction code :yhhp

  • Double click download okay Python Installation package :


    PS: If not checked Add Python 3.7 to PATH, need Manually configure environment variables

( If you check Add Python 3.7 to PATH You can ignore the step of manually configuring environment variables )

  • Computer -> attribute -> Advanced system setup

  • environment variable -> System variables ->Path:

  • take python.exe The path and pip The path of the command is configured to Path in :

    D:\Python3

    D:\Python3\Scripts

    Manually configure the environment variables .

  • win + r open cmd Command line , Input python, Verify that the configuration is successful :

(2)PyCharm Editor

PyCharm Related usage and settings :

  • Create the first one Python Program :

    • Open the installed PyCharm, choice Create New Project:

    • Create the project as shown in the figure below :

    • establish py file :

    • function py file (Shift + F10):

  • stay PyCharm Find... In the lower left corner of the center Python Console Click to enter Python Console :

  • Console line feed display :

  • Code auto alignment shortcuts :Ctrl + alt + l

  • PyCharm How to set up “ctrl+ Roller ” Achieve font zoom in and out

    It's set up in two steps :

    1. PyCharm Font magnification settings :

      File --> setting --> Keymap --> Type in the search box increase —> Increase Font Size( double-click ) --> Select in the pop-up dialog box Add Mouse Shortcut --> After the pop-up dialog Hold down ctrl Key while the mouse wheel slides up .

    2. Pycharm Font reduction settings :

      File --> setting --> Keymap --> Type in the search box decrease —> Decrease Font Size( double-click ) --> Select in the pop-up dialog box Add Mouse Shortcut --> After the pop-up dialog Hold down ctrl Key at the same time the mouse wheel down .

      The setup is complete , You can try it yourself !

  • modify pip Source image :

    Follow up, whether it's using Python Do automated tests 、Web Website development 、 Crawler or data visualization analysis will be used pip command Download third-party libraries , because pip The source image is abroad , So we are install Third party libraries often need to add -i http:// The address of the domestic image The connection will not fail because of the download timeout , Here, the default image of the local computer is directly changed to the domestic address , In this way, you don't need to add the image manually every time you download the third-party library , Reference method :

    https://www.cnblogs.com/caituotuo/p/14159989.html

know Python Interpreter and PyCharm More articles about editor

  1. day_2 install Python Interpreter and pycharm

    First of all, let's review yesterday's content ··· a key 1: Hexadecimal conversion : Binary system   And   Hexadecimal 1111  0101 1010  Convert to  f5a 2: Distribution of memory : Heap area   and   The stack area The principle of computer : controller   Arithmetic unit   Memory  inp ...

  2. python start --windows Installation under system python Interpreter and PyCharm

    Reference tutorial : 1)https://www.runoob.com/w3cnote/pycharm-windows-install.html 2)https://blog.csdn.net/c_shell_ ...

  3. Python Commonly used tools PyCharm

    PyCharm  It's something I used python Editor , The one that's more convenient . And it can be cross platform , stay macos and windows You can use it below , This is better . First preview  PyCharm  Interface in practical application :( To change the PyC ...

  4. day02 programing language ,Python Language introduction ,Python Interpreter installation , environment variable ,Python Code execution ,pip, Three steps for an application to use a file , Variable , Three components of variables , Compare ,pycharm

    review a key : 1. Hexadecimal conversion : Binary system And hexadecimal 2. Distribution of memory : The stack area And the stack area # Binary system 1111 Convert hexadecimal => 8 4 2 1 => f 10101100111011 => 2a7 ...

  5. #3 Python Interpreter and editor

    Preface As described above Python Installation methods on different platforms , This article will take you through Python The concept of interpreter and editor , And choose the interpreter and editor that best suits you ! One .Python Interpreter In fact, the installation described above Python, The essence ...

  6. Python Study : Installation configuration pycharm Editor

    I only introduce windows Installation process , because mac The installation process of is too simple , Just keep going . 1. windows setup script 1.1 Download installation package , I can get the software ! ​ Download according to your own operating system , left ...

  7. python Environment building - Set up PyCharm The color scheme of the software and Python Interpreter

    Set up PyCharm The color scheme of the software Set up Python Interpreter ( be used for Python2 or 3 Handoff )

  8. Pycharm Choose from Python Interpreter

    After new project , occasionally Pycharm Can't find Python Interpreter , If you can't find it , You're going to report a mistake . Error message : No python interpreter configured for the project find P ...

  9. PyCharm Configure remote python Interpreter

    The configuration process The native environment operating system :win10 IDE:Pycharm remote server operating system :ubuntu14.04 Configured with ssh, have access to ssh Remote login To configure Deployment First , stay pychar ...

  10. pycharm Use docker Container of python Interpreter ,

    The last one is pycharm call docker The mirror image of python Interpreter . This article introduces pycharm call docker Of a container python Interpreter . These two ideas are still different , The first is to use pycham Interface selection pyt ...

Random recommendation

  1. debian Next NTFS Partition cannot access solution

    Open the terminal # ntfsfix /dev/sda3 (/dev/sda3 It's the red framed part in the picture above , Replace according to the actual situation ) If this disk can be mounted normally , It means the problem has been solved , Other disks can also be mounted after restart If you don't want to restart ...

  2. Li Hongqiang iOS Apple development uses preview screenshot

    Li Hongqiang iOS Apple development uses preview screenshot 01 Select the area you want to cut in the preview image  02 - command + C   03 - Command + N 04 - Command + S ( preservation )

  3. Single Image Haze Removal Using Dark Channel Prior translate

    During this period of time, I'm looking back on what I did before , I translated this article by the way , See if there's peer communication . Because it uses LaTex Typesetting , So it's just a picture . in addition , English is limited , Most of it depends on dictionaries , So I can only watch it reluctantly .

  4. Objective-c Arithmetic functions and constants represent

    unchanged Constant names explain M_PI PI (=π) M_PI_2 PI 1/2(=π/2) M_PI_4 PI 1/4(=π/4) M_1_PI =1/π M_2_PI =2/π M_E =e M_LO ...

  5. wireshark Using skills

      Wireshark Using skills -GeoIP Show IP Location     In the use of Wireshark when , Sometimes it is necessary to know one of the captured messages IP The specific geographical location of the address , The smarter way is to put IP Address replication , And then through some software or ...

  6. 003_ generator (generator) Internal analysis

    #http://kb.cnblogs.com/page/87128/( Not finished )

  7. LIN note

    LIN Used 1 We need a cable to communicate , however , It has to refer to VBat and GND. Leaving these two reference levels , There's no way to judge online bit state . in addition , According to the classic LIN Drive circuit ( One OC door ),RX Pick up ...

  8. react-ssr

    Why use SSR With the traditional SPA(Single-Page Application - Single page application ) comparison Server-side rendering (SSR) The main advantages of : better SEO, Because the crawler crawler tool of search engine can view it directly ...

  9. ref:Spring Integration Zip Unsafe decompression (CVE-2018-1261) Vulnerability analysis

    ref:https://mp.weixin.qq.com/s/SJPXdZWNKypvWmL-roIE0Q 0x00 Vulnerability Overview Vulnerability name :Spring Integration Zip Unsafe decompression Vulnerability compilation ...

  10. be based on NMAP Log file brute force cracking tool BruteSpray

    be based on NMAP Log file brute force cracking tool BruteSpray   Use NMAP Of -sV Option to scan , The service corresponding to the port of the target host can be identified . Users can authenticate these services . For the convenience of penetration testers ,Kali L ...