Quantcast
Channel: Planet Python
Browsing all 24360 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Mike Driscoll: Pillow: Image Processing with Python Available for Pre-order

Pillow: Image Processing with Python is my latest book on Python. It is now available for pre-order. What that means is that you can purchase an early version of the book and get all the updates to it...

View Article


Python⇒Speed: Why you really need to upgrade pip

New software releases can bring bug fixes, new features, and faster performance. For example, NumPy 1.20 added type annotations, and improved performance by using SIMD when possible. If you’re...

View Article


Image may be NSFW.
Clik here to view.

John Ludhi/nbshare.io: How to Analyze the CSV data in Pandas

How to Analyze the CSV data in PandasFor this exercise, I am using College.csv data. The brief explantion of data is given below.In [1]:importpandasaspdIn [2]:df=pd.read_csv('College.csv')In...

View Article

Matthew Wright: Profiling Python with cProfile, and a speedup tip

We would love for our Python programs to run as fast as possible, but figuring out how to speed things up requires gathering information about the current state of our code and knowing techniques to...

View Article

Image may be NSFW.
Clik here to view.

Python Engineering at Microsoft: Python in Visual Studio Code – February 2021...

We are pleased to announce that the February 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it...

View Article


Mike C. Fletcher: Adding a Certificate Authority to Chrome Trust Store

So you have a corporate or project specific root of trust you need Chrome to recognise. How do you take your PEM certificate as you get from easy-rsa or the like and make it something that Chrome will...

View Article

Test and Code: 145: For Those About to Mock - Michael Foord

A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.Of course we discuss mocking and unittest.mock. We also discuss:testing philosophyunit testing and...

View Article

CubicWeb: CubicWeb Monthly news january 2021

New organisationFor this new year, we decided to change how we organise the CubicWeb project at Logilab. We clarified how to define priorities and how to contribute.Rotating the coordinator of the...

View Article


Image may be NSFW.
Clik here to view.

John Ludhi/nbshare.io: Word Embeddings Transformers In SVM Classifier Using...

Word Embeddings Transformers In SVM Classifier Using PythonWord EmbeddingsWord Embeddings is the process of representing words with numerical vectors.One-hot-encodingNot so long ago, words used to be...

View Article


Image may be NSFW.
Clik here to view.

John Ludhi/nbshare.io: Understanding Standard Deviation With Python

Understanding Standard Deviation With PythonStandard deviation is a way to measure the variation of data. It is also calculated as the square root of the variance, which is used to quantify the same...

View Article

John Ludhi/nbshare.io: Dictionaries In Python

Dictionaries in PythonYou can define a dictionary by enclosing a comma-separated list of key-value pairs in curly braces ({}).A colon (:) separates each key from its associated value:In [...

View Article

Image may be NSFW.
Clik here to view.

John Ludhi/nbshare.io: Decision Tree Regression With Hyper Parameter Tuning...

Decision Tree Regression With Hyper Parameter TuningIn this post, we will go through Decision Tree model building. We will use air quality data. Here is the link to data.In...

View Article

Image may be NSFW.
Clik here to view.

John Ludhi/nbshare.io: Learn And Code Confusion Matrix With Python

Learn And Code Confusion Matrix With Python The confusion matrix is a way to visualize how many samples from each label got predicted correctly. The beauty of the confusion matrix is that it actually...

View Article


Andre Roberge: My wish for Python 4

I love Python. A few years after I started using it, I saw someone writing about it and using the phrase "it fits my brain": this is very much how I feel ... at least, for simple straightforward code...

View Article

Image may be NSFW.
Clik here to view.

EuroPython: EuroPython 2021: Volunteering

The EuroPython 2021 organization is starting and we're looking for more help with running the conference.EuroPython 2019 TeamFor EP2021, we are using a slightly different approach compared to previous...

View Article


Python Bytes: #221 Pattern matching and accepting change in Python with Brett...

<p>Sponsored by Datadog: <a href="http://pythonbytes.fm/datadog"><strong>pythonbytes.fm/datadog</strong></a></p> <p>Special guest: <a...

View Article

Image may be NSFW.
Clik here to view.

Will McGugan: Building Rich terminal dashboards

Rich has become a popular (20K stars on GH) way of beautifying CLIs, and I'm pleased to see a number of projects using it.Since Rich is mature and battle-tested now, I had considered winding-down...

View Article


Image may be NSFW.
Clik here to view.

Python Insider: Python 3.7.10 and 3.6.13 security updates now available

 Python 3.7.10 and 3.6.13,  the lastest security fix rollups for Python 3.7 and Python 3.6, are now available. You can find the release files, links to the changelogs, and more information here:...

View Article

Image may be NSFW.
Clik here to view.

Podcast.__init__: CrossHair: Your Automatic Pair Programmer

One of the perennial challenges in software engineering is to reduce the opportunity for bugs to creep into the system. Some of the tools in our arsenal that help in this endeavor include rich type...

View Article

Image may be NSFW.
Clik here to view.

Python Morsels: docstrings in Python

Transcript:Let's talk about docstrings in Python. What is a docstringWe have a function called get_hypotenuse:from math import sqrt def get_hypotenuse(a, b): """Return right triangle hypotenuse, given...

View Article
Browsing all 24360 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>