Search results for #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…
안녕하세요 세계! 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
@maartenbreddels also: #wtfpython I can implement a class that would behave like this, but someone should be punished for this
🤯 Can you guess what some_list contains? It does not include a None! #Python #NumPy #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
"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
@withouttick @DeepSourceHQ 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
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
Now in Chinese too! #wtfpython