python

Back Open Paginator
25.01.2026 09:12
habr (@habr@zhub.link)

Скрипты и алиасы для вашего линукса

Каждый, кто проводит в терминале больше пяти минут, сталкивается с одним и тем же: одни и те же длинные команды приходится набирать снова и снова, а рутинные действия отнимают время и внимание. Сначала терпишь, потом — начинаешь оптимизировать. Простейший алиас в .bashrc или .zshrc кажется небольшим открытием. Первый рабочий скрипт, сохранённый в ~/.local/bin , ощущается как прорыв. Это не просто про лень — это про эффективность, про оптимизацию работы. Со временем такая «мелкая оптимизация» собирается в целый личный фреймворк или набор утилит для командной строки. Это уже не пара заплаток, а твоя собственная среда, отточенная под конкретные задачи. В этой статье я хочу показать свою коллекцию таких скриптов и алиасов — не как идеальный стандарт, а как пример живого подхода. Возможно, какие-то решения окажутся полезными и вам, а главное — побудят создать что-то своё, ещё более удобное.

habr.com/ru/companies/timeweb/

#linux #оптимизация #автоматизация #python #bash #shell #скрипты #алиасы #timeweb_статьи




Show Original Post


25.01.2026 09:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Zoox is hiring Mapping Software Intern

🔧 #cplusplus #python
🌎 Foster City, California
⏰ Internship
🏢 Zoox

Job details jobsfordevelopers.com/jobs/map
#jobalert #jobsearch #hiring




Show Original Post


25.01.2026 08:05
TechKeysX (@TechKeysX@mastodon.social)

S1 EP18 Lab 6 - Machine Learning in Python - Symmetric Difference - in Python Set





Show Original Post


25.01.2026 07:33
r (@r@fed.brid.gy)

GearHead Caramel refactoring diary, the long dark night of the poor soul who is attempting to switch a 1990s style blocking game UI to a modern unblocking game AI. Yesterday I realized that there is a flaw inherent to my new widget system and there's no way to fully repair it. #GameDev #Python





Show Original Post


25.01.2026 07:33
r (@r@bsky.brid.gy)

GearHead Caramel refactoring diary, the long dark night of the poor soul who is attempting to switch a 1990s style blocking game UI to a modern unblocking game AI. Yesterday I realized that there is a flaw inherent to my new widget system and there's no way to fully repair it. #GameDev #Python





Show Original Post


25.01.2026 06:21
cheewai (@cheewai@hachyderm.io)

How to parametrize exception testing in PyTest? | Borutzki

borutzki.github.io/2026/01/15/

#python




Show Original Post


25.01.2026 06:13
AdamOnza (@AdamOnza@mastodon.online)

I got Blackbox to work in #Python. 🕶️ I played a game on just the 3rd test. 46 year old code! I tried some new tricks. EG I did use Exceptions for many gotos, while also using if statements, but I didn't use the big if elif statement, cause if statements for each important line number made more sense.

I kind of want to try making a Basic to Python translator. You know, #retrocomputing & Basic got me into #Python. I first used py to fake tape images of Basic code for a BBC Acorn emulator.🕶️




Show Original Post


25.01.2026 04:30
stib (@stib@aus.social)

I'm making a pattern for a bouldering chalkbag in Inkscape, and I was laying out the pages so that they would tile for my printer by hand, and thought to myself "this is going to take *minutes*, I bet that in only a few dozen hours I can write a script to do this automatically". So I wrote my first Inkscape extension.
It overlaps pages with optional registration marks. The extension, and the chalkbag pattern are up on my codeberg.
codeberg.org/stib/stibs_inksca
#IMadeAThing #Inkscape #Bouldering #Climbing #Sewing #Python





Show Original Post


25.01.2026 04:17
2026 (@2026@novatopflex.wordpress.com)

Hype for the Future 85D: Plans for YouTube Uploads for January 25, 2026

Overview

novaTopFlex has already scheduled the first batch of new videos and video content for the weekend series. Additional topics shall specifically cover the `os`, `sys`, and associated modules each with a checklist to ensure the proper functionality and features are represented.




Show Original Post


25.01.2026 03:48
diazona (@diazona@techhub.social)

@jonny @foone (cc @clayote) Ooh right I forgot about that! And your version is better ("better" 😛) because it even installs packages that aren't already importable.

#Python




Show Original Post


25.01.2026 03:47
kryptuxx (@kryptuxx@mstdn.social)

RandoMe: generador de nombres de usuario al estilo de las direcciones .onion: codeberg.org/kryptuxx/RandoMe

#kiss #floss #foss #python #programming #codeberg #tor #onion




Show Original Post


25.01.2026 03:41
diazona (@diazona@techhub.social)

@clayote @foone Ah you and I (and this mystery person) were thinking along the same lines

Here's my version (apologies that I do not have access to formatting on my instance):

import importlib, sys
class AutoImportGlobals(dict):
def __missing__(self, key):
return importlib.__import__(key)
exec(" ".join(sys.argv[1:]), globals=AutoImportGlobals(__builtins__.__dict__))

(I don't think this is complex enough to be eligible for copyright protection, but just in case, consider it released under CC0/public domain where applicable)

#Python




Show Original Post


1 ...595 596 597 598 599 600 601 602 603 604 605 ...1585
UP