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

Link: https://www.pythonforbeginners.com/dictionary/copy-dictionary-in-python


While programming, there may be situations where we need to make an exact copy of a dictionary. In this article, we will look at different approaches to copy a dictionary in python and will implement
Django Weblog: Django IRC Channels migration to Libera.Chat

Link: https://www.djangoproject.com/weblog/2021/may/26/django-irc-channels-migration-liberachat/

At approximately 3 am UTC on May 26, 2021, the operators of the Freenode IRC network assumed control of the #django* channels on that network. This means that representatives of the Django community n
Stack Abuse: Checking Vulnerabilities in Your Python Code with Bandit

Link: https://stackabuse.com/checking-vulnerabilities-in-your-python-code-with-bandit/

Introduction
As developers, we're encouraged from the start of the journey to write clean code. Equally as important, but less talked about is writing and using secure code.
In Python projects, we typ
Python Bytes: #235 Flask 2.0 Articles and Reactions

Link: https://pythonbytes.fm/episodes/show/235/flask-2.0-articles-and-reactions

<p><strong>Watch the live stream:</strong></p>

<a href='https://www.youtube.com/watch?v=JXX6h-wqBhA' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>
Real Python: Visualizing Data in Python Using plt.scatter()

Link: https://realpython.com/visualizing-python-plt-scatter/

An important part of working with data is being able to visualize it. Python has several third-party modules you can use for data visualization. One of the most popular modules is Matplotlib and its s
Python Software Foundation: The 2021 Python Language Summit: PEP 654 — Exception Groups and except*

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/YfwxVhCg4nM/the-2021-python-language-summit-pep-654.html

PEP 654 was authored by Irit Katriel, Yury Selivanov, and Guido van Rossum. This PEP is currently at the draft stage. At the 2021 Python Language Summit, the authors shared what it is, why we need it,
Python Pool: Demystifying OpenCV keypoint in Python

Link: https://www.pythonpool.com/opencv-keypoint/?utm_source=rss&utm_medium=rss&utm_campaign=opencv-keypoint

OpenCV Library in python, which stands for Open Source Computer Vision, is a trendy library used for achieving artificial intelligence through python. Using the OpenCV library, we can process real-tim
death and gravity: When to use classes? When your functions take the same arguments

Link: https://death.andgravity.com/same-arguments

Are you having trouble figuring out when to use classes or how to organize them?
Have you repeatedly searched for "when to use classes in Python",
read all the articles and watched all the talks,
and
Mike Driscoll: PyInstaller – How to Turn Your Python Code into an Exe on Windows

Link: https://www.blog.pythonlibrary.org/2021/05/27/pyinstaller-how-to-turn-your-python-code-into-an-exe-on-windows/

You have just created an awesome new application. Maybe it’s a game or maybe it’s an image viewer. Whatever your application is, you want to share it with your friend or a family member. However, you
Python for Beginners: 4 Ways to Read a Text File Line by Line in Python

Link: https://www.pythonforbeginners.com/files/4-ways-to-read-a-text-file-line-by-line-in-python


Reading files is a necessary task in any programming language. Whether it’s a database file,  image, or chat log, having the ability to read and write files greatly enhances what we can with Python.
AI Pool: ImportError libcublas.so.9.0

Link: https://ai-pool.com/d/importerror-libcublas-so-9-0

Can't find a solution to this issue ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory.
Why do I get this after installation?...
AI Pool: What is the difference between tf.nn.dropout() vs tf.layers.dropout()?

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

I'm using dropout with TensorFlow and couldn't get what is the difference between nn.dropout and layers.dropout....
AI Pool: Multi gpu training with Keras

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

I'm using Keras with Tensorflow backend (Keras version 2.0.*, TensorFlow version 1.10.*). The training process takes too much time. How can I make a distributed train across multiple GPUs?...
AI Pool: How to use Tensorboard with Keras?

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

I'm using Keras 2.0 with a TensorFlow backend. I don't use model.fit() function, so I can't use callbacks provided by Keras. Is there any way I can visualize my graph in Tensorboard?...
Python Pool: PIP vs PIP3: What is the Difference?

Link: https://www.pythonpool.com/pip-vs-pip3/?utm_source=rss&utm_medium=rss&utm_campaign=pip-vs-pip3

Hey geeks! Let us start our discussion on today’s topic. If you are a python developer, you must have understood our agenda after reading the title. But if you are a beginner to python, then no worrie
Abhijeet Pal: Find Missing Number in a given Array Using Python

Link: https://djangocentral.com/find-missing-number-in-an-array-using-python/

Problem Definition Find the missing numbers in a given list or array using Python. For example in the arr = [1,2,4,5] the integer ‘3‘ is the missing number. There are ... Read more
The post Find Missi
Python Pool: Python Check if File Exists – All Methods Covered

Link: https://www.pythonpool.com/python-check-if-file-exists/?utm_source=rss&utm_medium=rss&utm_campaign=python-check-if-file-exists

We can use python to create different types of files and store them in the local computer storage. Mainly there are two types of files – binary file and text file. We can perform operations such as re
Real Python: The Real Python Podcast – Episode #62: Selecting the Ideal Data Structure & Unravelling Python's "pass" and "with"

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

How do you know you're using the correct data structure for your Python project? There are so many built into Python and even more that are importable from the collections module. This week on the sho
PyCharm: Early Access PyCharm: PyCharm and the Web

Link: http://feedproxy.google.com/~r/Pycharm/~3/WWo4SQklDSQ/

In this episode, we talk to Andrey from the Webstorm team, and find out how the web has changed over his time at the Webstorm. We dive into how it’s like leading a product like Webstorm to how things