wtfpython icon indicating copy to clipboard operation
wtfpython copied to clipboard

What the f*ck Python? 😱

Results 116 wtfpython issues
Sort by recently updated
recently updated
newest added

Now that the project has Travis integration, I think we can use a static code analysis tool like coala which can help in detecting errors like following upfront, - Markdown...

enhancement
Hacktoberfest

a=[11,22] b=a The ids of the two will be the same. Now, a[0]=1 The ids of the two will still be the same as both a and b are referring...

possible-duplicate

# Python3.x load module path error Program execute display like this error: `ImportError: No module named 'xxx'` also you used like this code: `from .xxx import xxx` or `from ..xxx...

new snippets

Hey folks! I'm personally a big fan of `wtfpython` and I always keep an eye on your updates because I always learn something new with them (despite being a 10+...

enhancement
discuss

Hi, I'm starting a french translation on my own fork : https://github.com/Ricocotam/wtfpython I just forked it, if you have any advice feel free to create issues/comment below

Hacktoberfest
translation

Hey guys, I was preparing a pdf for the collection, while a friend of mine recommended me to put in some extra effort to release an ebook version for the...

```python import re DIGIT = re.compile(r"\d") match "1": case DIGIT as i: print(i) # >>> 1 DIGIT # >>> '1' WTF!? ``` The reason is DIGIT is treated as a...

پایتون، که یک زبان برنامه نویسی سطح بالا و مبتنی بر مفسر طراحی زیبا است، به ما ویژگی های زیادی را برای راحتی برنامه نویس فراهم می کند. اما گاهی...

Translation is adaptive (not word-to-word) and it tries to save the original meaning. As discussed with @satwikkansal, this translation (and possibly all existing ones) will be stored in folder inside...

``` # let's validate some rgb values In [1]: [0, 0, 0]