EuroPython: EuroPython 2018: Training pass sale starts on Friday at 12:00 CEST
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...
View ArticleGocept Weblog: Migrate a Zope ZODB Data.fs to Python 3
TL;DR Use zodbupdate.ProblemA 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...
View ArticleJahongir Rahmonov: 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 a...
View ArticlePeter Bengtsson: GeneratorExit - How to clean up after the last yield in Python
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...
View ArticleDjango Weblog: 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...
View ArticleWilliam Minchin: Building a Traffic Model
I’ve decided to start a new project: building a traffic model.SchoolingI went to school and got my undergrad in Civil Engineering. The classes and work experience I liked best revolved around traffic...
View ArticleReuven Lerner: 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....
View ArticleTim Golden: 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)....
View ArticleTalk Python to Me: #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...
View ArticleDataquest: Programming Best Practices For Data Science
The data science life cycle is generally comprised of the following components:data retrievaldata cleaningdata exploration and visualizationstatistical or predictive modelingWhile these components are...
View ArticleTechiediaries - Django: Angular 6 Tutorial with Django RESTful API — Adding...
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 Material...
View ArticleWeekly Python StackOverflow Report: (cxxix) stackoverflow python report
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?...
View ArticleMartin Fitzpatrick: 7Pez
This is a functionally terrible unzip application, saved only by the fact that you get to look at a cat while using it. The original idea reflected in the name 7Pez was actually worse — to rig it up so...
View ArticleMike Driscoll: 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 chair...
View ArticleReal Python: Building and Documenting Python REST APIs With Flask and Connexion
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...
View ArticleStack Abuse: "Complete Python Bootcamp: Go from zero to hero in Python 3"...
IntroductionThe Python programming language has been around for a long time now and given the powerful language that it is, it shouldn't be a surprise for it to continue having a strong foothold for...
View ArticleMike Driscoll: Python 101 – Assignment Expressions
I recently came across PEP 572, which is a proposal for adding assignment expressions to Python 3.8 from Chris Angelico, Tim Peters and Guido van Rossum himself! I decided to check it out and see what...
View ArticleReal Python: Variables in Python
In the previous tutorial on Basic Data Types in Python, you saw how values of various Python data types can be created. But so far, all the values shown have been literal or constant...
View ArticlePython Insider: Python 3.7.0rc1 and 3.6.6rc1 now available for testing
Python 3.7.0rc1 and 3.6.6rc1 are now available. 3.7.0rc1 is the final planned release preview of Python 3.7, the next feature release of Python. 3.6.6rc1 is the release preview of the next maintenance...
View ArticleArtem Golubin: Python's GIL implemented in pure Python
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...
View Article