Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HarryPython

Learn Python with HarryPython

Harry Potter has been published in Latin, Ancient Greek, and 66 other languages, and is often used as a stepping stone into learning a language. Why not Python as well?

Lesson 0 - Setting Up

Setup Python with Jupyter Notebook locally for following along.

Setup Jupyter Notebook

Lesson 1 - Comments

// TODO: Add comments examples

Lesson 2 - Strings

// TODO: Add strings examples

Lesson 3 - Lists

Example from [Chapter 1, Page 1, Paragraph 1:

Create a list:

dursleys = [MrDursley,MrsDursley]

Append one item to a list using append():

MrDursley.possessions.append(['very large moustache'])

Extend a list with several items using extend():

MrsDursley.appearance.extend(['thin','blonde','long neck'])

Lesson 4 - Math

// TODO: Add math examples

Lesson 5

// TODO: Add examples

Lesson 6

// TODO: Add examples

Lesson 7

// TODO: Add examples

TODO

  • Structure outline with examples
  • Complete book
  • Get rights from Bloomsbury to publish HarryPython as a book

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

About

Learn Python with HarryPython

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages