A symbol representing the blue rose.

Python

Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its use of significant indentation. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for both small and large scale projects.

Resources

Documentation Highlights

Python Docs: Main Page
Python Docs: Argparse Tutorial
Python Docs: Curses Introduction

Other

Python Tutor
Automate the Boring Stuff with Python
Curses Programming With Python
Python3 Roguelike Tutorial
python-tcod Documentation
Fluent Python
Awesome Python

Reserved Keywords

and: a logical operator
as: to create an alias
assert: for debugging
break: to break out of a loop
class: to define a class
continue: to continue to the next iteration of a loop
def: to define a function
del: to delete an object
elif: used in conditional statements, same as else if
else: used in conditional statements
except: used with exceptions, what to do when an exception occurs
False: boolean value, result of comparison operations
finally: used with exceptions, a block of code that will be executed no matter if there is an exception or not
for: to create a for loop
from: to import specific parts of a module
global: to declare a global variable
if: to make a conditional statement
import: to import a module
in: to check if a value is present in a list, tuple, etc.
is: to test if two variables are equal
lambda: to create an anonymous function
None: represents a null value
nonlocal: to declare a non-local variable
not: a logical operator
or: a logical operator
pass: a null statement, a statement that will do nothing
raise: to raise an exception
return: to exit a function and return a value
True: boolean value, result of comparison operations
try: to make a try...except statement
while: to create a while loop
with: used to simplify exception handling
yield: to end a function, returns a generator