Skip to content

sarz/python-fundamentals

 
 

Repository files navigation

python-fundamentals

These resources are available at http://github.com/dlab-berkeley/python-fundamentals

Materials for teaching and learning at the Python FUNdamentals workshop at UC Berkeley's D-lab.

Read only access to course slides.

Setup for your programming environment is described in the VM-SETUP.md file (should be available wherever you found this file!).

There are two approaches to going through this material. One is by going through the numbered directories in order in the challenges directory. There, you can use pytest (or your preferred test runner) to build up the requested code and programs. Confusingly, the pytest command-line program is called py.test (for historical reasons). From the root python-fundamentals directory (where you'll also find this README.md file!), execute:

cd challenges/01-Intro
python A_<tab>

Note that <tab> above means "press the tab key" - that way you don't need to type everything out. Now, you've executed your first python script! (or maybe your 100th...) To continue, go through each python (.py) file alphabetically. For each file, there's an associated test_A_...py file. You run this like so:

py.test test_A<tab>

OR...

These materials may accompany the following lessons in the Python track at Codecademy

Our "official" course textbook is Think Python.

More help:

A more complete list of Python references: http://python.berkeley.edu

What's in this repository?

  • cheat-sheets: IPython notebooks illustrating basic concepts
  • challenges: python scripts (starting with capital letters) to progress through as you learn, and test scripts (starting with test_<capital letter>) to scaffold the approach.

HAPPY CODING!

About

Materials for teaching the Python FUNdamentals workshop at UC Berkeley's D-lab

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.3%
  • Shell 3.7%