boyan-soubachov / python_tutorial

A simple Python tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boyan's (not that) great Python tutorial

This is a simple Python tutorial that will let you get up to speed.

How do I install Python?

MacOS

brew install python3
pip3 install virtualenv

Linux

apt install python3
pip install virtualenv

Now what?

  • If you want to get stuck with some simple interpreter experimentation, run python in your terminal to open the REPL.
  • If you want to write some serious code, create a file in your workspace (i.e. main.py) and to execute it type python main.py in your terminal.
  • Or if you're not a knave and actually want to follow this tutorial, open up the first folder with your code editor.

About

A simple Python tutorial


Languages

Language:Python 100.0%