Difference between revisions of "Python: All You Need to Know"

From DevSummit
Jump to navigation Jump to search
(Created page with "=PYTHON SESSION – ADVANCED= Start with python3 * [http://conda.pydata.org/miniconda.html anaconda/miniconda] * [http://conda.pydata.org/docs/test-drive.html Test drive] *...")
Line 55: Line 55:
*videos on youtube
*videos on youtube
[[Category: 2015]][[Category: Coding Languages]]

Latest revision as of 21:37, 22 November 2016


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


  • 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.