python

Back Open Paginator
11.08.2025 17:48
smagnusson (@smagnusson@graphics.social)

New nView add-on release!

It's now fully compatible with Blender 4.5, including:

- better shader support for transmission bounce checks
- utilizing the new BLAZING fast manifold boolean solver to generate meshes from a moving camera frustum

#b3d #blender3d #python





Show Original Post


11.08.2025 16:45
niavy (@niavy@masto.bike)

Ça prend combien de temps de compiler Python sur un vieil i3 🤨🕛🕜🕒🕟🕕🕢🕙 ?

#Linux
#Python




Show Original Post


11.08.2025 16:31
ivelasq3 (@ivelasq3@fosstodon.org)

I made a lil blog post and video on creating a Streamlit app in Positron and various features that may help you out when creating #Python apps:

Blog: posit.co/blog/streamlit-in-pos
Video: youtube.com/watch?v=VO2pBeX0g-U




Show Original Post


11.08.2025 16:25
s4mdf0o1 (@s4mdf0o1@piaille.fr)

Bon j'ai 2 accordeurs... à piles, et ça me gave, d'où ce nouvel accordeur, et vu qu'y marche trop bien,
bein il est là pour qui n'en veut : 🙂

Accordeur guitare en python :

framagit.org/s4mdf0o1/guit_tun

#guitar #tuner #Guitare #Python




Show Original Post


11.08.2025 16:04
andros (@andros@activity.andros.dev)

Nuevo artículo: «Guía rápida de herramientas modernas en Python»
https://andros.dev/blog/c3ec3586/guia-rapida-de-herramientas-modernas-en-python/

Puedes considerarlo este artículo como unos apuntes rápidos de uv y ruff, dos herramientas modernas para gestionar proyectos y paquetes de Python. Ambas son mucho más potentes de lo que muestro aquí, pero creo que con esto es suficiente para empezar a utilizarlas.

#python #uv #ruff #anuncios




Show Original Post


11.08.2025 16:02
cheukting_ho (@cheukting_ho@fosstodon.org)

If you think #Python #community gave you a lot, it's time to give it back! If you are #speaking at a Python conference, tell your employer and ask if they would like to #sponsor? Or at least ask them to provide your travel and purchase a cooperate-rate ticket. (1/3)





Show Original Post


11.08.2025 16:02
mahryekuh (@mahryekuh@hachyderm.io)

An excellent point raised by David Lord here:

Only pin bounds on applications; e.g., the "end user" of a set of other packages.

If you restrict versions within a library, you may break requirements for other projects that use it.

#Python #UV




Show Original Post


11.08.2025 15:50
mahryekuh (@mahryekuh@hachyderm.io)

As always, override defaults with caution:

1. Some packages, like Django, should be bound by minor instead of major versions.

2. Calendar versioning uses different logic, and I do not know how it plays with this setting.

3. Not every package needs an upper bound, especially when it constrains itself to another package that has been pinned (some Django extensions, for example).

4. The setting itself is in preview and may change its behavior at any time.

#Python #UV #Django




Show Original Post


11.08.2025 15:47
mahryekuh (@mahryekuh@hachyderm.io)

One of my UV gripes is that `uv add` doesn't set upper bounds to package version restrictions by default.

I prefer to pin packages within the current major range unless it's safe to drop the upper restrictions.

However, UV only provides a lower bound by default, unless you pass the `--bounds` flag to `uv add`.

Luckily, there is a setting under preview that changes the default behavior for all `add` commands: `add-bounds`.

Hello default "major" bounds option!

docs.astral.sh/uv/reference/se

#Python #UV




Show Original Post


11.08.2025 15:32
habr (@habr@zhub.link)

От консоли к GUI: Как написать игру «Сапёр» на Python с нуля версия консоли

Создайте свою версию легендарного «Сапёра» на Python. В этом пошаговом руководстве вы освоите всё: от создания игрового поля до управления флагами и проверки победы. Неважно, новичок вы или опытный программист — это увлекательное приключение поможет вам прокачать навыки. Начните программировать и играть с собственным «Сапёром» уже сегодня.

habr.com/ru/articles/936038/

#игра #сапер #игры_через_консоль #консоль #python #начинающих #интересные_идеи #с_нуля #game #minesweeper




Show Original Post


11.08.2025 15:30
mblayman (@mblayman@mastodon.social)

Need an introduction to understanding types and type hints in ?

Check out this presentation from Python Frederick where I can an introductory talk on the subject.

youtube.com/watch?v=E2d-tMRFDN8




Show Original Post


11.08.2025 15:19
driscollis (@driscollis@mastodon.social)

Pop Quiz 🐍❓

What is the output of the following code?

A) a ['b', 'c']
B) ['a', 'b', 'c']
C) ['b', 'c']
D) None of the above





Show Original Post


1 ...1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 ...1546
UP