techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#python

357 posts292 participants16 posts today

The fourth (and hopefully final) alpha release of Spyder 6.1 came out earlier this week, with ...

🐻‍❄️ support for Polars dataframes (see previous post)
🖥️ support for connecting to JupyterHub servers
☰ reorganized menus to make them easier to navigate
🇽 new shortcut to close Variable Explorer viewers
📊 no more blurred plots on high DPI screens
🪦 kill kernels when Spyder crashes
… and more …

The plan is to follow this with a beta release mid-August.

🚨 Get ready Pythonistas... our PyCon UK 2025 keynote speaker lineup is about to drop! 🎤

Next week, we’re announcing our three amazing keynote speakers 🐍 Expect inspiration, insight, and some incredibly interesting stories and experiences! 💥

🌟 Who will take the stage?
🎤 What stories will they share?
💬 What conversations will they spark?

👀 Watch this space! 👀

Pues aquí os dejo con un vídeo de #Towercraft para que oigáis los efectos de sonido y la música de fondo, la cual aumenta 2 veces su tempo, la primera cuando el tamaño de los pisos es menor que la mitad que el original, y la más rápida cuando es menor de una cuarta parte.

Yo creo que me está quedando un minijuego bastante chulo

OMG! I just used yield for the first time in #python. It's like return but it keeps a state and come back there later. It's a concept I never saw in any language. I could probably simulate it with goto on C. It's just useful in really rare cases.

From: blenderdumbass . org

The multiplayer, or the lack there of, at the moment is so utterly broken and so lacking of being properly made that for a long time, I was just not bothering with it. Seeing it as something unnecessary. Something that does not need to be touched, because other things, like the...

Read or listen: blenderdumbass.org/articles/a_

blenderdumbass . orgA Rant About Making a Multiplayer Game

🌘 GitHub - felixnext/python-time-helper: 各專案跨平臺時間函式支援庫
➤ 輕鬆處理日期和時間的 Python 函式庫
github.com/felixnext/python-ti
此為一個輕量級的Python函式庫,旨在簡化 datetime 的處理,包含時區支援。它提供了一組完整的工具,用於解析、轉換和操作日期和時間,並具有簡單直觀的API,以及針對 Pandas 和 NumPy 的整合支援。
+ 這個函式庫看起來很方便,特別是對於需要處理不同時區的專案來說。
+ 支援 Pandas 和 NumPy 真是太好了,可以方便地應用在資料分析的場景中。
#Python 函式庫 #時間處理 #時區支援

Various functions that help handling time based functions across different projects - felixnext/python-time-helper
GitHubGitHub - felixnext/python-time-helper: Various functions that help handling time based functions across different projectsVarious functions that help handling time based functions across different projects - felixnext/python-time-helper

🌘 GitHub - pomponchik/transfunctions:告別 Python 同步與非同步的程式碼片段化
➤ 透過模板消除 Python 程式碼的同步與非同步片段化。
github.com/pomponchik/transfun
這個函式庫旨在解決 Python 程式設計中一個重要的問題,即程式碼在同步與非同步模式下被分割成不同的陣營,導致大量的程式碼重複。它透過使用模板來消除這種重複,允許開發者從單一模板產生同步、非同步和生成器函式,簡化程式碼並提高可維護性。
+ 終於有解決方案可以避免在 Python 中為了同步和非同步而重複撰寫相同的程式碼了!這個函式庫看起來非常方便。
+ 這個想法很棒!使用模板來處理同步和非同步的差異,可以大大減少程式碼量並提高可讀性。期待看到更多這樣的工具。
#程式開發 #Python #非同步程式設計

Say NO to Python fragmentation on sync and async. Contribute to pomponchik/transfunctions development by creating an account on GitHub.
GitHubGitHub - pomponchik/transfunctions: Say NO to Python fragmentation on sync and asyncSay NO to Python fragmentation on sync and async. Contribute to pomponchik/transfunctions development by creating an account on GitHub.