Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
STX Next: Python vs. JavaScript: Is It a Fair Comparison?

Link: https://www.stxnext.com/blog/python-vs-javascript-comparison/




When we talk about building a project with Python or JavaScript, we very rarely mean building every software component with one programming language.
Python Circle: Python Requests Library: Sending HTTP GET and POST requests using Python

Link: https://www.pythoncircle.com/post/718/python-requests-library-sending-http-get-and-post-requests-using-python/

Python requests library to send GET and POST requests, Sending query params in Python Requests GET method, Sending JSON object using python requests POST method, checking response headers and response
Python Circle: Sending email with attachments using Python built-in email module

Link: https://www.pythoncircle.com/post/719/sending-email-with-attachments-using-python-built-in-email-module/

Sending email with attachments using Python built-in email module, adding image as attachment in email while sending using Python, Automating email sending process using Python, Automating email attac
Stack Abuse: Python: Check if Variable is a Number

Link: https://stackabuse.com/python-check-if-variable-is-a-number/

Introduction
In this article, we'll be going through a few examples of how to check if a variable is a number in Python.
Python is dynamically typed. There is no need to declare a variable type, while
Andrew Dalke: Faster gzip reading in Python

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/16/faster_gzip_reading_in_python.html



In this essay I'll describe how I improved chemfp's gzip read performance by about
15% by replacing Python's built-in gzip module
with a ctypes
interface to libz. If you need faster gzip read perfor
Real Python: Numbers in Python

Link: https://realpython.com/python-numbers/

You don’t need to be a math whiz to program well. The truth is, few programmers need to know more than basic algebra. Of course, how much math you need to know depends on the application you’re workin
Python Software Foundation: Python Software Foundation End-of-the-Year Fundraiser

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/lqD8wjLxcTQ/python-software-foundation-end-of-year.html

We’re excited to announce that plans are underway for our end-of-the-year 2020 fundraising campaign launching on November 23rd and ending on December 31st!In the past, we’ve worked successfully with o
Erik Marsja: Pandas Convert Column to datetime – object/string, integer, CSV & Excel

Link: https://www.marsja.se/pandas-convert-column-to-datetime/

The post Pandas Convert Column to datetime – object/string, integer, CSV & Excel appeared first on Erik Marsja.
In Pandas, you can convert a column (string/object or integer type) to datetime using th
Sebastian Witowski: For Loop vs. List Comprehension

Link: https://switowski.com/blog/for-loop-vs-list-comprehension


Many simple “for loops” in Python can be replaced with list comprehensions. You can often hear that list comprehension is “more Pythonic” (almost as if there was a scale for comparing how Pythonic so
Python Insider: Python 3.9.0rc2 is now available for testing

Link: http://feedproxy.google.com/~r/PythonInsider/~3/PFYcCrG5Al4/python-390rc2-is-now-available-for.html

 Python 3.9.0 is almost ready. This release, 3.9.0rc2, is the last planned preview before the final release of Python 3.9.0 on 2020-10-05. Get it here:https://www.python.org/downloads/release/python-3
PyCharm: PyCharm 2020.2.2

Link: http://feedproxy.google.com/~r/Pycharm/~3/N3U0A-gxb6w/

PyCharm 2020.2.2 is out now with important fixes to improve your usability and productivity. Update from within PyCharm (Help | Check for Updates), using the JetBrains Toolbox, or by downloading the n
The Digital Cat: TDD in Python with pytest - Part 4

Link: https://www.thedigitalcatonline.com/blog/2020/09/17/tdd-in-python-with-pytest-part-4/

This is the fourth post in the series "TDD in Python with pytest" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python and hav
Techiediaries - Django: Angular 10 and Django 3 Image Files Upload with FormData

Link: https://www.techiediaries.com/angular-10-django-3-upload-image-files/

Throughout this tutorial, we'll see how we can implement file and image upload in Django 3, Django REST Framework and Angular 10 with a step by step example.
Our application will expose an /upload RE
Stack Abuse: Python: Check if File or Directory is Empty

Link: https://stackabuse.com/python-check-if-file-or-directory-is-empty/

Introduction
Python has a set of built-in library objects and functions to help us with this task. In this tutorial, we'll learn how to check if a file or directory is empty in Python.
Distinguish Bet
Python⇒Speed: The mmap() copy-on-write trick: reducing memory usage of array copies

Link: https://pythonspeed.com/articles/reduce-memory-array-copies/

Let’s say you have an array, and you need to make some copies and modify those copies.
Usually, memory usage scales with the number of copies: if your original array was 1GB of RAM, each copy will tak
Erik Marsja: Pip Install Specific Version of a Python Package: 2 Steps

Link: https://www.marsja.se/pip-install-specific-version-of-python-package/

The post Pip Install Specific Version of a Python Package: 2 Steps appeared first on Erik Marsja.
In this Python tutorial, you will learn how to use pip install a specific version of a package. The ou
Andrew Dalke: SDF record walkthrough

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/17/sdf_record_walkthrough.html



In this essay I'll walk through the major parts of a simple V2000 SDFile
record.



Richard Apodaca summarized
the SDfile format a few months ago, with details I won't cover
here. You should read it
Kodnito: Django Authentication With GitHub

Link: https://kodnito.com/posts/django-authentication-github/

In this tutorial, we will build a Django application that allows users to sign in via their GitHub account.
Python Bytes: #199 Big news for a very small Python runtime

Link: https://pythonbytes.fm/episodes/show/199/big-news-for-a-very-small-python-runtime

<p>Sponsored by us! Support our work through:</p>

<ul>
<li>Our <a href="https://training.talkpython.fm/"><strong>courses at Talk Python Training</strong></a></li>
<li><a href="https://pragprog.com/ti