Skip to content

anthonydb/python-get-started

Repository files navigation

python-get-started

A collection of basic Python examples designed to get a student up and running on the language.

More tutorials and documentation:

After you've mastered these examples, also check out:

Outline

1-variables-data-structures.py

  • Integers
  • Decimals
  • Strings
  • Lists
  • Tuples
  • Dictionaries

2-string-methods.py

  • Slicing
  • Mods

3-control-structures.py

  • if ... then ... else
  • while
  • for

4-file-io.py

  • Opening, reading from and writing to files
  • Bonus: Word frequency counter

5-web-scraping.py

  • Using Requests and BeautifulSoup to fetch and parse a web page

6-regular-expressions.py

  • Parsing text with regular expessions

6.1-regular-expressions-web-scrape.py

  • Applying regular expressions to scraping nuclear reactor data

7-functions.py

  • Creating functions

8-csvkit.txt

  • Using the csvkit Python library to handle CSV files

About

Snippets to jump start learning Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages