#wtfpython search results
Python question, What's the cleanest way to call `__greet()` from inside the `run` method. def __greet(): print("wtf") class C: def run(self): __greet() #Python #wtfpython
>>> a = 1 >>> b = 1 >>> c = 1337 >>> d = 1337 >>> a is b True >>> c is d False #wtfpython
Now in Chinese too! #wtfpython
wtfpython-cn - wtfpython的中文翻译/施工结束/ 能力有限,欢迎纠错 github.com/leisurelicht/w…
This just burns my eyes: a = type('',(),{}) a.b = 3 #whypython #wtfpython
#wtfpython is now available in German too github.com/BenSt099/wtfpy… 🙌
"What the f*ck Python" now available in Vietnamese too! Thanks to github.com/vuduclyunitn/w… 🎉 #python #wtfpython
#WTFPython date.strftime('%d/%m/%Y') : strftime does not work for year before 1900.
Guess what will be the result of the following line: >>> {True: "Hello", 1: "Good night", 1.0: "Bye"} #wtfpython
안녕하세요 세계! Thanks to all the contributors of github.com/buttercrab/wtf… #wtfpython is available in Korean now 🎉:)
Opted for #GitCoin grants for #WTFpython, been maintaining it for 5 years now. Will reinvest funding received into expanding the scope project and supporting other projects/contributors that WTFPython depends on. So yes, please have a look! :) gitcoin.co/grants/6268/wt…
#wtfpython is now available in Russian as well, thanks to @frontdevops 🙌 Check it out at github.com/frontdevops/wt…
For everyone doing the #100DaysOfCode challenge right now. If you really think you know Python, think once more! Check out this repo. #wtfpython github.com/satwikkansal/w…
If you really think you know Python, think once more! Check out wtfpython github.com/satwikkansal/w… #python #wtfpython 🔥🤯
I have some #Python scripts for my newsletter. Last week everything worked fine, this week "ModuleNotFoundError: No module named 'bs4'" #WTFPython
Just because you CAN cram 10 different operations, including file I/O into a single list comprehension, doesn't mean you should #wtfPython
In Python, with either MySQLdb or mysql.connector, if you run the same SELECT statement twice, even with a new cursor, you will get the same (cached) result. You need to commit, rollback, or reconnect to the DB to get fresh results. The consequences are disastrous... #WtfPython
I have some #Python scripts for my newsletter. Last week everything worked fine, this week "ModuleNotFoundError: No module named 'bs4'" #WTFPython
#wtfpython is now available in German too github.com/BenSt099/wtfpy… 🙌
#wtfpython is now available in Russian as well, thanks to @frontdevops 🙌 Check it out at github.com/frontdevops/wt…
Opted for #GitCoin grants for #WTFpython, been maintaining it for 5 years now. Will reinvest funding received into expanding the scope project and supporting other projects/contributors that WTFPython depends on. So yes, please have a look! :) gitcoin.co/grants/6268/wt…
안녕하세요 세계! Thanks to all the contributors of github.com/buttercrab/wtf… #wtfpython is available in Korean now 🎉:)
This just burns my eyes: a = type('',(),{}) a.b = 3 #whypython #wtfpython
If you really think you know Python, think once more! Check out wtfpython github.com/satwikkansal/w… #python #wtfpython
Hola amigos! @JoseDeF32503298 just added a Spanish translation for "What the f*ck Python". Here's the link github.com/JoseDeFreitas/… #python #wtfpython #Spanish
also: #wtfpython I can implement a class that would behave like this, but someone should be punished for this
Python question, What's the cleanest way to call `__greet()` from inside the `run` method. def __greet(): print("wtf") class C: def run(self): __greet() #Python #wtfpython
"What the f*ck Python" now available in Vietnamese too! Thanks to github.com/vuduclyunitn/w… 🎉 #python #wtfpython
For everyone doing the #100DaysOfCode challenge right now. If you really think you know Python, think once more! Check out this repo. #wtfpython github.com/satwikkansal/w…
Guess what will be the result of the following line: >>> {True: "Hello", 1: "Good night", 1.0: "Bye"} #wtfpython
And another one that seems like a weird paradox at first (if you don't know about how `all` works in Python >>> all([]) True >>> all([[]]) False >>> all([[[]]]) True #Python #wtfpython
If you really think you know Python, think once more! Check out wtfpython github.com/satwikkansal/w… #python #wtfpython 🔥🤯
One example from there... ``` >>> a = "wtf" >>> b = "wtf" >>> a is b True >>> a = "wtf!" >>> b = "wtf!" >>> a is b False ``` 😂😂😂 The repository did find the right name #wtfpython #python
In Python, with either MySQLdb or mysql.connector, if you run the same SELECT statement twice, even with a new cursor, you will get the same (cached) result. You need to commit, rollback, or reconnect to the DB to get fresh results. The consequences are disastrous... #WtfPython
Python question, What's the cleanest way to call `__greet()` from inside the `run` method. def __greet(): print("wtf") class C: def run(self): __greet() #Python #wtfpython
Something went wrong.
Something went wrong.
United States Trends
- 1. #Worlds2025 44.5K posts
- 2. Doran 18.3K posts
- 3. #T1WIN 28.5K posts
- 4. Faker 32.1K posts
- 5. Sam Houston 1,615 posts
- 6. Oregon State 4,733 posts
- 7. Boots N/A
- 8. Lubin 5,881 posts
- 9. #T1fighting 3,556 posts
- 10. Keria 11.1K posts
- 11. Option 2 4,244 posts
- 12. #Toonami 2,728 posts
- 13. #GoAvsGo 1,605 posts
- 14. Hyan 1,452 posts
- 15. Frankenstein 126K posts
- 16. Oilers 5,361 posts
- 17. Louisville 14.4K posts
- 18. UCLA 7,809 posts
- 19. Nuss 5,485 posts
- 20. Nikki Glaser 1,008 posts