Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: What is Namespace in Python?

Link: https://www.pythonforbeginners.com/basics/what-is-namespace-in-python

Namespaces are one honking great idea — let’s do more of those! Namespaces are the constructs used for organizing the names assigned to the objects in a python program. In this article, we will unders
Daniel Roy Greenfeld: The Thirty Minute Rule

Link: https://daniel.feldroy.com/posts/thirty-minute-rule

When it comes to coding (or anything related to it) there's a rule I believe in with all my heart. It's the Thirty Minute Rule.
The rule is that if anyone gets stuck on something for more than 30 minu
John Ludhi/nbshare.io: Python Sort And Sorted

Link: https://www.nbshare.io/notebook/520115360/Python-Sort-And-Sorted/








Python Sort And Sorted








In this notebook, we will learn about how to use Python sort and sorted methods to sort different types of data structures.








Let us start with simple examp
AI Pool: Cuda Version

Link: https://ai-pool.com/d/cuda_version

How to know the version of Cuda installed on your pc? I'm using Keras with TensorFlow back-end, but I need to detect the version of Cuda in my code. It does not matter the solution is with Keras
AI Pool: Multiple cuda versions installed in machine

Link: https://ai-pool.com/d/multiple_cuda_versions_installed_in_machine

I'm using TensorFlow and I have some old projects which are written with TensorFlow 1.4 and older. Some of them don't work with a new version of Cuda . Can I have multiple Cuda with different ver
AI Pool: Why network overfits too early?

Link: https://ai-pool.com/d/why_network_overfits_too_early_

I want to train a neural network model, which basically does binary classification. I can't understand why my network overfits too early. I thought my network is too big and it memorizes the dataset,
AI Pool: What to do when you have small dataset

Link: https://ai-pool.com/d/what_to_do_when_you_have_small_dataset

I'm trying to train a classifier with a neural network, but I've got too small datasets. Each class has about ~1k examples. What is the best approach?...
AI Pool: Tensorflow Lite Speed Report

Link: https://ai-pool.com/d/tensorflow-lite-speed-report

I've got a model in TensorFlow lite , it's not as fast as I wanted to be. I would like to know what the problem is, which layer makes it to be so slow. Is there a way, that I can test the speed fo
Stack Abuse: Extract and Process PDF Invoices in Python with borb

Link: https://stackabuse.com/automating-processing-pdf-invoices-in-python-with-borb/

Introduction
The Portable Document Format (PDF) is not a WYSIWYG (What You See is What You Get) format. It was developed to be platform-agnostic, independent of the underlying operating system and ren
Real Python: The Real Python Podcast – Episode #74: Python's Assignment Expressions and Fixing a Botched Release to PyPI

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

Have you started to use Python's assignment expression in your code? Maybe you have heard them called the walrus operator. Now that the controversy over the introduction in Python 3.8 has settled down
Erik Marsja: Python Scientific Notation & How to Suppress it in Pandas and NumPy

Link: https://www.marsja.se/python-scientific-notation-suppress-in-pandas-and-numpy/

The post Python Scientific Notation & How to Suppress it in Pandas and NumPy appeared first on Erik Marsja.
In Python, it is possible to print numbers in scientific notation using base functions as we
Mike Driscoll: Python Comes to Texas Instruments and Casio Graphing Calculators

Link: https://www.blog.pythonlibrary.org/2021/08/20/python-comes-to-texas-instruments-and-casio-graphing-calculators/

Texas Instruments announced that they are adding a new graphing calculator called TI-84 Plus CE Python. The TI-84 Plus uses CircuitPython rather than the standard Python that most developers are aware
Python Engineering at Microsoft: Out with the Old and In with the New: an Enhanced Jupyter Experience in DevOps

Link: https://devblogs.microsoft.com/python/out-with-the-old-and-in-with-the-new-an-enhanced-jupyter-experience-in-devops/

This post was co-authored by Michael Duncan, Azure Notebooks Software Engineer and
Dinesh Chandnani, Azure Notebooks Principal Group Engineering Manager
Say hello to our newly revamped extension in Az
Python for Beginners: Count the Frequency of Elements in a List

Link: https://www.pythonforbeginners.com/lists/count-the-frequency-of-elements-in-a-list

Many times, we need to perform quantitative analysis of data in python. In this article, we will look at some ways to count the frequency of elements in a list. The frequency of an element in a list i
death and gravity: Write an SQL query builder in 150 lines of Python!

Link: https://death.andgravity.com/query-builder-how

Previously
This is the fourth article in a series about
writing an SQL query builder for my feed reader library.
Today, we'll dive into the code by rewriting it from scratch.
Think of it as part walk-
Test and Code: 163: pip install ./local_directory - Stéphane Bidoul

Link: https://testandcode.com/163

pip : "pip installs packages" or maybe "Package Installer for Python"
pip is an invaluable tool when developing with Python.
A lot of people know pip as a way to install third party packages from pypi