FediScanner

#python

← Back

Is there anyone on the #Fedi who is involved with the #Spyder development team?

I have questions about the APIs. But I don't want to go to Instagram, X, sign onto Github, or any of the other 'I don't do that anymores' which are the only ways you can contact them.

(I'll help out with internals docs and sample code if someone answers my questions. But only if I can do it without signing onto Github.)

Whatever happened to good old mailing lists?

Please boost for reach.

#python

Show Original PostReport

#Linux #Bioinformatics #Python Hivemind, what are people using to manage their Python environments? I've done bare metal with pip. Virtual environments, anaconda, mamba, micromamba, and a little bit of uv.

But anaconda is positioning itself to try and legally snipe people for using it and uv feels like it's always an inch away from a rug pull. Thoughts? Experience? I'm due to format some machines in the next few months to start over with a fresh OS install. Trying to think ahead.

Show Original PostReport

Python Tip #218 (of 365):

Don't needlessly convert between data types.

Looping over a file once? There's no reason to convert it to a list first:

for line in my_file:
print(line, end="")

Another example: if you're looping over a set, there's no reason to convert it to a list either:

>>> colors = {'red', 'blue', 'yellow'}
>>> for color in colors:
... print(color)
...
red
yellow
blue

"for" loops don't need a list. They accept ANY iterable.

🧵 (1/2)

Show Original PostReport