Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Talk Python to Me: #282 pre-commit framework

Link: https://talkpython.fm/episodes/show/282/pre-commit-framework

Git hook scripts are useful for identifying simple issues before committing your code. Hooks run on every commit to automatically point out issues in code such as trailing whitespace and debug stateme
Real Python: The Real Python Podcast – Episode #27: Preparing for an Interview With Python Practice Problems

Link: https://realpython.com/podcasts/rpp/27/

What is an effective way to prepare for a Python interview? Would you like a set of problems that increase in difficulty to practice and hone your Python skills? This week on the show, we have Jim An
Andrew Dalke: Handling the SDF record delimiter

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/18/handling_the_sdf_record_delimiter.html

Spam


In this essay I'll point out a common difficulty people have when
trying to identify the end of an SDFile record. In my previous
essay I walked through the major parts of the following record:
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 008.

Link: http://python-catalin.blogspot.com/2020/08/python-369-my-colab-tutorials-parts-008.html

Today I deal with these two python packages named selenium and chromium-chromedriver.
I used selenium to get pieces of information from webpages.
These examples can be found at my GitHub project colab
Catalin George Festila: Python 3.8.5 : The hashlib python package - part 001.

Link: http://python-catalin.blogspot.com/2020/08/python-385-hashlib-python-package-parts.html

The tutorial for today is about hashlib python module.
The official webpage comes for this python package has this intro:
This module implements a common interface to many different secure hash and me
Catalin George Festila: Python 3.8.5 : Testing the pyre tool - part 001.

Link: http://python-catalin.blogspot.com/2020/08/python-385-testing-pyre-tool-parts-001.html

The Pyre is a static analysis tool to detect and prevent security issues in Python code that can be found on the official website.
The Pyre tool supports the Language Server Protocol and has an extens
Catalin George Festila: Python 3.8.5 : Testing with openpyxl - part 001 .

Link: http://python-catalin.blogspot.com/2020/08/python-385-testing-with-openpyxl-parts.html

The Python executes the code line by line because is an interpreter language.
This allows users to solve issues in the programming area, fast and easy.
I use python versiono 3.8.5 build on Aug 12 2020
Catalin George Festila: Python 3.8.5 : Testing with openpyxl - part 002 .

Link: http://python-catalin.blogspot.com/2020/08/python-385-testing-with-openpyxl-parts_30.html

Today I will show you how can use Levenshtein ratio and distance between two strings, see wikipedia.
I used three files created with LibreOffice and save it like xlsx file type.
All of these files com
Catalin George Festila: Python 3.8.5 : Linked List - part 001.

Link: http://python-catalin.blogspot.com/2020/09/python-385-linked-list-part-001.html

In computer science, a linked list is a linear collection of data elements whose order is not given by their physical placement in memory. see wikipedia.org.In this tutorial I will show you how these