Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 2.87 KB

README.md

File metadata and controls

60 lines (47 loc) · 2.87 KB

Crash Into Python

A python tutorial goes from basic to advanced

What This Tutorial is For

This tutorial moves relatively fast, and this is intended to be a "crash course", which means:

  • if you are a good coder and want to learn python fast you should be able to fly through this tutorial without much trouble. After that you should have some idea about basic porgramming in python.
  • if you are a beginner: you are going to be confused and have many questions, this is normal and intended, make sure there is a good coder accompanies you through out the tutorial and ask questions.

Set Up You Need

How Should I Write Code

You need to get a GitHub account, fork this repo. Then you clone your forked repo to your local, and pull and push if you need to.

All instructions are here: https://guides.github.com/activities/forking/

Notice:

How Should I Run My Code

PyCharm

The easiest way is to use PyCharm and open up the Crash-Into-Python folder (NOT the src folder or any other folder, that will mess up all the imports) then select the file you want to run, and then click the Run on the top right menu bar, and run it

Other

If you are running using VSCode or command line, you want to add the Crash-Into-Python folder into your PYTHONPATH environment variable. Google online or ask your coder friend about how to temporarily or permanently change environment variable.

Why is running code so complicated

Because Python3's new stupid import system, which makes sense for large project, but it makes running small examples like this a pain in the ass.