Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mike Driscoll: An Intro to PyPDF2

Link: http://www.blog.pythonlibrary.org/2018/06/07/an-intro-to-pypdf2/

The PyPDF2 package is a pure-Python PDF library that you can use for splitting, merging, cropping and transforming pages in your PDFs. According to the PyPDF2 website, you can also use PyPDF2 to add d
EuroPython: EuroPython 2018: Training pass sale starts on Friday at 12:00 CEST

Link: https://blog.europython.eu/post/174655358657

As we have already announced, access to trainings is not included in our regular conference tickets this year. We have done this to keep the conference ticket prices reasonable, acknowledge the value
Gocept Weblog: Migrate a Zope ZODB Data.fs to Python 3

Link: https://blog.gocept.com/2018/06/07/migrate-a-zope-zodb-data-fs-to-python-3/

TL;DR Use zodbupdate.
Problem
A ZODB Data.fs which was created under Python 2 cannot be opened under Python 3. This is prevented by using a different magic code in the first bytes of the file. This is
Jahongir Rahmonov: Django Static Files

Link: http://rahmonov.me/posts/django-static-files/

Have you ever been frustrated when your Django application did not find the static files you were using?
Then, you read the documentation and played around with all those settings variables and after
Peter Bengtsson: GeneratorExit - How to clean up after the last yield in Python

Link: https://www.peterbe.com/plog/generatorexit

tl;dr; Use except GeneratorExit if your Python generator needs to know the consumer broke out.
Suppose you have a generator that yields things out. After each yield you want to execute some code that
Django Weblog: DjangoCon Europe 2018 - thank you

Link: https://www.djangoproject.com/weblog/2018/jun/07/djangocon-europe-2018-thank-you/

On behalf of the everyone who benefits from the Django Project, the DSF would like to thank the organisers of DjangoCon Europe 2018 for the oustanding efforts they made to ensure that the event was a
William Minchin: Building a Traffic Model

Link: http://blog.minchin.ca/2018/06/traffic-model-start.html

I’ve decided to start a new project: building a traffic model.
Schooling
I went to school and got my undergrad in Civil Engineering. The classes and
work experience I liked best revolved around traffi
Reuven Lerner: Python parentheses primer

Link: https://blog.lerner.co.il/python-parentheses-primer/

If you have children, then you probably remember them learning to walk, and then to read. If you’re like me, you were probably amazed by how long it took to do things that we don’t even think about. T
Tim Golden: Potato Prints at the London Python Dojo

Link: http://ramblings.tjg.org.uk/posts/potato-prints-at-the-london-python-dojo/

So I couldn't resist the obvious pun: the London Python Dojo was hosted
yesterday at Potato, a Django-based web agency somewhere
off Tottenham Court Road. (Which is a bonus for West Londoners like me)
Talk Python to Me: #165 Python and the blockchain

Link: https://talkpython.fm/episodes/show/165/python-and-the-blockchain

The blockchain and cryptocurrencies are some of the most disruptive technologies of the decade. On this episode, you'll meet Stuart Farmer who is building a suite of developer tools that speed up the
Dataquest: Programming Best Practices For Data Science

Link: https://www.dataquest.io/blog/programming-best-practices-for-data-science/

The data science life cycle is generally comprised of the following components:

data retrieval
data cleaning
data exploration and visualization
statistical or predictive modeling

While these compone
Techiediaries - Django: Angular 6 Tutorial with Django RESTful API — Adding Angular Material Design 6 UI By Example

Link: https://www.techiediaries.com/angular-material-tutorial-example/

In the previous tutorial, you have seen how you can install the Angular CLI 6 and generate a brand new Angular 6 front-end application. In this tutorial, we'll be learning how to use Angular 6 Materia
Weekly Python StackOverflow Report: (cxxix) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/06/cxxix-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-06-09 20:27:06 GMTHow to treat NULL as a normal string with pandas
Mike Driscoll: PyDev of the Week: Naomi Ceder

Link: http://www.blog.pythonlibrary.org/2018/06/11/pydev-of-the-week-naomi-ceder/

This week we welcome Naomi Ceder (@NaomiCeder) as our PyDev of the Week. Naomi has been a long-time member of the Python community and is the author of The Quick Python Book. Naomi is the current chai
Real Python: Building and Documenting Python REST APIs With Flask and Connexion

Link: https://realpython.com/flask-connexion-rest-api/

If you’re writing a web application, then you’re probably thinking about making HTTP calls to your server to get data to populate the dynamic parts of your application.
The goal of this article is to
Artem Golubin: Python's GIL implemented in pure Python

Link: http://rushter.com/blog/python-gil-thread-scheduling/

There is an excellent presentation of how the modern GIL performs thread scheduling, but unfortunately, it lacks some interesting details (at least for me). I was trying to understand all the details