python

Back Open Paginator
01.10.2025 08:39
stib (@stib@aus.social)

It is installing the psd-tools (aka psd_tools) module in `~/.local/lib/python3.11/site-packages` and I can see the file there, but #Blender's python refuses to believe that it's installed. I would love to love #python, but installing the fucking thing is waaay harder than actually writing it.




Show Original Post


01.10.2025 08:00
lobsters (@lobsters@mastodon.social)

Generate HTML conveniently and efficiently with Python generators lobste.rs/s/ka3uqb
github.com/pcarbonn/fast_html




Show Original Post


01.10.2025 07:20
lobsters (@lobsters@mastodon.social)

Postgres as queue lobste.rs/s/mvysit
leontrolski.github.io/postgres




Show Original Post


01.10.2025 06:29
stib (@stib@aus.social)

Any #bpy thing-knowers able to help me out? I'm writing a script that relies on the psd-tools module. To make sure it is loaded I do
```
try:
import psd_tools
except ImportError:
subprocess.check_call([python_executable, '-m', 'ensurepip'])
subprocess.check_call([python_executable, '-m', 'pip', 'install', 'psd-tools'])
import psd_tools
```
I can see pip installing the module, but when I finally get to the import psd_tools line at the end it says that the module is not loaded.
#blender #python #psd-tools #AskFedi




Show Original Post


01.10.2025 04:25
godber (@godber@az.social)

New #python #software project released ... no one will care about this one, it's for work. It monitors a Teraslice stream processing instance:

pypi.org/project/ts-topy/

Useful to me and 10 other people.




Show Original Post


01.10.2025 04:04
pythonjobsupport (@pythonjobsupport@mastodon.social)

PySpark Data Bricks Syntax Cheat Sheet  

PySpark Syntax Cheat Sheet: I have covered the below operators/function from PySpark: 1. Drop table if already present 2. Create ... source

quadexcel.com/wp/pyspark-data-




Show Original Post


01.10.2025 03:42
r (@r@bsky.brid.gy)

Just released: Version 10.6.29 of passagemath, the pip-installable modularized #SageMath fork, a general-purpose #Mathematics system in #Python. github.com/passagemath/... This version brings a new package by P. Weil for finitely generated subgroups of infinite groups. #FOSS #MathSky #GAPSystem

Release passagemath-10.6.29 · ...




Show Original Post


01.10.2025 03:27
xameer (@xameer@mathstodon.xyz)

If this Jedi-mode in #emacs for #python?





Show Original Post


01.10.2025 03:10
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


01.10.2025 02:24
r (@r@fed.brid.gy)

The show my wife is currently performing in is Stephen Sondheim's Assassins, so the music I used is "Something Just Broke"... But everybody's got the right to be happy, and this week, what makes me happy is Perl Weekly Challenge 341. #PerlWeeklyChallenge #raku #perl #python #elixir

Perl Weekly Challenge: Somethi...




Show Original Post


01.10.2025 01:59
mkennedy (@mkennedy@fosstodon.org)

A new article, enjoy! #ai #python

"Goodbye Wordpress and thanks AI"

mkennedy.codes/posts/goodbye-w




Show Original Post


01.10.2025 01:31
jpgoldberg (@jpgoldberg@ioc.exchange)

Something in #VSCode just wrote a #JupyterNotebook in my name, seemingly based on the name I gave to the #Python project. When I saw that the file existed, I assumed it was just some “Hello, world” like thing.

Eventually I looked at it.
It was extensive had lots of sentences like, “I haven't yet decided how to represent digits larger than 9”, which either are not true or non-sensical for my project.

I am pleased that I could this before that ever made it to a public repository. And I am extremely annoyed that I could have published some AI generated text in my name.

I’m not in principle opposed to using AI to assist in development. After all, linters are AI as far as I am concerned. But something that writes crap in my name without explicitly drawing my attention to the fact that it is doing so is not the kind of thing that will win me over to AI.




Show Original Post


1 ...1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 ...1558
UP