Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python comment block

"""
this 
is
a multiline 
comment
"""
Comment

comment out a block in python

select the lines you want to comment
and 'use Ctrl + / to comment all of the selected text'.
To uncomment do the same thing.
OR
put a '#' before each line

eg : #This is a comment
Comment

Python comment block

# This is
# a python block comment
# created by starting each line
# with the pound sign
print ('This section is not a python block comment')
Comment

Python comment block

"""
This is a
Python multi-line Docstring
which can also be used
to create a python block comment
Just like this one
"""
print ('This section is not a python block comment')
Comment

PREVIOUS NEXT
Code Example
Python :: python random list of integers without repetition 
Python :: concat columns pandas dataframe 
Python :: pandas two dataframes equal 
Python :: python web parsing 
Python :: df dropna 
Python :: flask template split string 
Python :: python remove first substring from string 
Python :: debug mode: on flask pythin window 
Python :: drawing arrows in tkinter 
Python :: print pretty in python 
Python :: pymupdf extract all text from pdf 
Python :: pandas index to datetime 
Python :: selenium firefox webdriver 
Python :: convert base64 to numpy array 
Python :: dockerfile for django project 
Python :: How to change values in a pandas DataFrame column based on a condition in Python 
Python :: django view 
Python :: flask blueprint static folder 
Python :: http server in python 
Python :: python network programming 
Python :: delete key value in dictionary python 
Python :: install fasttext python 
Python :: python save dictionary 
Python :: python numpy array size of n 
Python :: try catch in python 
Python :: django sessions 
Python :: python find equal rows of two numpy arrays 
Python :: python iterate list 
Python :: python replace nth occurrence in string 
Python :: text widget get tkinter 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =