Daily Python Snippet @python_snippets
Not a bot. Daily curated Python snippets and tips for new and experienced Python developers. Tweet your best snippets! Joined July 2015-
Tweets64
-
Followers120
-
Following402
-
Likes102
Robert Wilson's top 5 Python modules of 2015. My favorite - tqdm - adds a progress bar with only one line of code. j.mp/1Vd71Zz
Using mocks? Read this! engineeringblog.yelp.com/2015/02/assert… Everyone has this. :-(
Ever wanted to use a GOTO statement in your Python code? Now it's possible! Insane decorator patches your bytecode: j.mp/1OKLy9c
TIOBE Index for September 2015: j.mp/1KnyowT
Whoa, Python is ahead of PHP on the Tiobe index now?! :-)
Yeah, so Python 3.5.0 is really out! python.org/downloads/rele… Thanks all Python core contributors!
It's today! Tickets will be on sale at 3pm UTC! Yay! Check time here: time.is/compare/1500_1…. See you in November! 🚗🎸
Thinking about organizing a #DjangoGirls event in your city, but not sure what's involved? There's a manual for that! organize.djangogirls.org
IPython 4.0 is out, completing the initial transition to Jupyter blog.jupyter.org/2015/08/12/fir…
A great decorator that retries a function until it returns True. Configurable retries, delay & exponential backoff: j.mp/1IBAi8P
Want to memoize (see previous tip) in Python 2? The memoized class is very convenient. Snippet from the Python wiki: j.mp/1MVzhPc
Memoizing your Python function? Python 3 has the functools.lru_cache decorator. j.mp/1IBz90T
#python tip: In Python 3, you can simulate the Python 2 cmp(a,b) function with: (a > b) - (a < b)
Decode HTML entities in #Python string j.mp/1MVx1HE Thanks @PythonDaily!
"The __init__.py files are required to make Python treat the directories as containing packages"
Create multiple independent iterators from a single iterator using itertools.tee. Partitioning a collection: j.mp/1MVvZeK
#python tip: s.rstrip() # remove all whitespace (spaces, tabs, newlines, etc) s.rstrip(' ') # remove only space characters
#python tip: The str.startswith() and endswith() methods support an argument tuple: supported = url.endswith(('.html', '.xml', '.css'))
You can modify globals(), but never locals(). You can modify x locally using exec("x=y"), but only in Python 2, not 3 j.mp/1hifQ68
yxa @yxa74
18 Followers 3 Following
Srikanth | AI Backend... @Srikanth_lomte
48 Followers 308 Following AI Backend Engineer | Building intelligent agent systems & high-quality code datasets for LLMs .Passionate about xAI & Macrohard
WY518276285242 @wy518276285242
44 Followers 4K Following
DP @Dharaneendra26
82 Followers 816 Following
🇮🇪 DestroyTheCu... @CultDestroy
924 Followers 2K Following Battling the forces of evil, one tweet at a time.
Mystery in Motion @UnbackedMuff1n
22 Followers 149 Following I love learning, playing my drums, guitar, and making music, practicing card sleight-of-hand. When not at it, I’m hanging with my flock of Narragansett turkeys.
Eslam Shokr @Eeshokr
1 Followers 25 Following
JazzAlaam @JasJraalam
21 Followers 682 Following
Dzelamonyuy Hans @DzelamonyuyHans
1 Followers 130 Following
Stefanos Georgopoulos @SigmaGi
263 Followers 366 Following Father of a son, g(r)eek, living dangerously pushing branches direct to prod, main dev @ https://t.co/lGtLGDej4k, opencaster@fau
Gibran de Leon @GibrandeLeon
138 Followers 921 Following
Johann Haberl @HaberlJohann
1 Followers 51 Following
prabhleen sharma @PrabhleenSharma
67 Followers 2K Following
elisajonte @elisajonte
0 Followers 29 Following
∫𝘮𝖼² 𝗱�... @LCTTA
753 Followers 948 Following (L)earning (C)ritical (T)hinking (T)hrough (A)stronomy. Colorful, coordinate-free. I inhabit the cotangent space. GenX/TeX/LaTeX/Python @[email protected]
Michael Abehsera @mikeabehsera
22 Followers 91 Following Founder of https://t.co/kCAxtSchbS, helping employees earn more money at their job using AI.
Zia Khan @KhanZia2022
240 Followers 1K Following #Marwat #ITProfessional #programmer #DataScientist #CloudEngineer @uni_of_essex
Adi Onmrozik @ohydek_szalej
158 Followers 2K Following Stary gracz w kąkuter, lubię w VR. Krew czerwona, serce z lewej strony. on/jego he/him Aborcja Bez Granic ✨ 22 29 22 597 ✨
Richard Tom @Richard99772832
1 Followers 79 Following
Nudo Gordiano De Moeb... @86Amador
35 Followers 791 Following Ayúdame, barón de Münchhausen o tú, espada de Damocles. 🍌🐒
3DVRealms @3DVRealms
9 Followers 184 Following
SebJP @SebJjj
1 Followers 97 Following
Karsten 🇺🇦💔 @Opitt_tweets
7 Followers 99 Following
💻🖱️ Ing. Lugo @gErmO18
967 Followers 5K Following #Ingeniero #Computación 💻 #UNAM 🇲🇽 | Software ⌨ | Geek 😎 | Tech | Melómano 🔊| Party
ai/ml @spyderinterface
3 Followers 2K Following
Patricio Soto @patosotok
31 Followers 251 Following
Beyourself @Beyourself577
3 Followers 71 Following
Valerie Lambert @ValerieLambert
956 Followers 2K Following Award-winning fundraiser, speaker & consultant, specializing in Annual Giving.
Armon P. @armon_p
114 Followers 204 Following Given whatever mystery, I would be glad to find a solution. Nature is full of mysteries. And what is mysterious is beautiful. But solving a mystery is awesome.
AI Sciences @AISciencesLearn
3K Followers 4K Following Follow for daily #AI related posts. 🚀 Visit #AISciences in Udemy for #machinelearning and #python courses! #DataScience #ArtificialIntelligence #LearnMore
D3V3L0P3R @D3V3L0P3R1
3 Followers 45 Following Backend Dev - C#, Python, PHP and a bit of Java - Machine learning - DevOps - k8s - Still stuck on VanillaJS - Both Windows and Linux - Azure, Heroku, GC, AWS
tobias olenyi @t03i_o
0 Followers 1K Following
F. B. R @Qliphot
48 Followers 685 Following
tim gronkowski @tgronk
556 Followers 2K Following SVP Engineering @phenixrts Guitar @thewoollyrhinos
Bill Júnior @jjr3081
32 Followers 565 Following Senior Cybersecurity, Compliance and Risk Professional by day,FullStack Software Engineer by night.👌👌👌
S and C @Sport__Science
45 Followers 534 Following Follower of sport science, any and all views are my own and not associated with any organisation
Cavein Muthua @JohnMuthua1
3 Followers 59 Following
Mauro Mantelli @MauroYellow46
14 Followers 118 Following
DHILIPKUMAR @DHILIPK95545533
5 Followers 166 Following
Bharathi 🇮🇳 @Indian4everJai
10 Followers 202 Following
Tiffany Tai @tifftai24
46 Followers 283 Following I want to build things & play squash. Laughing and dancing are great too. I judge BBQ contests. Time @dartmouth DB @TrueBridgeCP @dropbox @invisionapp
Sage Sharp @sphakos@t... @_sagesharp_
6K Followers 1K Following Diversity & inclusion @conservancy. Runs @outreachy internships. CoC training @ottertechllc. Django dev. Trans, ace, poly. They/them. Header by @tlkateart
Nandini Ramani @eyeseewaters
4K Followers 1K Following @awscloud Alum @Outcomehealth @Twitter @Oracle
Necemon Yai @NecemonYai
3K Followers 3K Following Retired. Ex Senior Software Engineer. Ex Investment Banking Consultant. Ex Microsoft Certified Professional Solution Developer. Ex Christite.
Ivan Kravets @ikravets
2K Followers 97 Following Ph.D., Inventor, CEO at PlatformIO Labs – Make embedded developers & teams happy
NAO ()° .°) by Maxt... @NaoRobot
14K Followers 4K Following I'm NAO, the programmable humanoid robot created by Aldebaran, and now adopted by Maxtronics (FR), part of Maxvision Technologies (CN)
Yuri Prezument @yprez
3K Followers 3K Following Building tools for better software quality. Founder of BPWorkflow. Building https://t.co/hizRMcPcsg
Atish Davda @adavda
2K Followers 31 Following 1st engineer & CEO @EquityZen // quant + investing + tennis + traveling // https://t.co/8EBZj0IGjE
Peter Nystrom @cpeternystrom
89 Followers 575 Following Polyglot developer obsessed with automation, MtG Player, Miniatures painter/sculptor, Unintentionally over-opinionated jackass trying to be a good person
Python Jobs @pythonjobsboard
810 Followers 2K Following Find the perfect Python Job Facebook: https://t.co/NiVs3jpSwo
Machine Learning and ... @ML_NLP
55K Followers 3K Following We share news, discussions, videos, papers, and tutorials related to Machine Learning and NLP. Subscribe on Reddit!
ODSC (Open Data Scien... @_odsc
111K Followers 24K Following Bringing together the global data science community to help foster the exchange of innovative ideas and encourage the growth of open source software.
TheWebMate @TheWebMate
1K Followers 1K Following Digital inspirations and tips to grow your business! Check out the link and learn how to start your online business
Randy Olson @randal_olson
112K Followers 28K Following Co-Founder & CTO @GoodeyeLabs. Pointing frontier AI at the outcomes that actually matter. AI & ML researcher. Data viz aficionado. 15+ years building AI.
LadiesInTech @Ladies_inTech
355 Followers 145 Following Vision: To build a safe, inspiring and empowering community for women in tech.
Adebayo Damilola @GoshenSoftInc
146 Followers 362 Following Senior Software Engineer @fridayfinance Ex-Andelan.
Blessing 👩🏽�... @blessingoraz
1K Followers 881 Following Software Engineer at @unibet. I work on tech stuff. I wrote about my VR journey on https://t.co/JpLYrIIrdj
Olaide Agboola @lydexx
332 Followers 74 Following
Ionel C. Mărieș @ionelmc
406 Followers 92 Following Blogger and open-source enthusiast that loves Python.
Erik Rose @ErikRose
1K Followers 48 Following Compiler author, language designer, award-winning open-source maintainer, Pythonista. Former Google, Mozilla, startups.
Hermanni Hyytiälä @hemppah
16K Followers 12K Following Organisaatioiden, digitalisaation ja häiriökysynnän ilmiön asiantuntija.
Paul Graham @paulg
3.5M Followers 794 Following
Tobias Gustafsson @GustafssonT
17 Followers 168 Following
Patrícia Estevão @patestevao
2K Followers 214 Following UX Designer focused on user security and privacy
Runscope @Runscope
6K Followers 1K Following A @CAinc company. Solve API problems fast with API performance monitoring. Everything is going to be 200 OK®
@[email protected]... @gertvdijk
3K Followers 4K Following IT dev/security/ops 🤓 — tweets in NL&EN — also combating disinfo here 🧹 — Qmoron/covidiot/malicious=block 🚫 — 🏳️🌈 but 🤷♂️ — @[email protected]
Python Barcelona @PyBCN
4K Followers 647 Following PyBCN is a non-profit association focused on #Python. We do monthly meetups, workshops & practice sessions, along with #PyDataBCN, #PyDayBCN, #DjangoGirlsBCN
Hao Chen @haozch
101 Followers 428 Following Architect @eBay • Committer and PMC @TheApacheEagle • Tweets are my own opinions • 陈浩
Godefroid Chapelle @__gotcha
873 Followers 2K Following Python and Plone consultant and developer. Life would not be that cool without family, Brittany, birds, singing, chocolate, running… and #bitcoin.
刘太华 @defage
25 Followers 209 Following
Gloria Bianchi @Gloria_Bianchi
33 Followers 134 Following
Pivotal Tracker @pivotaltracker
9K Followers 31 Following Simple, effective product management for cross-functional agile teams.
chadwick rolfs @chadwickrolfs
6 Followers 29 Following Drummer; Musician; Audio Engineer; Open Source Enthousiast; Belgian born in a land I have renounced; Beer Brewer
PyCon AU @PyConAU
4K Followers 83 Following Australia's conference for the Python programming community. Returning to Melbourne in 2024. Also on the fediverse: https://t.co/IRNUd9q1G1
Tom Brander @dartdog
2K Followers 2K Following Machine learning and AI consulting, Open Software, Python, Django, Data Analysis, IT and Real Estate Consulting, Also at https://t.co/u4Nt3lCs8M
Dougal Matthews @d0ugal
1K Followers 129 Following Dad. Gopher. Pythonista. Speaker. @pythonglasgow (dis)organiser. Engineer at @grafana. Formerly @imaginecurve, @Canonical and @RedHat Also @[email protected]
























