python

Back Open Paginator
06.10.2025 04:57
kensuke_om (@kensuke_om@mstdn.jp)

投資で破産しないための数学:ケリー基準を理解する #Python - Qiita qiita.com/tikeda123/items/3f4d




Show Original Post


06.10.2025 04:50
jrovu (@jrovu@mastodon.social)

Project update: LingoFreq - language learning tool

Goal: Create voice audio files of high-frequency Mandarin words & example sentences

Loads high-frequency words from HSK CSV file into an , using . Then we loop over all the Mandarin words, and call to OpenAI ChatGPT to create simple example sentences. Next, we'll use ElevenLabs text-to-speech to vocalize the example sentences as audio files.

Code: codeberg.org/jro/LingoFreq-app





Show Original Post


06.10.2025 04:42
cr0n0s (@cr0n0s@social.tchncs.de)

#Python: The Documentary | An origin story :python:
🔗youtube.com/watch?v=GfH4QL4VqJ0

Enjoy!




Show Original Post


06.10.2025 03:20
ChickenPwny (@ChickenPwny@infosec.exchange)

refactoring the code and the relations between the classes. we can see the chaos become ordered.
left ordered, right chaotic

#programming #fun #hobbies #python





Show Original Post


06.10.2025 02:54
diazona (@diazona@techhub.social)

@mark @glyph @wildrikku Part of the point I was making earlier, though, is that with inline script metadata, #Python *does* now have self-contained single-file programs, or about as close as you can get to it in an interpreted language (which necessarily requires getting some sort of interpreter on your system). With the caveat that it's somewhat new technology so there are some kinks being worked out.




Show Original Post


06.10.2025 02:31
yossarian (@yossarian@infosec.exchange)

TIL: Safari has built-in WebDriver support

yossarian.net/til/post/safari-

#python #web




Show Original Post


06.10.2025 01:50
diazona (@diazona@techhub.social)

@wildrikku @mark Wait there's *another* requests library? 😵‍💫 I'm talking about this one: pypi.org/project/requests/

I'd add that I think one of the emerging strengths of Python is how easy it makes it to use dependencies, especially with inline script metadata (packaging.python.org/en/latest). So the reasons to avoid dependencies are getting less and less relevant, and people who dogmatically insist on avoiding dependencies without a good reason - not saying that's you, but those people are out there - appear increasingly out of touch with modern best practices.

That being said, I still think it'd be a big improvement if the Python stdlib included better-designed URL handling modules, but realistically, I don't think that's going to happen. It's just that, because of the rich third-party library ecosystem, that's not as big of a problem as it would otherwise be.

#Python




Show Original Post


06.10.2025 01:47
emilyselect (@emilyselect@mastodon.social)

R言語入門6~Googleコラボラトリで学ぶ if文と再起呼び出し

emilyselect.com/r%e8%a8%80%e8%





Show Original Post


06.10.2025 01:25
pythonbrasil (@pythonbrasil@pynews.com.br)

Tutorial

Começando com FastAPI: construa sua primeira API em Python - Felipe de Morais

Aprenda a criar sua primeira API com FastAPI! Neste tutorial para iniciantes, você vai construir uma API REST do zero usando Python de forma prática e descomplicada.

#python #bolhadev #pythonbrasil #pybr2025





Show Original Post


06.10.2025 01:15
leanpub (@leanpub@mastodon.social)

7 Course-Bundle: Shut Up and Code Python + PyCharm + Coding Interview + Machine Learning + One-Liners + Regex + Lambdas leanpub.com/set/leanpub/7cours by Christian Mayer, Lukas Rieger, and Shubham Sayon is the featured Track on the Leanpub homepage! leanpub.com




Show Original Post


06.10.2025 00:20
objects (@objects@ublog.byme.at)
The real estate developer of the building where I am going to live have a website where you can find morning & evening photos of the site for every date since the start of the project.
So I wrote some #Python to download all these photos.



Show Original Post


05.10.2025 23:49
diazona (@diazona@techhub.social)

@wildrikku To be fair, the URL handling is a particularly poorly structured portion of the #Python standard library. (Partly because the documentation for `HTTPResponse` lives at a very non-obvious place, docs.python.org/3/library/http)

Most people just use external libraries like `requests` or `httpx`, which are much easier to use than the standard library's `urllib`; I would recommend that.




Show Original Post


1 ...1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 ...1559
UP