Python: All You Need to Know

From DevSummit
Jump to: navigation, search

PYTHON SESSION – ADVANCED

Start with python3

Puppet sets up the server. Fabric is scripting. Python creates virtual environments.

Create an env:
conda env -n projname python=3.4

For OCR manipulation

  • django documentations (e.g. django girls)


Testing Libraries

Python testing libraries are great.

Good testing libraries

  • Pytest: Good for everything;”domain specific” helps you write and run you test
  • Selenium: lets you drive the browser
    • automates browsers.
  • Scraping library called scrapy
    • An open source and collaborative framework for extracting the data you need from websites. In a fast, simple, yet extensible way.
  • Beautiful Soup (USE 4 or +)

beautifulsoup4 4.4.1

    • Beautiful Soup sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree

Example files:

Diversity of python: Allows various communities to come together.

  • server nerds
  • education
  • data science
  • web-dev

Resources

  • scikit image:
    • scikit-image is a collection of algorithms for image processing. It is available free of charge and free of restriction.
  • ntltk: natural language toolkit
    • NLTK is a leading platform for building Python programs to work with human language data.