Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Stack Abuse: Checking Vulnerabilities in Your Python Code with Bandit

Link: https://34.192.96.215:80/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
Talk Python to Me: #318: Measuring your ML impact with CodeCarbon

Link: https://talkpython.fm/episodes/show/318/measuring-your-ml-impact-with-codecarbon

Machine learning has made huge advancements in the past couple of years. We now have ML models helping doctors catch disease early. Google is using ML to suggest traffic routes in their maps app that
AI Pool: Best encoder for mobile segmentation

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

I'm working on a segmentation task and want to have a model on mobile devices. Which model can I use for the encoder part, besides 'MobileNetV3' ? ...
AI Pool: Keras custom layer

Link: https://ai-pool.com/d/keras-custom-layer

I'm using Keras and want to create a custom layer with its trainable weights. What is the proper way to do that?...
AI Pool: Proper way to use batch normalization with keras

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

What is the right way to use batch normalization of Keras ? I don't use Sequential and have a small block with convolutional and pooling layers....
AI Pool: What is the difference between Sigmoid and Softmax?

Link: https://ai-pool.com/d/what-is-the-difference-between-sigmoid-and-softmax

I'm trying to train a neural network that works for binary classification problem. What is the difference between having a single output with sigmoid and 2 outputs with softmax functions?...
Python Morsels: What is a callable?

Link: https://www.pythonmorsels.com/topics/callables/




Transcript
A callable is an object that you can call.
Functions are callable objects
When you define a function in Python:
>>> def greet(name):
... print("Hi", name)
...

You'll get a function
Test and Code: 155: Four Questions to Ask Frequently During Software Projects - Tim Ottinger

Link: https://testandcode.com/155

Tim Ottinger has four questions that work great in many situations, from doing homework, to cooking, to writing code, to entire software projects.
They are actually awesome questions to ask during a s