Looking to start learning Python?

Begin Here

Author: Mike

Python - How to use functools.wraps

February 17, 2016 by Mike
There is a little known tool that I wanted to talk about today. It is called wraps and it's a part of the functools module. You can use wraps as a decorator to fix docstrings and names of decorated functions. Why does this matter? This sounds like a weird edge case at first, but if […]

PyDev of the Week: Mike Bayer

February 15, 2016 by Mike
This week we welcome Mike Bayer (@zzzeek) as our PyDev of the Week. Mike is the creator of the popular SQLAlchemy project. He has a fun Python blog and contributes to many Python projects. I've seen Mike present tutorials on SQLAlchemy at PyCon and he regularly does talks there as well (here's an example from […]

Python Partials

February 11, 2016 by Mike
Python comes with a fun module called functools. One of its classes is the partial class. You can use it create a new function with partial application of the arguments and keywords that you pass to it. You can use partial to "freeze" a portion of your function's arguments and/or keywords which results in a […]

Python 101 Screencast Released

February 9, 2016 by Mike
The Python 101 Screencast has been finished for a little over a month now and I am now releasing it for general consumption. The Python 101 Screencast is based on my book, Python 101. I went through all 44 chapters of the book and turned each of them into a standalone screencast. In other words, […]

PyDev of the Week: Chris Withers

February 8, 2016 by Mike
This week we welcome Chris Withers as our PyDev of the Week! Chris has been using Python for quite a while. I think the first packages I used of his were the excellent xlrd and xlwt packages, used for reading and writing Excel files. You can get an idea of his contributions to Python on […]

Python - The datefinder package

February 4, 2016 by Mike
Earlier this week, I came across another fun package called datefinder. The idea behind this package is that it can take any string with dates in it and transform them into a list of Python datetime objects. I would have loved this package at my old job where I did a lot of text file […]
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary