One #python tip per day. Do you have any? Send it to https://t.co/AIPDodWr5i. Edited by @simecek, @karlafej, and... you?bit.ly/pythontipJoined February 2017
Need pandas + Jupyter for quick analysis but don't want them in your production dependencies?
uv run --with pandas --with jupyter jupyter lab
One command. Zero environment pollution. ✨
#uv#jupyter#DevTips
Two Python gems I’ve been playing with:
🔁 Tenacity – painless retry logic for anything. No more rolling your own loops + sleeps
tenacity.readthedocs.io/en/latest/
⚡ DumPy – a bold rethink of NumPy: “don’t make me think, just run (fast, on GPUs)”
dynomight.net/dumpy/
Both worth a 👀
Today I learned... `uv init` now not only creates a new Python environment but also creates
├── .gitignore
├── README.md
├── main.py
├── pyproject.toml
└── .python-version
realpython.com/python-uv/#cre…
marimo = Jupyter for serious Python work 🔥
- Pure .py files (git-friendly!)
- No more restart & run all
- Deploy as scripts OR interactive web apps
- Built-in SQL support
- Reactive cells that auto-update dependencies
marimo.io
When I started with Python, I was confused by the murky difference between variables and references. 🤔
This 👇 explains it brilliantly:
Why Python has No Variables?
medium.com/@king_star/why…
🐍 Python environments got easier!
uv is the new rust-powered packaging tool that might finally solve the XKCD-famous dependency puzzle m.xkcd.com/1987/
Quick start:
* `uv run` for most cases
* `uv venv` for virtual envs
* `uv pip` for packages (don't mix with regular…
Automate your virtualenv activation!
Using autoenv (github.com/hyperupcall/au…), you can:
1. Automatically activate virtualenv when entering a directory
2. Run ANY command when cd-ing into a folder
Example:
# Set up autoenv
echo "source venv/bin/activate" > .env
# Or run custom…
AI is changing how we code, but should it change how we teach Python? I've embraced LLMs for coding, especially with pandas, but I'm unsure if beginners should start this way.
Anyway, curious about the AI way? Try Andrew Ng's 'AI Python for Beginners': deeplearning.ai/short-courses/…
#EuroPython2024 videos are live! 📺 My top 3 ML talks:
1) "From Text to Context..." about combining semantic & traditional search
youtube.com/live/vfmS8uwT4…
2) "Scikit-LLM..." because of beginner-friendly NLP with dynamic few-shots
youtube.com/live/m1P5baHpP…
3) "Representation is…
Here's an interesting Python brainteaser that came from a member asking a question on The Python Coding Place forum…
Can you figure out why the outputs are the way they are for these two similar but not identical bits of code?
The answer gives a great insight on iterators…
#EuroPython2024 Day 1 🐷💄
Someone on Hacker News described Python type hints as "lipstick on a pig." I kind of agree, but sometimes a pig with lipstick is better than just a pig.
Jakub Beránek: Writing Python like it's Rust...
slides: program.europython.eu/media/europyth…
One package I…
147K Followers 1K FollowingA place for all things related to the #python #programming #coding #webdeveloper #webdevelopment #pythonprogramming #ai #ml #machinelearning #datascience ...
39K Followers 494 FollowingLead Software Engineer 👨💻
- Building Data and AI Apps
- Simplifying Python, Data Science, ML and LLMs ✨
- Open for Collaboration 📩
9K Followers 724 FollowingConstantly looking for simple ways to explain complex things You'll find: • Python • Narrative Technical Writing • Track & Field Athletics—Links in pinned post
10K Followers 1K FollowingSoftware developer passionate about building useful tools and helping people grow their #Python and #programming skills through @Pybites
30K Followers 794 Following🥑 Sr. Developer Advocate for @streamlit at @SnowflakeDB ▶ Data Professor on YouTube (200K+ Subs) 🎓 ex-Professor in Bioinformatics
10K Followers 1K FollowingSoftware developer passionate about building useful tools and helping people grow their #Python and #programming skills through @Pybites
43 Followers 121 Following@Leadhub_co (https://t.co/Vzkxl2UQ0O) software developer, Python, C++. This is my Twitter profile in english; for czech language, see @messa_cz.
2K Followers 2K FollowingIntermediate-level Python tutorials to help increase your breadth, depth and experience of Python Programming. Come and take your skills to the next level
7K Followers 4K FollowingGlobal leader in Data Science certification & accreditation; develops centers of excellence; official accreditor for the World Data Science Initiative.
826 Followers 866 FollowingFather of twins, life enthusiastic, curious, interested in nature, environment, science, geo-stuff and open approach to knowledge.
@[email protected]
275 Followers 787 FollowingData. Think. Change. || GapData Institute (GDI) is a nonprofit nonpartisan research institution harnessing power of data & wisdom of economics for public good.
4K Followers 4K FollowingThe Cat in the Hat Can Map This and That! #data #maps #GIS #baci #condivisione. Orgoglioso di essere presidente di @ondatait
#AutoritàCompetente
4K Followers 435 Followingمهتم بتحويل البيانات المالية إلى أفكار استثمارية ناجحة، متخصص في التحليل المالي والفني للأسهم. خبرة عالية في التقنية المالية RWA 👌متداول محترف في أسواق المال
4K Followers 773 FollowingOur mission is to equip and empower society through technology, with Python and other related technologies.
#PythonGhana #PyConGhana
216 Followers 549 Followingphree as free in... free thinking... freedom... free beer... free open source software... and all the other things that are or should be free(d).
3K Followers 2K Followingteam lead / data journo / news dev @handelsblatt • alumnus @rbb24 @nzzvisuals @ft @compjcdf @zeitonline @IJ_Online
Follow+DM, if we should work together 🤝
481 Followers 144 FollowingConectando profesionales de distintas disciplinas y el mundo de los datos y las aplicaciones tecnológicas 👩💻 👨💻 Facebook: https://t.co/xPGFa578cr
2K Followers 5K FollowingI'm not a person. I'm the @cellfreetech auto-generated updates that are kinda cool. Sometimes I'm biochemical, other times robot, or just a preeety pic...
675 Followers 1K FollowingTeaching young minds Physics, Astronomy, and Computational Science. Researcher of stellar activity in exoplanet systems . All round nerd. MSc, BEd, etc.
826 Followers 3K FollowingBsc. in Computer Science.
Agile Master/ Pega Developer/Python Enthusiast.
❤God, my family and my pets.
Hobbies: Crochet, Plants.
#PyLadies #DjangoGirls #kanban