python

Back Open Paginator
20.09.2025 09:44
voltagex (@voltagex@aus.social)

I wonder if an empty #Python pyproject.toml should do this rather than throwing an error:

```
pip install .
Processing c:\git\packaging-test-1
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
Building wheel for UNKNOWN (pyproject.toml) ... done
Created wheel for UNKNOWN: filename=unknown-0.0.0-py3-none-any.whl size=928 sha256=1d0e48ad7c8a1aa1043cc946258841edf77c58d2ea72d0faed35c39a55c39516
Stored in directory: c:\users\adam\appdata\local\pip\cache\wheels\1d\30\a5\1a2d6d43498e69d78a57a028ad948074f5b0d30a57d085cc40
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.0.0
```




Show Original Post


20.09.2025 09:30
PyConUK (@PyConUK@fosstodon.org)

✨🐍 Day 2 of #PyConUK2025 is here! 🐍✨

Here’s the starting line up for today:
⏰ 9:00 AM — Welcome
👩💻 9:00 AM (all day) — Django Girls Workshop
🎨 9:00 AM — Young Coders: ASCII art with Python by Hugh Evans
🎤 9:30 AM — Keynote by Felienne Hermans — Localization and translation of programming languages 💡🌍

Head on over to the schedule to see what else is in store! 👉 2025.pyconuk.org/schedule/

💜 Another amazing day begins! 🎉 🤓

#Python #Community #Tech #Conference





Show Original Post


20.09.2025 08:51
HaraldKi (@HaraldKi@nrw.social)

Python is nice with type hints (waiting for brace syntax😎 ), but yesterday I got bitten by "global" variables. Try this:

import sys
from sys import argv
sys.argv = ["✅"]
argv = ["❎"]
print(sys.argv)
print(argv)

The output will be:
['✅']
['❎']

This has nothing to do with argv, only with the fact that it is a "global" variable.

More: stackoverflow.com/a/4706889/29

Bottom line: when writing a module, do not provide variables for import/export, provide getter and setter.

#python #globalvariable




Show Original Post


20.09.2025 08:49
zopyx (@zopyx@mastodon.world)

Again, the @ThePSF suppresses discussions, avoid unwanted discussions and reacts with a ban or lockdown. ..a totally lost organisation.

#python

linkedin.com/posts/franz-kir%C




Show Original Post


20.09.2025 08:04
teguhteja (@teguhteja@mastodon.social)

Unlock the power of with the read_group method! Learn how to aggregate data like a pro.

teguhteja.id/odoo-read-group-m




Show Original Post


20.09.2025 07:10
JdeBP (@JdeBP@mastodonapp.uk)

@Eggfreckles

It's also licences, plural; extraordinarily repetitive (multiple copies of the same licences — GPL, LGPL, Apache, and others — over and over); and machine-generated with a python script apparently from embedded SPDX information.

If Google had actually addressed the Licence Hell instead of writing a simplistic Python script that robotically generates copies of things over and over and over and over, LICENCES.chromium would not be nearly as long.

github.com/chromium/chromium/b

Debian's machine-readable copyright file format attempts to avoid licence hell with many-to-1 cross-references to the actual licence texts.

#CopyrightLicences #Python #BSDLIcenceHell #Debian #CopyrightLicenceHell #Chromium #Electron




Show Original Post


20.09.2025 06:41
codeDude (@codeDude@floss.social)

I just read this article and I need to share it with the comunity.
" #Ruby, the #Python we deserved, but not going to get. "
dev.to/omanfk/my-hovercraft-is




Show Original Post


20.09.2025 06:12
ology (@ology@fosstodon.org)

In my ongoing efforts to enhance the python music ecosystem, I have made pypi.org/project/music-basslin - Adding examples currently... :)

#Python #Music




Show Original Post


20.09.2025 04:52
villares (@villares@ciberlandia.pt)

#Python #cbers4a #satelite #SensoriamentoRemoto

cbers4asat.readthedocs.io/pt-b

cc @elmoneto (você viu isso? eu não manjo nada mas já fiquei animado...)




Show Original Post


20.09.2025 04:27
notes (@notes@calckey.club)

Hey, do you program in #python, and live in or around Los Angeles? There's a conference called PyBeach happening next Saturday September 27th in Santa Monica, where you can learn cool things!

Details are at:
https://2025.pybeach.org

#losangeles #santamonica #programming #pybeach #2025




Show Original Post


20.09.2025 04:27
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


20.09.2025 04:15
MadMike77 (@MadMike77@chaos.social)

@mqu @jbz The path really depends on what your destination will be.
#Python is a good language for many tasks. If you are new to computers, it will also help you learn the inner workings of it one by one.
So to find **your** path it is important what kind of work you want to be able to get done on a computer.




Show Original Post


1 ...1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 ...1554
UP