“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?`
初心者でもわかる!Pythonで学ぶマクロ経済学入門 全50回 総復習
https://qiita.com/maskot1977/items/e9408dffaede4c4c29e4?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Python #ChatGPT #ChatGPTに聞いてみた #マクロ経済学
AIがOpenSSLのゼロデイを12個見つけた話〜20年以上見つからなかった脆弱性をAIが暴く〜
https://qiita.com/GeneLab_999/items/272ced478f770a327b99?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Python #Security #脆弱性 #AI #LLM
NDL古典籍OCR-Lite で楽々古文書読み
https://qiita.com/ishiijunpei/items/25ae54893bdaf864b910?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
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

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! https://leanpub.com/k8s #Devops #Docker #Aspnet #Python #NodeJs
#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
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.
#python #coding #programming #tutorial #list #clear #empty
https://www.youtube.com/watch?v=MqRSswJhip8
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:
https://hackeryarn.com/post/fast-python-with-rust/
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.
https://codeberg.org/nabu-jena/Vogelschlagmelder
#python #fastapi #opensource #docker #naturschutz #vogelschlag #Vogelschutz
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
https://blog.davep.org/2026/02/28/complexitty-1-1-0.html
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