Thanks to new contributor ayushkm, we now have code snippets in the forums.
This is mostly useful for extension writers to share bits of code with each other that looks right in the web browser.
import sys
sys.stdout.write("This is a bit of python")
class Example(object):
"""Docs are great"""
def __init__(self, arg):
self.arg = arg
if __name__ == '__main__':
Example()
sys.exit(1)
Thanks to new contributor ayushkm, we now have code snippets in the forums.
This is mostly useful for extension writers to share bits of code with each other that looks right in the web browser.