Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
John Ludhi/nbshare.io: Python Iterators And Generators

Link: https://www.nbshare.io/notebook/150586282/Python-Iterators-And-Generators/








Iterators and Generators








In this notebook, we would explore the difference between iterators and generators, how to use them and also the best use cases for each of them.








Iterat
Python for Beginners: How to Split a String Between Characters in Python

Link: https://www.pythonforbeginners.com/basics/how-to-split-a-string-between-characters-in-python

In this guide to splitting strings in Python, we’ll explore the various ways we can use the language to precisely split a string. When we split strings between characters in Python, it’s possible to e
Stack Abuse: Depth-First Search (DFS) in Python - Theory and Implementation

Link: https://stackabuse.com/depth-first-search-dfs-in-python-theory-and-implementation/

Introduction
Originating from mathematics, graphs are now widely used data structures in Computer Science. One of the first problems we encounter when constructing any algorithm regarding Graph proces
PyCoder’s Weekly: Issue #486 (Aug. 17, 2021)

Link: https://pycoders.com/issues/486

#486 – AUGUST 17, 2021 View in Browser » Introducing the Python Launcher for Unix Python Core Developer and Steering Council member Brett Cannon recently released his Python Launcher for UNIX pr
Python Software Foundation: Shamika Mohanan has joined the PSF as Packaging Project Manager

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/cVoVg81ibV0/shamika-mohanan-has-joined-psf-as.html

The Python Software Foundation (PSF) is excited to welcome Shamika Mohanan as our new Packaging Project Manager! You can learn specifics about the role in our post announcing the position.Recognizing
Quansight Labs Blog: Is GitHub Actions suitable for running benchmarks?

Link: https://labs.quansight.org/blog/2021/08/github-actions-benchmarks/


Benchmarking software is a tricky business. For robust results, you need dedicated
hardware that only runs the benchmarking suite under controlled conditions. No other
processes! No OS updates! Nothi
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