Click to Flip Card
Hello World
Can we run Python from CLI? Can we run Python from a file? How can you better learn new features better?
![](/lib/images/knowledge_graph.png)
File .py
Print Hello World from script (a file with .py extension).![](/lib/images/GitHub-Mark-Light-32px.png)
""" hello.py
python hello.py
"""
print('Hello World') # Hello World
Mistakes
When learning new features try to make mistakes on purpose.![](/lib/images/GitHub-Mark-Light-32px.png)
""" Making mistakes on purpose, helps to remember
print 'Hello World' # SyntaxError
"""
print('Hello World') # Hello World
Last update: 297 days ago