Modules to cover in a 1-2 hour slot entirely depend on your audience's interest or focus. What other classes are they taking? What are they prepared to make use of immediately?
Be sure to mention math, decimal and datetime and time and re.
For IT-types who will be doing file-oriented work: glob, fnmatch, os, os.path, tempfile, and shutil.
Database folks must hear about sqlite and json.
Simulation audience may want to hear about random.
Web developers must hear about urllib2 from a client point of view. Also Beautiful Soup and an XML parser of your choice.
Web developers must hear about logging and wsgiref from a server point of view.
Modules to cover in a 1-2 hour slot entirely depend on your audience's interest or focus. What other classes are they taking? What are they prepared to make use of immediately?
Be sure to mention math, decimal and datetime and time and re.
For IT-types who will be doing file-oriented work: glob, fnmatch, os, os.path, tempfile, and shutil.
Database folks must hear about sqlite and json.
Simulation audience may want to hear about random.
Web developers must hear about urllib2 from a client point of view. Also Beautiful Soup and an XML parser of your choice.
Web developers must hear about logging and wsgiref from a server point of view.
I'd offer itertools and functools. These modules operate over abstractions that are found everywhere in programming, so I think they are useful to study. Among more practical things, xml modules (xml.dom, xml.sax) can be very useful.
Which Python modules seem so useful you are planning to learn them *thoroughly*?
What are some must have Python libraries ?
path.py "Path" object conveniently wrapping assorted file/path-related functionality
pendulum Python datetimes made easy
tqdm A fast, extensible progress bar for Python and CLI
And the classics:
numpy Scientific computing with Python
opencv Open Source Computer Vision Library
requests Python HTTP Requests for Humans
pytest The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
What are some of the must know Python modules?
Most useful Python modules
Flask - One of the best and easiest python web frameworks, you can deploy an API within minutes
Flask Swagger - Every API should have a documentation, right?
Requests - If you need to call an external API for additional data
SQL Alchemy - Wrapper around relational databases (PostgreSQL, MySQL, SQLite, etc)
PyMongo - Wrapper around MongoDB
Celery - Asynchronous task queue/job queue, if you are working with crontab jobs or need something to execute within a certain order.
Sentry - Really, really useful module for production deployment and bug catching
If I remember more modules, I will add them here
Hope this helps :)
More on reddit.com
Videos
I'm working my way through itertools. And it's making me want to go back rewrite so much of my old code. And I'm low-key trying to incorporate numpy more as a way of seeing everything as matrices (with mixed results)