brennerm / PyTricks

Collection of less popular features and tricks for the Python programming language
MIT License
3.07k stars 502 forks source link

Comment blocks can be turn on and off in one '#' #85

Closed flintforge closed 6 years ago

flintforge commented 6 years ago

Hi, I found an other usefull trick :

Comment blocks can be turn on and off in one '#' When the wrapping blocks are #"""

example :

#"""
print('something')
#"""
brennerm commented 6 years ago

Cool, actually I've never seen that. Feel free to add yourself to the contributors. Afterwards I'm going to merge.