Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Creating a Form in a PDF Document in Python With borb

Link: https://stackabuse.com/creating-a-form-in-a-pdf-document-in-python-with-borb/

The Portable Document Format (PDF) is not a WYSIWYG (What You See is What You Get) format. It was developed to be platform-agnostic, independent of the underlying operating system and rendering engine
Real Python: The Real Python Podcast – Episode #82: Welcoming the CPython Developer in Residence

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

Earlier this year, the Python Software Foundation announced the creation of the Developer in Residence role. The first Visionary Sponsors of the PSF have provided funding for this new role for one yea
Python for Beginners: Callable Objects in Python

Link: https://www.pythonforbeginners.com/basics/callable-objects-in-python

You might have heard that functions in python are callable objects. In this article, we will discuss what exactly we mean by the term callable object. We will discuss concepts behind the implementatio
Ben Cook: How the NumPy append operation works

Link: https://sparrow.dev/numpy-append/

Anyone familiar with Python will know about the list append method:
a = [1, 2, 3]
a.append(4)

print(a)

# Expected result
# [1, 2, 3, 4]
But what if you want to append to a NumPy array? In that case,
Ben Cook: NumPy Where: Understanding np.where()

Link: https://sparrow.dev/numpy-where/

The NumPy where() function is like a vectorized switch that you can use to combine two arrays. For example, let’s say you have an array with some data called and you want to create a new array with 1
Python⇒Speed: Pip vs Conda: an in-depth comparison of Python's two packaging systems

Link: https://pythonspeed.com/articles/conda-vs-pip/

If you’re using Python in the world of data science or scientific computing, you will soon discover that Python has two different packaging systems: pip and Conda.
Which raises some questions:

How ar
Montreal Python User Group: Python 3.10 Translation Sprint

Link: https://montrealpython.org/en/2021/10/py310-i18n-sprint/

Python 3.10 just got released! The official documentation of this incredible version is 52% translated to French. This is a very good start, but we want to do better.
From October 25 to November 25,
Podcast.__init__: An Exploration Of Financial Exchange Risk Management Strategies

Link: https://www.pythonpodcast.com/fx-risk-management-strategies-episode-33/

The world of finance has driven the development of many sophisticated techniques for data analysis. In this episode Paul Stafford shares his experiences working in the realm of risk management for fin
Weekly Python StackOverflow Report: (ccxcvii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/10/ccxcvii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-10-17 06:58:09 GMTWhy is there a difference between `0--3//2` and
PyPy: PyPy v7.3.6: release of python 2.7, 3.7, and 3.8

Link: https://www.pypy.org/posts/2021/10/pypy-v736-release.html

PyPy v7.3.6: release of python 2.7, 3.7, and 3.8-beta
The PyPy team is proud to release version 7.3.6 of PyPy, which includes
three different interpreters:


PyPy2.7, which is an interpreter supportin
Mike Driscoll: PyDev of the Week: Talley Lambert

Link: https://www.blog.pythonlibrary.org/2021/10/18/pydev-of-the-week-talley-lambert/

This week we chatted with Talley Lambert (@TalleyJLambert) who is a microscopist and Python enthusiast at Harvard Medical School. You can learn more about what Talley is up to and see his publications
Inspired Python: Python Pattern Matching Examples: ETL and Dataclasses

Link: https://www.inspiredpython.com/course/pattern-matching/python-pattern-matching-examples-etl-and-dataclasses?r=rss


Python Pattern Matching Examples: ETL and Dataclasses
In I walked you through the theory of Structural Pattern Matching, so now it’s time to apply that knowledge and build something practical.
Let’s
Real Python: A Roadmap to XML Parsers in Python

Link: https://realpython.com/python-xml-parser/

If you’ve ever tried to parse an XML document in Python before, then you know how surprisingly difficult such a task can be. On the one hand, the Zen of Python promises only one obvious way to achieve
Python Morsels: Creating and writing to a file in Python

Link: https://www.pythonmorsels.com/topics/creating-and-writing-file-python/




Transcript
Let's write to a text file.
Files can be read from (but not written to) by default
Here we're using the open function on a text file called my_file.txt (using a with block to automatical
Python Software Foundation: Join the Python Developers Survey 2021: Share and learn about the community

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/M9jMg4myXFk/join-python-developers-survey-2021.html

This year we are conducting the fifth iteration of the official Python Developers Survey. The goal is to capture the current state of the language and the ecosystem around it. By comparing the results
PyCharm: Webinar: “Smarter FastAPI Through Tooling” with Sebastián Ramírez

Link: http://feedproxy.google.com/~r/Pycharm/~3/UNEN6iZM9Gs/

FastAPI has quickly become super-popular. One of the reasons: embracing standards which help tooling, which then boost productivity. This is something FastAPI’s author, Sebastián Ramírez, really cares