Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyPy: Repeated string concatenation is quadratic in PyPy (and CPython)

Link: https://www.pypy.org/posts/2023/01/string-concatenation-quadratic.html

This is a super brief blog post responding to an issue that we got on the PyPy
issue tracker. I am moving my response to the blog (with permission of the
submitter) to have a post to point to, since i
Python for Beginners: Pandas Replace Value in a Dataframe

Link: https://www.pythonforbeginners.com/basics/pandas-replace-value-in-a-dataframe

Pandas dataframes are used to manipulate tabular data in Python. Sometimes, while manipulating the data, we need to replace certain values in the pandas dataframe. In this article, we will discuss dif
Real Python: Discover bpython: A Python REPL With IDE-Like Features

Link: https://realpython.com/bpython-alternative-python-repl/

The standard Python interpreter lets you run scripts from files or interactively execute code on the fly in a so-called read-evaluate-print loop (REPL). While this is a powerful tool for exploring the
Mahmoud Hashemi: Intentional Creation

Link: http://sedimental.org/intentional_creation.html

Reliably tap into your creativity with the 4 Cs: Consume, critique, curate, create.
This is one of my oldest ideas, finally published on the GitHub ReadME Project blog, along with a profile, in June 2
Read the Docs: Sphinx 6 is out and has important breaking changes

Link: https://blog.readthedocs.com/sphinx6-upgrade/

Sphinx 6 was released on December 29, 2022.
It contains a few major breaking changes that users should be aware of,
and some smaller new features as well.
Here are some of our considerations for the u
Talk Python to Me: #397: Evaluating New Open Source Tech Panel

Link: https://talkpython.fm/episodes/show/397/evaluating-new-open-source-tech-panel

The beauty of open source software and libraries is that you're not stuck with a single option some vendor is offering. This is especially true when that support is poor and antiquated. Almost any cap
eGenix.com: Python Meeting Düsseldorf - 2023-01-18

Link: https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2023-01-18

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

Ankündigung
Das nächste Python Meeting Düsseldorf findet an folgendem Termin statt:

18.0
CodersLegacy: cx_Freeze Tutorial (Python .py to .exe conversion)

Link: https://coderslegacy.com/python-cx_freeze-tutorial/

In this Python tutorial, we will discuss the cx_Freeze library, used to effectively and efficiently create EXE’s for our Python applications.
Cx_Freeze has been one of my personal favorites ever sinc
Real Python: The Real Python Podcast – Episode #139: Surveying Comprehension Constructs & Python Parallelism Infighting

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

Have you embraced the use of comprehensions in your Python journey? Are you familiar with all the varieties of comprehension constructs? This week on the show, Christopher Trudeau is here, bringing an
John Ludhi/nbshare.io: How To Solve Error Numpy Has No Attribute Float In Python

Link: https://www.nbshare.io/notebook/242294077/How-To-Solve-Error-Numpy-Has-No-Attribute-Float-In-Python/







How To Solve Error Numpy Has No Attribute Float In Python










There are a few possible reasons for this error:










1 .The error 'numpy' has no attribute 'float' usually occurs when y
Python for Beginners: Compare Pandas DataFrames in Python

Link: https://www.pythonforbeginners.com/basics/compare-pandas-dataframes-in-python

We use dataframes to handle tabular data in python. Sometimes, we might need to compare different dataframes according to values in their columns for each record. In this article, we will discuss how
PyBites: PyScript, a first exploration

Link: https://pybit.es/articles/pyscript-a-first-exploration/

The countdown timer we’ll build in this article with Python (no Javascript needed)



After watching a PDM Code Clinic demo of PyScript the other day I got a lot of inspiration of things I could do wi
John Ludhi/nbshare.io: Generative Adversarial Networks

Link: https://www.nbshare.io/notebook/804735539/Generative-Adversarial-Networks/







Generative Adversarial Networks (GANs)










Generative Adversarial Networks (GANs) are a type of neural network architecture for generative modeling. They consist of two models: a generator
John Ludhi/nbshare.io: Calculate Implied Volatility of Stock Option Using Python

Link: https://www.nbshare.io/notebook/84311835/Calculate-Implied-Volatility-of-Stock-Option-Using-Python/







Calculate Implied Volatility of Stock Option Using Python










Implied volatility is a measure of the expected fluctuation in the price of a stock or option over a certain period of time. I
PyBites: Goal setting tips

Link: https://pybit.es/articles/goal-setting-tips/

Listen here:

Or watch here:


Happy New Year and welcome back to the Pybites podcast. 
This week Julian and Bob talk about setting goals for this year 2023:– How to set your goals this year.– When an
Hynek Schlawack: Surprising Consequences of macOS’s Environment Variable Sanitization

Link: https://hynek.me/articles/macos-dyld-env/

macOS removes all environment variables starting with DYLD_ as part of its System Integrity Protection (SIP). Depending on how deep you go, the consequences can be surprising.
Mike Driscoll: PyDev of the Week: Claudio Jolowicz

Link: https://www.blog.pythonlibrary.org/2023/01/09/pydev-of-the-week-claudio-jolowicz/

This week we welcome Claudio Jolowicz (@cjolowicz) as our PyDev of the Week! Claudio is the author of an upcoming book titled Hypermodern Python Tooling. Claudio writes about Python on Medium. You can