Python - pycharm Basics

Python create a project

  1. Project Creation: create-project-- Custom Path - select entity python environment, create success
  2. Project handover
  3. Project closed

Create a Python package

  1. Create a python file ----- python script file is a file with .py ending, that can be run directly
  2. Create Folder ---- create a directory, then .py files can be placed in a folder

Program running

  1. Right choice directly run
  2. Shortcut Ctrl + shift + F10
  3. Open the terminal command line operation, with cmd dos terminals, like, python **. py on it

Guess you like

Origin www.cnblogs.com/qhy-petrel/p/12154634.html