python

Back Open Paginator
10.01.2026 14:58
novaTopFlex (@novaTopFlex@mastodon.social)

The following code should work to test for the platform:

if sys.platform == "linux":
print(True)
else:
print(False)




Show Original Post


10.01.2026 14:52
novaTopFlex (@novaTopFlex@mastodon.social)

If the `sys.platform` is a different UNIX-like operating system not listed in the default recognized options in the programming language, then the platform name is determined by the lowercase `uname -s` followed by the first part of the version `uname -r` prior to the first "." in the version control system.




Show Original Post


10.01.2026 14:49
novaTopFlex (@novaTopFlex@mastodon.social)

In the programming language, `if` statements and `for` statements can get very similar. However, the specific differences between `if` and `for` loop constructs contain examples such as `for i in range(a,b): ` as opposed to `if []:`.




Show Original Post


10.01.2026 14:47
novaTopFlex (@novaTopFlex@mastodon.social)

With , `os.name` specifically refers to either `posix` or `nt` depending on the system, while `sys.platform` is a finer option for defining particular operating systems. `os.uname()` is a uname-style command available on the `os` module in the language alongside the aforementioned `os.name`.




Show Original Post


10.01.2026 14:36
isazajuancarlos (@isazajuancarlos@mastodon.social)

Impulsa tu negocio con automatización inteligente. Ofrecemos desarrollo de MVPs, integración de IA y scripts personalizados en Python. Transforma tus ideas en soluciones reales. Contáctanos para cotizar. .

🔗 xiliux.com





Show Original Post


10.01.2026 14:23
HerraBRE (@HerraBRE@mastodon.xyz)

I just came across this page: docs.python.org/3/deprecations

This is the #Python project proudly announcing which things they plan to break.

I guess it's nice of them to let people know. But I think it would be nicer to, you know, maybe just not break stuff.

Crazy idea, I know. I'm cooky like that.




Show Original Post


10.01.2026 14:00
lobsters (@lobsters@mastodon.social)

How Reddit Migrated Comments Functionality from Python to Go via @tiff lobste.rs/s/l4nfpd
blog.bytebytego.com/p/how-redd




Show Original Post


10.01.2026 13:59
clonbg (@clonbg@masto.es)

Aprender Django myblog.clonbg.es/aprender-djan #Programación #Python clonbg.es





Show Original Post


10.01.2026 13:32
ENTERCO (@ENTERCO@mastodon.social)

Aprende Python con respaldo oficial. Microsoft lanza su certificado profesional con opción de inscripción gratis 💻

enter.co/chips-bits/microsoft-




Show Original Post


10.01.2026 13:09
qiita (@qiita@rss-mstdn.studiofreesia.com)

医療費控除の入力が面倒すぎたので、Pythonだけで「ACCESS風」ローカル入力ツールを作った
qiita.com/iasou24/items/ec8070

#qiita #Python #Antigravity




Show Original Post


10.01.2026 12:44
davep (@davep@fosstodon.org)

I’ve written a wee blog post about obs2nlm blog.davep.org/2026/01/10/obs2

#python #obsidian #notebooklm #llm




Show Original Post


10.01.2026 12:35
sayzard (@sayzard@mastodon.sayzard.org)

[metacode - 액션 코멘트 표준화를 위한 선언적 주석 언어와 파서

Metacode는 Python 생태계에서 다양한 도구들이 사용하는 특수 주석을 표준화하기 위한 선언적 주석 언어와 파서를 제안합니다. 이를 통해 액션 코멘트의 혼란을 해소하고, 주석의 구조화와 효율적인 처리를 지원합니다. 이 라이브러리는 주석의 표준화, 여러 도구에 대한 주석의 동시 처리, 선택적 파싱 기능 등을 포함하며, 타 언어로의 확장도 가능합니다.

news.hada.io/topic?id=25701

#metacode #python #annotation #code_standards #parsing




Show Original Post


1 ...678 679 680 681 682 683 684 685 686 687 688 ...1584
UP