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

Python Pool: Comparing for vs while loop in Python

The post Comparing for vs while loop in Python appeared first on Python Pool.Loops are one of the most basic entities inside a given programming language. With loop statements, we can execute a given...

View Article


Python Circle: Integrating GitHub login in Django without AllAuth Package

In this article, we will see how to integrate the Login with GitHub button on any Django application. We will use plain vanilla GitHub OAuth instead of the famous Django-AllAuth package.

View Article


Vinayak Mehta: Releasing Camelot v0.10.0

I'm happy to announce that Camelot v0.10.0 is out!tl;drYou can now choose between two image conversion backends, or supply your own.pip install camelot-py[base] instead of pip install...

View Article

Mike Driscoll: PyDev of the Week: Jeremiah Paige

This week we welcome Jeremiah Paige (@ucodery) as our PyDev of the Week! Jeremiah currently works for Activestate. He is also a speaker at EuroPython 2021.Let’s take a few moments to get to know...

View Article

Stack Abuse: Hands-On House Price Prediction - Deep Learning in Python with...

In this short series of guides, we'll be taking a look at a hands-on house price prediction. We'll be using Keras, the deep learning API built on top of TensorFlow to train a neural network to predict...

View Article


Image may be NSFW.
Clik here to view.

Stack Abuse: Feature Scaling Data with Scikit-Learn for Machine Learning in...

IntroductionPreprocessing data is an often overlooked key step in Machine Learning. In fact - it's as important as the shiny model you want to fit with it.Garbage in - garbage out.You can have the best...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: Announcing: Automating Excel with Python Kickstarter

Automating Excel with Python will be Michael Driscoll’s 10th Python book! This book’s primary goal is to help you automate the creation, editing, and reading of Excel spreadsheets using the Python...

View Article

Image may be NSFW.
Clik here to view.

Python Software Foundation: Łukasz Langa is the inaugural CPython...

The PSF and the Python Steering Council are pleased to announce that the inaugural Developer-in-Residence role will be held by core developer Łukasz Langa. CPython, the reference implementation of...

View Article


Real Python: Python News: What's New From June 2021?

If you want to get up to speed on what happened in the world of Python in June 2021, then you’ve come to the right place to get your news!June was a month of change. Ewa Jodlowska, the Executive...

View Article


Łukasz Langa: I am the new CPython Developer in Residence

This is some of the most amazing news in the past few years for me. Python needs full-time development to stay competitive, I’ve been talking about this for years, dreaming about it for even longer...

View Article

Image may be NSFW.
Clik here to view.

Andre Roberge: Friendlier tracebacks in REPLs (including Jupyter)

Traceback:  Determination of origin; the process of tracing something back to its source.I have been working towards release 0.4 of friendly/friendly_traceback as well as preparing for a talk at the...

View Article

Python Pool: 5 Ways to Find the list max index in Python

The post 5 Ways to Find the list max index in Python appeared first on Python Pool.A list is a data structure in python which is used to store items of multiple data types. Because of that, it is...

View Article

Image may be NSFW.
Clik here to view.

EuroPython: EuroPython 2021: Meet our Diamond Sponsor Bloomberg

We are excited to have Bloomberg as one of our two Diamond Sponsors for EuroPython 2021. Bloomberg has more than a hundred million lines of Python code under management and engages heavily in...

View Article


Stack Abuse: Python: How to Remove a Character from a String

IntroductionIn this guide, we'll take a look at how to remove a character from a string in Python.Strings, and especially user-generated input may contain unwanted characters, such as special...

View Article

Python for Beginners: How to Comment Out a Block of Code in Python

Programming with Python is exciting. Writing code and sharing it with others can lead to amazing things. But before our programs can grow, we need to make sure they are easy to read. That’s why...

View Article


Real Python: The Square Root Function in Python

Are you trying to solve a quadratic equation? Maybe you need to calculate the length of one side of a right triangle. You can use the math module’s sqrt() method for determining the square root of a...

View Article

death and gravity: Why I wrote my own SQL query builder (in Python)

PreviouslyThis is the third article in a series about writing an SQL query builder in 150 lines of Python.Today, we'll talk about:why I decided to write my ownthe alternatives I consideredwhy I didn't...

View Article


Image may be NSFW.
Clik here to view.

Python Morsels: How to write a generator expression

TranscriptLet's make a generator expression.Writing a generator expressionHere we have a list and a list comprehension that loops over that list:>>> numbers = [2, 1, 3, 4, 7, 11, 18]...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: Learn to Code by Solving Problems eBook Contest

No Starch Press has partnered with Mouse vs Python to bring you an eBook contest for Learn to Code by Solving Problems: A Python Programming Primer by Daniel Zingaro.There will be 5 winners. To enter,...

View Article

Image may be NSFW.
Clik here to view.

PyCharm: Webinar: “Simple, Fast Frontends with htmx” with Carson Gross

The web has changed in recent years. Modern websites mean lots of JavaScript on the frontend, sometimes supplanting HTML all together. You’re left with a pile of npm dependencies, wondering if it will...

View Article
Browsing all 24375 articles
Browse latest View live


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