#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…
Guess what will be the result of the following line: >>> {True: "Hello", 1: "Good night", 1.0: "Bye"} #wtfpython
This just burns my eyes: a = type('',(),{}) a.b = 3 #whypython #wtfpython
"What the f*ck Python" now available in Vietnamese too! Thanks to github.com/vuduclyunitn/w… 🎉 #python #wtfpython
#wtfpython is now available in German too github.com/BenSt099/wtfpy… 🙌
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 🎉:)
github.com
GitHub - buttercrab/wtfpython-ko: 놀라운 예제들을 통해서 파이썬을 탐험하고 이해해보세요!
놀라운 예제들을 통해서 파이썬을 탐험하고 이해해보세요! Contribute to buttercrab/wtfpython-ko development by creating an account on GitHub.
#WTFPython date.strftime('%d/%m/%Y') : strftime does not work for year before 1900.
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
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
#wtfpython is now available in Russian as well, thanks to @frontdevops 🙌 Check it out at github.com/frontdevops/wt…
github.com
GitHub - frontdevops/wtfpython
Contribute to frontdevops/wtfpython development by creating an account on GitHub.
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
Just because you CAN cram 10 different operations, including file I/O into a single list comprehension, doesn't mean you should #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…
github.com
GitHub - frontdevops/wtfpython
Contribute to frontdevops/wtfpython development by creating an account on GitHub.
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 🎉:)
github.com
GitHub - buttercrab/wtfpython-ko: 놀라운 예제들을 통해서 파이썬을 탐험하고 이해해보세요!
놀라운 예제들을 통해서 파이썬을 탐험하고 이해해보세요! Contribute to buttercrab/wtfpython-ko development by creating an account on GitHub.
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. Grammy 303K posts
- 2. Dizzy 9,449 posts
- 3. Clipse 18.3K posts
- 4. Kendrick 58.5K posts
- 5. addison rae 22K posts
- 6. olivia dean 14.2K posts
- 7. #GOPHealthCareShutdown 4,294 posts
- 8. AOTY 20K posts
- 9. Leon Thomas 17.8K posts
- 10. ravyn lenae 3,903 posts
- 11. Katseye 112K posts
- 12. #FanCashDropPromotion 3,807 posts
- 13. Alfredo 2 N/A
- 14. gaga 97.1K posts
- 15. Kehlani 32.8K posts
- 16. lorde 12K posts
- 17. Orban 29.6K posts
- 18. #FursuitFriday 11.7K posts
- 19. The Weeknd 11.8K posts
- 20. Alex Warren 6,933 posts