Executing Python Code
Python code can be typed directly into a python terminal as show below:
print("Hello Server Academy!")

Try it out in this interactive Python console shown on the right side of the page.
Or you can write a series of python commands and save them in a *.py script file which can be executed from your command prompt.
Let's say we create a file called "hello.py" and put the command above inside our users home directory.

When we open command prompt inside the same directory, we can call the script file from our command prompt console as shown below:
python hello.py


Saving Progress...
Python 3 for Beginners
Installing Python on Windows • 1hr 15min
0 / 4 lessons complete
Section Overview
Free Preview Lesson
Text | 1 min
Downloading and Installing Python on Windows
Free Preview Lesson
Text | 7 min
Installing and configuring VS Code for Python
Free Preview Lesson
Text | 7 min
Lab: Installing Python
Devops Lab | 60
Python Basics • 28min
0 / 7 lessons complete
Python Variables • 36min
0 / 8 lessons complete
Section Overview
Text | 3 min
Casting
Text | 3 min
Strings
Text | 4 min
Booleans
Text | 7 min
User Input
Text | 2 min
Numbers
Text | 6 min
NoneType
Free Preview Lesson
Text | 5 min
Assignment: Write a Mad Libs Script
Text | 6 min
Even more Python Variables! • 38min
0 / 6 lessons complete
Python Lists
Text | 7 min
Python Tuples
Text | 7 min
Python Sets
Text | 6 min
Frozensets
Text | 6 min
Dictionaries
Text | 8 min
Iterator and Iterable
Text | 4 min
Conditional Statements • 15min
0 / 3 lessons complete
Writing Functions • 29min
0 / 5 lessons complete
Section Overview
Text | 3 min
Defining Functions
Text | 4 min
Importing functions from another file
Text | 3 min
Assignment: Rock, paper, scissors
Text | 13 min
Assignment: Count Dictionary Words
Text | 6 min
Python Loops • 20min
0 / 5 lessons complete
Section Overview
Text | 2 min
For In Loops
Text | 4 min
While Loops
Text | 4 min
Nested Loops
Text | 3 min
Python Loops Challenge!
Text | 7 min
Python PIP and Modules • 15min
0 / 4 lessons complete
Section Overview
Text | 3 min
Installing Python PIP
Text | 3 min
Installing Modules with PIP
Text | 4 min
Importing Modules
Text | 5 min
RegEx • 23min
0 / 4 lessons complete
Section Overview
Text | 3 min
Regex 101
Text | 9 min
Importing Regex and manipulating strings
Text | 6 min
Regex Challenge!
Text | 5 min
Working with APIs • 12min
0 / 3 lessons complete
Making HTTP Requests
Text | 3 min
Working with JSON
Text | 5 min
Get your weather with the OpenWeatherMap
Text | 4 min
Course Conclusion • 2min
0 / 1 lessons complete
Quick and easy to follow.
Thanks, Dave! We will be continuing to build this course and will add videos later too.