python_tip Profile Banner
Daily Python Tip 🐍🐧 Profile
Daily Python Tip 🐍🐧

@python_tip

Followers
40K
Following
1K
Media
492
Statuses
2K

One #python tip per day. Do you have any? Send it to https://t.co/AIPDodWr5i. Edited by @simecek, @karlafej, and... you?

Joined February 2017
Don't wanna be here? Send us removal request.
@python_tip
Daily Python Tip 🐍🐧
1 month
I just discovered Behind the Commit podcast! 🎧 (hosted by Mia BajiΔ‡ πŸŽ™οΈ) First two episodes feature Python release managers Hugo van Kemenade (3.14&3.15), Pablo Galindo Salgado (3.10&3.11), Łukasz Langa (3.8&3.9) and FastAPI creator SebastiΓ‘n RamΓ­rez https://t.co/zeV1KbKUbH
Tweet card summary image
open.spotify.com
Podcast · Mia Bajić · Meet the people shaping open-source across Europe and beyond! Have you ever wondered who the people are behind the open source technologies you use every day? Behind the Commit...
0
1
5
@python_tip
Daily Python Tip 🐍🐧
2 months
I once told at a conference dinner: "I’ve got a PhD, but 90% of my work is just applying @fastdotai stuff" A senior researcher nodded: "Same" πŸ˜… So when the new course dropped, I needed ~60s to subscribe (2-wk refund) https://t.co/HFTjy6uJ7f 15% off (and yes, I get 15% too)
Tweet card summary image
solve.it.com
An antidote to AI fatigue - created by Jeremy Howard and the team at AnswerDotAI.
0
0
1
@python_tip
Daily Python Tip 🐍🐧
2 months
Python 3.14 is here! πŸŽ‰ Highlights: free-threaded CPython (PEP 779), deferred annotations (PEP 649), t-strings (PEP 750), multiple interpreters (PEP 734), zstd module (PEP 784), faster UUID + nicer errors. Time to upgrade & test. #Python #Py314 https://t.co/409ww1zDE9
Tweet card summary image
python.org
The official home of the Python Programming Language
0
4
7
@python_tip
Daily Python Tip 🐍🐧
4 months
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
1
1
14
@python_tip
Daily Python Tip 🐍🐧
4 months
Two Python gems I’ve been playing with: πŸ” Tenacity – painless retry logic for anything. No more rolling your own loops + sleeps https://t.co/2uB7TzHYah ⚑ DumPy – a bold rethink of NumPy: β€œdon’t make me think, just run (fast, on GPUs)” https://t.co/eZmy0S8akM Both worth a πŸ‘€
Tweet card summary image
dynomight.net
reject clever
0
0
6
@python_tip
Daily Python Tip 🐍🐧
4 months
Today I learned... `uv init` now not only creates a new Python environment but also creates β”œβ”€β”€ .gitignore β”œβ”€β”€ https://t.co/5YvRzH2H49 β”œβ”€β”€ https://t.co/QnZWl1sVHO β”œβ”€β”€ pyproject.toml └── .python-version https://t.co/RB8U6HQOO6
Tweet card summary image
realpython.com
Learn how to create and manage your Python projects using uv, an extremely fast Python package and project manager written in Rust.
0
5
26
@python_tip
Daily Python Tip 🐍🐧
6 months
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 https://t.co/9wEcj8Qt3E
Tweet card summary image
marimo.io
Explore data and build apps seamlessly with marimo, a next-generation Python notebook.
1
2
28
@MagnesiacoreMan
MagnesiacoreGuy
3 months
Magnesiacore. Indoor Pool Drywall and Ceilings is a True Marine Wallboard. When it comes to indoor pools, natatoriums, or other enclosed spaces with high humidity and the moist chemical exposure it entails, you need a construction board that can withstand these elements.
20
46
250
@python_tip
Daily Python Tip 🐍🐧
11 months
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? https://t.co/2CvDPJBnVW
medium.com
don’t panic, every language has variables and python is no exception in that but why some peoples say python has no variables it has names…
0
0
4
@python_tip
Daily Python Tip 🐍🐧
1 year
Happy (20 + 25)**2 Happy sum(i**3 for i in range(10)) Happy sum(i for i in range(10))**2 #HappyNewYear!
0
1
5
@python_tip
Daily Python Tip 🐍🐧
1 year
MarkItDown = a tool from Microsoft to convert Word / Excel / PPT / PDF... to Markdown https://t.co/oAfDVL9n5J
Tweet card summary image
github.com
Python tool for converting files and office documents to Markdown. - microsoft/markitdown
19
487
3K
@python_tip
Daily Python Tip 🐍🐧
1 year
This is neat! Instead of writing scraping methods yourself, provide a few examples and let `autoscraper` to do it for you. https://t.co/l6oekcIy56
Tweet card summary image
oxylabs.io
Learn how to use Python for building a web scraper that automatically acquires data at set periods.
@rohanpaul_ai
Rohan Paul
1 year
If you want to automatically scrape a website with Python, use `autoscraper` πŸ’‘ Its almost magical πŸͺ„ - Instead of writing the scraping logic manually, you provide a few sample values you'd like to scrape, and `autoscraper` will deduce the scraping rules for you. It learns the
1
4
52
@TheFellowship
The Fellowship
8 months
Right now, Righteous Gentiles like YOU can dispel the darkness with blessings of light. Your emergency gift of any amount today can bring hope for the Holy Land tomorrow. Give safely NOW!
149
74
418
@python_tip
Daily Python Tip 🐍🐧
1 year
🐍 Python environments got easier! uv is the new rust-powered packaging tool that might finally solve the XKCD-famous dependency puzzle https://t.co/ZEpCBDyL0r Quick start: * `uv run` for most cases * `uv venv` for virtual envs * `uv pip` for packages (don't mix with regular
0
2
10
@python_tip
Daily Python Tip 🐍🐧
1 year
Automate your virtualenv activation! Using autoenv ( https://t.co/YvfaeIpWTg), 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
Tweet card summary image
github.com
Directory-based environments. Contribute to hyperupcall/autoenv development by creating an account on GitHub.
0
1
6
@python_tip
Daily Python Tip 🐍🐧
1 year
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':
Tweet card summary image
deeplearning.ai
Learn Python programming with AI assistance. Gain skills in writing, testing, and debugging code efficiently, and create real-world AI applications.
0
2
9
@python_tip
Daily Python Tip 🐍🐧
1 year
"Tired of scrolling through Jupyter notebooks on GitHub? Try https://t.co/YRPCps1rn7: πŸ‘‰ Just replace 'github' with 'nbsanity' in the URL to get much cleaner view πŸ”— For example https://t.co/8jDQNWiOhh #JupyterNotebook
Tweet card summary image
nbsanity.com
A modern way to view public Jupyter notebooks on GitHub
0
1
7
@python_tip
Daily Python Tip 🐍🐧
1 year
#EuroPython2024 videos are live! πŸ“Ί My top 3 ML talks: 1) "From Text to Context..." about combining semantic & traditional search https://t.co/YlucuzVb4T 2) "Scikit-LLM..." because of beginner-friendly NLP with dynamic few-shots https://t.co/8zfQEXcif0 3) "Representation is
0
1
7
@s_gruppetta
Stephen Gruppetta
1 year
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…
4
9
56
@python_tip
Daily Python Tip 🐍🐧
1 year
Use "named constructors" to create multiple ways to initialize objects class PaperSize: @classmethod def iso_a4(cls): return cls(210, 297) def __init__(self, width_mm, height_mm): self.width_mm = width_mm self.height_mm = height_mm
2
1
12
@python_tip
Daily Python Tip 🐍🐧
1 year
Still digesting #EuroPython2024, but #DjangoConEU 2024 videos just appeared on YouTube! https://t.co/LKWwDq4fQS My favorites: - AnΕΎe's "Django, SQLite, and Production" https://t.co/FSsZDrwJja - @scriptogre's "Functional Chatbots" tutorial (not on YT)
0
1
5
@python_tip
Daily Python Tip 🐍🐧
1 year
#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: https://t.co/sN2SQSKUHl One package I
0
1
9