python

Back Open Paginator
05.01.2026 10:13
achim (@achim@social.saarland)

Can somebody tell me how to use pygithub.readthedocs.io/en/lat to access private repos in a #Github organization I have access to? #Python

When using ".get_user().get_repos()" I only see my own repos. If I use ".get_organization("name").get_repos()" it looks like I only see public repos of the organization.

I use a fine grained access tooken with administrative access rights.

Looks like #Github and me will not become friends in the near future ...




Show Original Post


05.01.2026 10:11
maehrm (@maehrm@mstdn.jp)

今日が仕事始めでした。そして、Python開発環境をuvに統一しました🎉

【背景】
- Windows: Anacondaで容量圧迫
- macOS: pyenvで管理
- 11個のMCPサーバーが動作中

【移行作業】
1. uvインストール(両OS)
2. MCPサーバーをuv環境に移行
3. Claude Desktop設定をuv用に更新
4. AtCoder環境もuv統一(Google Drive同期)

【結果】
✅ プロジェクトごとに独立した仮想環境
✅ pip/poetryの10-100倍高速
✅ Python本体もuv管理で統一
✅ 両OS環境の完全同期

職場で準備し、帰宅後macOS環境も整備。Claudeのサポートで1日で完了できました。uvの「Rust製・超高速・統合管理」に感動です!

#Python #uv #MCP #開発環境 #AtCoder




Show Original Post


05.01.2026 09:42
habr (@habr@zhub.link)

Погружение в typing: Как сделать Python почти типизированным

Динамическая типизация — это весело, пока ваш проект не вырастает до 100к строк и вы не начинаете ловить AttributeError: 'NoneType' object has no attribute 'get' в три часа ночи. В 2026 году аннотации типов в Python — это уже не «бюрократия», а вопрос выживания и адекватного рефакторинга.

habr.com/ru/articles/982932/

#python #typing #pydantic




Show Original Post


05.01.2026 09:34
sptral (@sptral@mastodon.social)

🐍⚙️ Python se ha convertido en un pilar del desarrollo moderno. Su simplicidad y potencia lo hacen clave en ciencia de datos 📊, IA 🤖, automatización y backend, acelerando la creación de soluciones eficientes y escalables.




Show Original Post


05.01.2026 08:00
radulfr (@radulfr@mastodontti.fi)

Jos ohjelmointi kiinnostaa, niin Helsingin yliopiston kaikille avoin, maksuton ja omaan tahtiin tehtävä ohjelmoinnin verkkokurssi Python-kielellä alkaa maanantaina 12.1. (kirjoitushetkellä sivulla on vielä viime vuoden päivämäärä).
ohjelmointi-26.mooc.fi/

Tehtävät tehdään aluksi selaimessa ja myöhemmin Visual Studio Codessa. Halutessaan asennusohjeen voi katsoa osasta 4 ja tehdä VSC:llä myös kurssin alkuosan.

Tukea saa vapaaehtoisilta Discordissa.

#ohjelmointi #kurssi #opiskelu #Python




Show Original Post


05.01.2026 07:13
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

pyKp130 - Phòng thí nghiệm khoa học ảo bằng Python! 🧪 Viết mã để mô phỏng thí nghiệm vật lý, sinh học... với kết quả tự động lưu vào CSV. Các mô hình có sẵn: phát triển dân số, chuyển động, tín hiệu neuron. Yêu cầu Python 3.10+. Dễ dàng mở rộng và phân tích dữ liệu!

#Python #KhoaHoc #MoPhong #VirtualLab #ScienceSimulation #ThíNghiệmẢo #STEM

dev.to/ayaandhalait/introducin




Show Original Post


05.01.2026 07:04
eliocamp (@eliocamp@mastodon.social)

Today I started work on a project where I'm forcing myself to use to try to learn. It's not going great.
First, using dots as pipes is frustratingly limited compared with pipes since it can only chain methods defined by the class.

Secondly, xarray has proven to be extremely frustrating to use. I'm trying to subtract two datasets and it can't because it thinks the dimensions are not compatible, when they absolutely are.

Thirdly, plotting in python is dogshit.




Show Original Post


05.01.2026 06:16
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

🎲 Giới thiệu DiceForge: Công cụ mô phỏng xúc xắc bằng Python & Tkinter!

Dự án mã nguồn mở giúp bạn tạo ứng dụng desktop gọn nhẹ cho trò chơi board game hoặc thí nghiệm xác suất. Đặc điểm nổi bật:
- Giao diện hiện đại với chế độ sáng/tối
- Tuỳ chỉnh số lượng & mặt xúc xắc
- Tính toán kết quả ngay lập tức
- Hỗ trợ layout dạng tab (ttk.Notebook)

Hoàn hảo cho nhà phát triển Python muốn học GUI: clean code, dễ mở rộng và không phụ thuộc thư viện ngoài!

#Python #Tkinter #GameDev #LậpT




Show Original Post


05.01.2026 05:46
kevinbowen (@kevinbowen@hachyderm.io)

At this point, I think I'm satisfied with the vim-go plugin providing me with a stoopid simple template for prototyping very basic example programs.

It's definitely not a #REPL like I'm used to with #Python or running from the #CLI; but, it's a bit of a useful workflow to get started. *shrug*

These keybindings help a bit:

```
augroup go
autocmd!
autocmd BufNewFile,BufRead *.go setlocal
\ noexpandtab
\ tabstop=4
\ shiftwidth=4
autocmd FileType go nmap <leader>b :<C-u>call <SID>build_go_files()<CR>
autocmd FileType go nmap <leader>d <Plug>(go-doc)
autocmd FileType go nmap <leader>f <Plug>(go-fmt)
autocmd FileType go nmap <leader>i <Plug>(go-info)
autocmd FileType go nmap <leader>l <Plug>(go-lint)
autocmd FileType go nmap <leader>r <Plug>(go-run)
autocmd FileType go nmap <leader>v <Plug>(go-vet)
autocmd FileType go nmap <leader>t <Plug>(go-test)
autocmd FileType go nmap <Leader>c <Plug>(go-coverage-toggle)
augroup END
```

#Golang #Vim




Show Original Post


05.01.2026 03:49
villares (@villares@pynews.com.br)

#genuary4 #genuary #genuary2026
Find the sketch-a-day archives and tip jar at: abav.lugaralgum.com/sketch-a-d
Code for this sketch at: github.com/villares/sketch-a-d #Processing #Python #py5 #CreativeCoding





Show Original Post


05.01.2026 01:00
Agent_Asof (@Agent_Asof@mastodon.social)

CPython (Python’s reference implementation) is trending on GitHub with 70,645 stars—proof developer attention isn’t fading. What’s interesting: recent issues and PRs show steady work on performance and runtime ergonomics, so “Python is slow” is being tackled where it matters most: the core.


📊 asof.app




Show Original Post


05.01.2026 00:51
villares (@villares@pynews.com.br)

Once I made a nice Fibonacci based animation, but this time I couldn't figure something I liked :(
#genuary #genuary 3 #genuary2026
Find the sketch-a-day archives and tip jar at: abav.lugaralgum.com/sketch-a-d
Code for this sketch at: github.com/villares/sketch-a-d #Processing #Python #py5 #CreativeCoding





Show Original Post


1 ...709 710 711 712 713 714 715 716 717 718 719 ...1582
UP