The article directories
Python Comment and Uncomment multiline programs 1, Method 1 (recommended) 1, Comment 2, Uncomment 2, Method 2
Python annotation and uncomment multiline programs
In the program, sometimes you want to comment out the multi-line program, line by line comment is more troublesome, so can you comment more lines, yes, there are several methods:
1. Method 1 (recommended)
1, comments,
Select the paragraph you want to comment, press Ctrl +/, and the effect looks like this:
2. Uncomment
Click Ctrl +/ again to uncomment
Second, method 2
Enclose the entire paragraph in three double or multiple quotes, as shown in the figure
Read More:
- Python uses cxfree to package script files into executable programs
- Cuban DCOM connection to programs Synsopose.exe failed
- use cin.get () instead of system (“pause”) to avoid the flash of C + + programs
- Can’t find Python executable “D:\python3\python.exe”, you can set the PYTHON env variable.
- Mpi4py installation error: cannot compile MPI programs. Check your configuration!!!
- Solve the problem of unable to locate package python3.6 when upgrading from python3.5 to python3.6 in ubantu16.04
- Python – writing visual interface (Python + pycharm + pyqt)
- Python – [encoding] in Python os.system Solution to Chinese garbled code when calling CMD command
- Anaconda returns Python 3.7 to Python 3.6
- Learning notes of Python 3: debugger speedups using Python not found
- The python version output from the command line is inconsistent with the python version in the current CONDA environment
- Error loading Python DLL ‘python36.dll’. LoadLibrary: The specified module could not be found.
- Python module learning-Paramiko-Use python to throw an exception: Authentication failed.
- yarn install gyp verb `which` failed python2 Error: not found: python2
- KeyError: ‘/home/xxx/anaconda3/lib/python3.8/site-packages/parso/python/grammar38.txt‘
- Encountered a problem — Python — Python 3 uses Sqlalchemy to report an error‘
- Python Basics – python3 installing pyhook and pywin32 Libraries
- Cannot set up a python SDK Python 2.7. The SDK sees invalid
- How to batch comment and cancel Python code
- The solution to the error of importing CSV from Python to Python