Advanced Python (Fall 2017)

From ICO wiki
Revision as of 11:38, 3 October 2017 by Eroman (talk | contribs) (add lecture 4)
Jump to navigationJump to search

Advanced Python

Contact

My email is eroman@itcollege.ee

Frequently Asked Questions

What should I know already?

  • How to use the unix shell
  • How to install a package with pip
  • Write and use pythons functions
  • Use lists, strings, dictionaries, and integers with python
  • know the syntax of a python class

you should be able to pass these tests: https://wiki.itcollege.ee/index.php/I719_Fundamentals_of_Python#Practice_Test

What should I write python with?

whatever you want!

If you don't know what to use, check the following - Spyder a lightweight python IDE. Very basic, but works out of the box and is quick to learn. Use this if you want to start with something easy. - Vim popular and useful text editor. Hard to learn, but widely used and very effecient once learned. To start using with python, consider using https://github.com/amix/vimrc - Emacs a text editor and more. Hard to learn, but once learned is very effecient and useful. - Visual Studio Code an editor with IDE features from microsoft. It is very new and becoming more and more popular. It is not open source. - PyCharm the most popular python IDE. It is not open source.

What python version are we using?

Both 2 and 3. Our code should work on both versions.

Grading

The class is pass/faile, and passing will depend on a final project.

Requirements

  • Proper version control. Small commits, with relevant commit messages.
  • It has a relevant unit test
  • It uses an automated test runner
  • It runs on python 2 and 3
  • It is in the form of a python package
  • It has a robust README
  • I must approve the project idea

Deadlines

A project idea must be picked by the middle class (8th class). I will approve the project idea or suggest improvements to the idea. If you do not submit your idea, then one will be given to you. You may change your project idea with my approval.

The project deadline with be determined.

Lecture Notes

Lecture 1

Python 2 and 3 code. PEP 8.

https://wiki.itcollege.ee/index.php/Advanced_Python_(Fall_2017)/lecture1

Lecture 2

Scoping and python packaging basics.

https://wiki.itcollege.ee/index.php/Advanced_Python_(Fall_2017)/lecture2

Lecture 3

Scope within classes, `while`, and generators.

https://wiki.itcollege.ee/index.php/Advanced_Python_(Fall_2017)/lecture3

Lecture 4

Functional Programming

https://wiki.itcollege.ee/index.php/Advanced_Python_(Fall_2017)/lecture4