Skip to content

Instantly share code, notes, and snippets.

@FlintSable
Last active August 15, 2018 04:07
Show Gist options
  • Select an option

  • Save FlintSable/7346633e2b6554c51152b4015b04a6f0 to your computer and use it in GitHub Desktop.

Select an option

Save FlintSable/7346633e2b6554c51152b4015b04a6f0 to your computer and use it in GitHub Desktop.
Basics and helper functions
# output the modules methods
dir(modulename)
# pp print for pretty printing
import pprint
pp = pprint.PrettyPrinter(indent=4)
pp.pprint(whatever)
import sys
def read():
s = input()
return s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment