python

Back Open Paginator
01.03.2026 01:11
enoch_exe_inc (@enoch_exe_inc@mastodon.social)

“If it’s stupid but works, it isn’t stupid.”

`idx = self.DATA.index(key) + 1 # Plus one because an index of 0 is possible`
`if not idx: return None`
`return idx - 1 # That’s technically a solution, right?`




Show Original Post


01.03.2026 01:03
qiita (@qiita@rss-mstdn.studiofreesia.com)

初心者でもわかる!Pythonで学ぶマクロ経済学入門 全50回 総復習
qiita.com/maskot1977/items/e94

#qiita #Python #ChatGPT #ChatGPTに聞いてみた #マクロ経済学




Show Original Post


01.03.2026 01:03
qiita (@qiita@rss-mstdn.studiofreesia.com)

AIがOpenSSLのゼロデイを12個見つけた話〜20年以上見つからなかった脆弱性をAIが暴く〜
qiita.com/GeneLab_999/items/27

#qiita #Python #Security #脆弱性 #AI #LLM




Show Original Post


01.03.2026 01:03
qiita (@qiita@rss-mstdn.studiofreesia.com)

NDL古典籍OCR-Lite で楽々古文書読み
qiita.com/ishiijunpei/items/25

#qiita #Python #Ubuntu24_04




Show Original Post


01.03.2026 00:58
ai6yr (@ai6yr@m.ai6yr.org)

Meh, anyone know how to fix illegal polygons like this in geopandas? I guess there's no fixing this though, this is someone uploading a bad fire perimeter they drew in Google Earth, no doubt. #gis #python #geopandas





Show Original Post


01.03.2026 00:00
leanpub (@leanpub@mastodon.social)

Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python by Arnaud Weil is free with a Leanpub Reader membership! Or you can buy it for $11.99! leanpub.com/k8s




Show Original Post


28.02.2026 23:40
achadwick (@achadwick@ohai.social)

#Papirus 's icon for #ReText is annoying me right now. I'll just do something about that.

By the way, is there an accepted logo for #reStructuredText anywhere, other than the LaTeX-like wordmark on Wikipedia?

#Python #YearOfTheLinuxDesktop




Show Original Post


28.02.2026 23:01
PythonPeak (@PythonPeak@mastodon.social)

Clear List via 3 Methods

Clear List via 3 Methods This content explores interesting aspects of this topic. The information provided offers valuable insights and perspectives. Understanding this reveals how everyday things are more thoughtful than they appear. Next time you'll notice this detail. This fascinating detail shows how much thought goes into things we take for granted.

youtube.com/watch?v=MqRSswJhip8




Show Original Post


28.02.2026 22:15
hackeryarn (@hackeryarn@mastodon.social)

A few weeks ago I introduced a Python library in Rust that surpassed NumPy in element wise operation performance. In this post I detail the journey and techniques used to get there:

hackeryarn.com/post/fast-pytho




Show Original Post


28.02.2026 21:47
thefish (@thefish@mastodon.social)

Der Melder an sich ist Open-Source und kann ganz einfach mit Docker aufgesetzt werden. Sollte es keine Infrastruktur geben oder IT Wissen, so können wir auch eine Instanz für die Region betreiben. Sobald diese läuft können alle weiteren Einstellungen ganz einfach über die Adminoberfläche vorgenommen werden.

codeberg.org/nabu-jena/Vogelsc




Show Original Post


28.02.2026 21:47
davep (@davep@fosstodon.org)

I just released v1.1.0 of Complexitty, my little #Mandelbrot explorer for the #terminal. This release is all about an optional method of making it faster.

#python #programming #textual #numba

blog.davep.org/2026/02/28/comp




Show Original Post


28.02.2026 21:42
WanderingInDigitalWorlds (@WanderingInDigitalWorlds@sunny.garden)

Okay, already learning that there are different ways to run Python examples. Some need to be executed as a file (using my specific Python IDE), others you need to select the specific line to make it work. Progress is being made, I should probably get started on my laundry while I learn, as I can't avoid laundry day. I already noticed a mistake in how this code was written in the lesson vs the functioning example.

What w3schools put in the lesson:

dice = random.randint(1,6)
print('You rolled a ' + str(dice))

if dice == 6:
print('You got 6!🥳')
else:
print('Try again')

An example to test that actually works:

import random

dice = random.randint(1,6)
print('You rolled a ' + str(dice))

if dice == 6:
print('You got 6!🥳')
else:
print('Try again')

-Press Run to execute the code

-Python

#Python #Learning #Programming




Show Original Post


1 ...406 407 408 409 410 411 412 413 414 415 416 ...1591
UP