Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Circle: Python program to convert Linux file permissions from octal number to rwx string

Link: https://www.pythoncircle.com/post/716/python-program-to-convert-linux-file-permissions-from-octal-number-to-rwx-string/

Python program to convert Linux file permissions from octal number to rwx string, Linux file conversion python program, Python script to convert Linux file permissions
Andrew Dalke: United States v. Brown ... v. Tanimoto

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/10/US_v_brown_v_tanimoto.html



I work in what I'll call algorithmic molecular similarity,
where people use an algorithm to characterize if two molecules are
similar. There is almost no overlap between those methods and
legal mole
Matt Layman: Displaying Breaks - Building SaaS #72

Link: https://www.mattlayman.com/building-saas/displaying-breaks/

In this episode, I worked to add breaks to the display of the week schedule. We had to update context to include the break information into the schedules. I refactored a method out of the calendar dis
Catalin George Festila: Python 3.8.5 : Get Sentinel-3 satellite data from Eutelsat.

Link: http://python-catalin.blogspot.com/2020/09/python-385-get-sentinel-3-satellite.html

The tutorial for today is about Eutelsat satellites.
I used Sentinel-3 with these features:

Instrument: SLSTR;
Mode: EO;
Satellite: Sentinel-3


You need to install xarray and netcdf4 python packages
Quansight Labs Blog: PyTorch-Ignite: training and evaluating neural networks flexibly and transparently

Link: https://labs.quansight.org/blog/2020/09/pytorch-ignite/









Authors: Victor Fomin (Quansight), Sylvain Desroziers (IFPEN, France)

This post is a general introduction of PyTorch-Ignite. It intends to give a brief but illustrative overview of what PyTor
Real Python: The Real Python Podcast – Episode #26: 5 Years Podcasting Python with Michael Kennedy: Growth, GIL, Async, and More

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

Why is Python pulling in so many new programmers? Maybe some of that growth is from Python being a full-spectrum language. This week on the show we have Michael Kennedy, the host of the podcast "Talk
Kushal Das: SecureDrop package build breakage due to setuptools

Link: https://kushaldas.in/posts/securedrop-package-build-breakage-due-to-setuptools.html


A few days ago, setuptools 50.0.0 release caused
breakage to many projects.
SecureDrop package builds was also
broken. We use
dh-virtualenv tool to build
the packages. Initially, we tried to use the
Stack Abuse: Guide to String Interning in Python

Link: https://stackabuse.com/guide-to-string-interning-in-python/

Introduction
One of the first things you encounter while learning the basics of programming is the concept of strings. Similar to various programming languages, Python strings are arrays of bytes repr
Codementor: Python Testing Framework - Reading Time: 3 Mins

Link: https://www.codementor.io/maxongzb/python-testing-framework-reading-time-3-mins-1a7ebdvgko

The 3 Python testing framework that I would recommend for any Python developer looking to use to speed up deployment and reduce the amount of manual testing required.
Python Software Foundation: Noah Alorwu Awarded the PSF Community Service Award for Q2 2020

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/4-1GEHINSMw/noah-alorwu-awarded-psf-community.html

 Noah Alorwu, software developer and co-organizer of PyCon Africa, has been awarded the Python Software Foundation 2020 Q2 Community Service Award.Noah is the CTO of Cradx and has been involved with t
Mike Driscoll: Python 101 – Learning About Comprehensions (Video)

Link: https://www.blog.pythonlibrary.org/2020/09/11/python-101-learning-about-comprehensions-video/

In this tutorial, you will learn about Python’s comprehensions, like the popular list comprehension and the dictionary comprehension.






Would you like to learn more about Python?
Python 101 – 2nd
Python⇒Speed: Shrink your Conda Docker images with conda-pack

Link: https://pythonspeed.com/articles/conda-docker-image-size/

If you’re building a Docker image that’s based on Conda, the resulting images can be huge.
For example, later I will show how a simple image with just Python 3.8 and NumPy can be over 950MB!
Large ima
Python Bytes: #198 There's a beaver in your database and Anna-Lena drops by

Link: https://pythonbytes.fm/episodes/show/198/there-s-a-beaver-in-your-database-and-anna-lena-drops-by

<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://testandcode.com
Andrew Dalke: Similarity principle in legal cases

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/11/similarity_principle_in_legal_cases.html



Read enough cheminformatics papers and you'll eventually come across
the a variation of the similarity principle or similar
property principle or molecular similarity principle. Here's
a 2020 exampl
Python Circle: How to use Jupyter Notebook for practicing python programs

Link: https://www.pythoncircle.com/post/717/how-to-use-jupyter-notebook-for-practicing-python-programs/

How to use Jupyter Notebook for practicing python programs, jupyter notebook installation and usage in linux ubuntu 16.04, Writing first program with Jupyter notebook, uploading file in jupyter notebo
Weekly Python StackOverflow Report: (ccxlii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2020/09/ccxlii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-09-12 11:52:16 GMTtimeit and its default_timer completely disagree
Kushal Das: Reproducible wheels at SecureDrop

Link: https://kushaldas.in/posts/reproducible-wheels-at-securedrop.html



SecureDrop workstation project's packages are reproducible. We use prebuilt
wheels (by us) along with GPG signatures to verify and install them using pip
during the Debian package building step. But
Test and Code: 130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn

Link: https://testandcode.com/130

virtualenv supports six shells: bash, csh, fish, xonsh, cmd, posh. Each handles prompts slightly differently. Although the virtualenv custom prompt behavior should be the same across shells, Brian Ski