DM me! RT = See this & Like = Thx 4 posting! #Rstats #Python #Emacs #Haskell #Finance #Jesus NYC, πΊπΈ
Feb 7, 2018 β’ 68 tweets β’ 16 min read
High level #python#tutorial thread:
Python is a high level language that runs bytecode in its virtual machine.
Everything is an object.
It supports OOP up to multiple inheritance and functional programming.
Typing is polymorphic - duck typing is preferred
External Tweet loading...
If nothing shows, it may have been deleted
by @aaronchall view original on Twitter
A Python script is a file with a name like name.py - we indent at four spaces (it matters), comments (after #) don't execute - and is typically written like:
def main(): # function
print("Hello world")
if __name__ == '__main__': # then entry point
main()