Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Not Invented Here: CPython vs PyPy Memory Usage

Link: https://dev.nextthought.com/blog/2018/08/cpython-vs-pypy-memory-usage.html

If you have lots of "small" objects in a Python program (objects which
have few instance attributes), you may find that the object overhead
starts to become considerable. The common wisdom says that
PyCharm: PyCharm 2018.2.2 RC

Link: http://feedproxy.google.com/~r/Pycharm/~3/MRFOXLtLuw0/

PyCharm 2018.2.2 Release Candidate is now available, with some small improvements. Get it now from our Confluence page
New in This Version

Some improvements to our pipenv support: if the pipfile spec
Artem Golubin: How Python saves memory when storing strings

Link: http://rushter.com/blog/python-strings-and-memory/

Since Python 3, the str type uses Unicode representation. Unicode strings can take up to 4 bytes per character depending on the encoding, which sometimes can be expensive from a memory perspective.
T
Peter Bengtsson: Quick dog-piling (aka stampeding herd) URL stresstest

Link: https://www.peterbe.com/plog/quick-dog-piling-url-stresstest

Whenever you want to quickly bombard a URL with some concurrent traffic, you can use this:

import random
import time
import requests
import concurrent.futures


def _get_size(url):
sleep = rand
Kay Hayen: Nuitka this week #3

Link: http://nuitka.net/posts/nuitka-this-week-3.html


Contents

New Series Rationale
Twitter
Goto Generators
Hotfixes
Plans



New Series Rationale
This is working out well so far. I think driving more attention at the things
that are going on can only
Weekly Python StackOverflow Report: (cxxxviii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/08/cxxxviii-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-08-11 16:23:07 GMTIs there a way to "fork" a list in two based on
Codementor: Classification of data structure

Link: https://www.codementor.io/sabhiraj4c/classification-of-data-structure-mavby0lof

At the present world everythings are realiable on one another,either it's for surviving or it's for working.One has to take help from another to complete it's task.
As we dicussed about the...
Will McGugan: PyFilesystem 2.1.0 adds concurrent uploads / downloads and support for globbing

Link: https://www.willmcgugan.com/blog/tech/post/pyfilesystem-210-adds-concurrent-uploads-downloads-and-support-for-globbing/

I've released PyFilesystem 2.1.0.
This version is the accumulation of many minor revisions, with multiple fixes, enhancements and some interesting new features. We also have nicer doc strings and Mypy
Bhishan Bhandari: Brief Introduction to Google APIs(Sheets, Slides, Drive)

Link: http://feedproxy.google.com/~r/TheTaraNights/~3/PwE-_g1Of3s/

The intentions of this post is to familiarize usage of Google APIs with Python. Google services are cool and you can build products and services around it. We will see through examples how you can use
Codementor: Headless Web Scraping in Python with Beautiful Soup 4

Link: https://www.codementor.io/alibabacloud/headless-web-scraping-in-python-with-beautiful-soup-4-mctwzyskk

By Mark Andrews, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud's incentive program to encourage the sharing of technical knowledge and best practices within the cloud...
Toshio Kuratomi: Voluptuous and Python-3.4 Enums

Link: https://anonbadger.wordpress.com/2018/08/12/voluptuous-and-python-3-4-enums/

Last year I played around with using jsonschema for validating some data that I was reading into my Python programs.  The API for the library was straightforward but the schema turned out to be a pret
Mike Driscoll: PyDev of the Week: Lovely ricel Banquil

Link: http://www.blog.pythonlibrary.org/2018/08/13/pydev-of-the-week-lovely-ricel-banquil/

This week we welcome Lovely ricel Banquil (AKA Banx) as our PyDev of the Week. Banx is a tester by trade and recently presented a talk at PyCon Thailand. Let’s spend some time getting to know Lovely b
Red Hat Developers: How to install Python 3 on RHEL

Link: https://developers.redhat.com/blog/2018/08/13/install-python3-rhel/

This article shows how to install Python 3, pip, venv, virtualenv, and pipenv on Red Hat Enterprise Linux 7. After following the steps in this article, you should be in a good position to follow many