Suche

Beiträge, die mit Python getaggt sind


Introducing MEINE 🌒: A TUI-Based File Manager & Command Console Built with Python

github.com/Balaji01-4D/meine

Discussions: discu.eu/q/github.com/Balaji01…

#programming #python


Sensitiver Inhalt



Today I learned that #Python's os library has a Windows specific function called "os.startfile" that opens any file or folder with its default application. Specifying a folder path for example opens an explorer window pointed at that location.

Link: docs.python.org/3/library/os.h…



#Python programming language picks of the day (continued):

The account below is a discussion group. Follow the group to see its discussions in your timeline, mention the group to post to it. (More info about how to use Fediverse groups: fedi.tips/how-to-use-groups-on…)

➡️ @python - Discussion group about the Python programming language

PLEASE DO NOT REPLY TO THIS PART OF THE THREAD, IT MIGHT SPAM THE GROUP.

4/4


#Python programming language picks of the day (continued):

➡️ @scientific_python - Initiative to co-ordinate scientific Python projects

➡️ @pyOpenSci - Organisation for Python FOSS in open science

➡️ @geopandas - FOSS project using geospatial data in Python

➡️ @Python4DataScience - Teaching materials on Python in data science

➡️ @obspy - Python framework for seismological data

2/4


#Python programming language picks of the day:

➡️ @ThePSF - Official account of Python Software Foundation

➡️ @django - FOSS high-level Python web framework

➡️ @pythonbytes - Python podcast

➡️ @talkpython - Different Python podcast

➡️ @pythonhub - Highlighting interesting Python articles

➡️ @realpython - Tutorials, courses etc for Python

➡️ @pypi - Repository of software for Python

➡️ @pillow - FOSS fork of Python Imaging Library

➡️ @blackpythondevs - Community org for black Python devs

🧵 1/4



Today I know more about #Python #pyenv shim's fall through to the system default than I did yesterday.

Stumbled upon a problem I didn't realize that I was having. Testing against an older version of an older version(3.11.2 vs 3.11.12) because it wasn't specified in the pyenv global. 🤦 Now I know.

So...I've got that going for me.

github.com/pyenv/pyenv?tab=rea…




I've spent the day writing a (somewhat) minimalist static website generator in #Python. It's designed to be more of a generator framework, allowing you to customize and extend it and replace parts, but in turn it requires you to write some Python.

It's still super basic, but I'll extend it over the coming weeks. And I'm thinking about publishing a series of articles during and about its development, on a website generated by it, that slowly gains features.

Would anyone read that?

#SSG #WebDev

  • Yes, absolutely! Please, do it! (41%, 39 Stimmen)
  • Sure, why not? (29%, 27 Stimmen)
  • I don't know. Maybe. (20%, 19 Stimmen)
  • Nah, I'm not interested. (8%, 8 Stimmen)
93 Stimmen, Abstimmung endet: in 2 Stunden




How is #precommit even a thing?

pre-commit.com/

There's apparently _no_ security whatsoever. It just downloads random code from the internet and runs it on your machine.

And everyone with write access to the repo can just tell it to download _more_ code.

Compare this to direnv (direnv.net), which will ask you for permission every time someone changes its config.

#Python #security



Thanks to the work of Python Release Managers and all the Developers-in-Residence we have a coordinated #Python #security release of all versions for 5 CVEs all in one day (1 critical, 3 high, 1 medium)

discuss.python.org/t/python-3-…


#introduction suite à changement d'instance Mastodon.

Passionné d'astronomie, et plus particulièrement d'instruments astronomiques anciens de mesure du temps (cadrans solaires, astrolabes, nocturlabes, globes célestes).
Je fais des tracés d'instruments astronomiques avec #Python et #texlatex que je partage sur les réseaux sociaux et sur mon site internet.

Intéressé par l'histoire de l'astronomie et de la navigation astronomique.

J'aime bien m'essayer à la cartographie.

Professeur de physique-chimie en lycée technologique depuis +20 ans.

Membre de la Commission des cadrans solaires (Société astronomique de France), du CLEA (Comité de liaison enseignants-astronomes), et de l'UdPPC (Union des professeurs de physique et de chimie).


New Python programmers often reach for indexes far more often than experienced Pythonistas.

Many of the most common use cases for indexing in other languages have a higher-level non-index-based approach in #Python.

Indexes aren't bad. But there is often a more readable approach.

pym.dev/avoid-indexes-in-pytho…


Calling all Python people! 👋 The PyBay 2025 Call for Proposals is closing in less than ONE WEEK! Share your knowledge with the Bay Area Python community. Submit your talk by SUNDAY, June 8th: sessionize.com/pybay2025 #Python #PyBay


I'm proud of my spouse @leonardr for his decades of service to the world. The #Python Software Foundation recently recognized some of that service by naming him a @ThePSF Fellow, and giving him the Community Service Award.

A few photos of the ceremony at #PyConUS 2025: harihareswara.net/posts/2025/c…






Sensitiver Inhalt