STX Next: Top 10 Python Apps: Why Are They So Successful?
“Whatever you can think of, there’s an app for it.”
View ArticlePodcast.__init__: Add Configuration Best Practices To Your Application In An...
Application configuration is a deceptively complex problem. Everyone who is building a project that gets used more than once will end up needing to add configuration to control aspects of behavior or...
View ArticleSTX Next: Hugging Face: Basic Task Tutorial for Solving Text Classification...
Natural language processing is one of the leading domains of AI that involves enabling computers to understand human language.
View ArticleIslandT: Matplotlib Tutorial — Create a bar chart
In this Matplotlib example, I am going to create a bar chart to represent the quantity of the wear I have sold recently. import matplotlib.pyplot as plt fig, ax = plt.subplots() wear = ['Slipper',...
View ArticleMike Driscoll: PyDev of the Week: Vinay Sajip
This week we welcome Vinay Sajip as our PyDev of the Week! Vinay is a core developer of the Python language. Vinay is also a core contributor for python-gnupg, a Python API for the GNU Privacy Guard as...
View ArticlePython for Beginners: How to Search for a String in a Text File Through Python
In this post, we’ll explore the various methods used to search for a string in a text file. Using examples written in Python 3, we’ll demonstrate how to open and read both text files and CSV files....
View ArticleReal Python: Python's doctest: Document and Test Your Code at Once
Are you interested in writing usage examples for your code that work as documentation and test cases simultaneously? If your answer is yes, then Python’s doctest module is for you. This module provides...
View ArticleZero to Mastery: Python Monthly Newsletter 💻🐍
35th issue of the Python Monthly Newsletter! Read by 25,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry...
View ArticlePython Morsels: SyntaxError: invalid syntax
Python's "invalid syntax" error message comes up often, especially when you're first learning Python. What usually causes this error and how can you fix it?Table of contentsWhat is a SyntaxError in...
View ArticleTryton News: Tryton Release 6.6
We are proud to announce the 6.6 release of Tryton. This release provides many bug fixes, performance improvements and some fine tuning. What is also significant is the addition of 10 new modules and...
View ArticleDjango Weblog: Django bugfix release: 4.1.3
Today we've issued the 4.1.3 bugfix release.The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is...
View ArticleIslandT: Matplotlib Tutorial — Create a scatter chart
In this Matplotlib example, I am going to create a scatter chart that shows the quantity and the type of shoes I have sold recently. The scatter chart below will show dots that represent the quantity...
View ArticleReal Python: Python Basics: Scopes
On your Python journey, you’ve probably learned about functions and loops. To fully understand functions and loops in Python, you need to be familiar with the issue of scope.By the end of this video...
View ArticlePython Bytes: #308 Conference season is heating up
<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=rQgMQH4QWFc' style='font-weight: bold;'>Watch on YouTube</a><br>...
View ArticleJuri Pakaste: Git worktrees helper
I recently became an avid user of Git worktrees. However, the command line interface to them is about as great as Git command line interfaces always are. Just git worktree add is a confusing maze of...
View ArticlePyCoder’s Weekly: Issue #549 (Nov. 1, 2022)
#549 – NOVEMBER 1, 2022View in Browser »How to Get the First Match From a Python List or Iterable In this tutorial you’ll learn about the best ways to get the first match from a Python list or...
View ArticleIslandT: Python Example — Find the future sum of money with Python
In this python example, I will create a simple python function to calculate the compound interest which will then be used to calculate the future sum of money (F) if the present sum of money (P) and...
View ArticlePyCharm: How to Debug a Jupyter Notebook in PyCharm
Making mistakes in your code is a pain, and debugging in Jupyter notebooks can get messy. While Jupyter helpfully displays the full Python traceback, which highlights the lines that have failed,...
View ArticlePython for Beginners: String Concatenation and Formatting
As a Python programmer, it’s virtually guaranteed that you’ll need to master string concatenation and formatting.Whether it’s preparing a message that will eventually be read by a user, or writing...
View ArticleJohn Cook: Python code to solve Kepler’s equation
The previous post looked at solving Kepler’s equation using Newton’s method. The problem with using Newton’s method is that it may not converge when the eccentricity e is large unless you start very...
View Article