wtfpython
awesome-python
| wtfpython | awesome-python | |
|---|---|---|
| 56 | 90 | |
| 36,839 | 274,868 | |
| 0.2% | 3.1% | |
| 8.5 | 4.2 | |
| 8 months ago | about 1 month ago | |
| Python | Python | |
| Do What The F*ck You Want To Public License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wtfpython
- What the Fuck Python
Hi, author of the repo (https://github.com/satwikkansal/wtfpython) here, pleasantly surprised to wake up to this thread about it. The intention of the project is not to put Python in a bad light relative to other languages, the intention was to explore it more deeply through (sometimes contrived) snippets that give non-obvious outputs. I believe for a regular Python programmer, the "Slippery Slopes" section is a must-know. The first section (Strain your brain), does contain some patterns that you may not ever see in real world, the goal there is to just learn about internals. Agreed some of them are very obvious for a well-learned programmer, and some of them aren't even Python specific, it does help a lot of beginner to intermediate programmers. I remember it being given as a supplementary material in one of the CS-based course.
It is curated with something-for-everyone approach, I expect people to learn a thing or two about Python / CS after going through the snippets. I haven't updated it in a while in a major way, but looking at the feedback I'll try to organise them better, and add new snippets (I have a long personal list that I maintain) in a future release!
- Wtfpython
- Ask HN: Is there any programming language that doesn't have WTFs?
After reading this page:
https://github.com/satwikkansal/wtfpython?tab=readme-ov-file#-needles-in-a-haystack-
I wonder if there's any language that thought about all edge cases and avoided exceptions and such gotchas at the design level.
JS is notorious for such WTFs but even Python—which I've used for over a decade now—has surprised me countless times.
Is Haskell also like that? How about Lisps (CL, Racket, Clojure, Scheme, etc.)?
- Interview Gone Wrong
In my mind,I just automatically translate a EXPRESSION1 b EXPRESSION2 c as (a EXPRESSION1 b) and (b EXPRESSION2 c), so there's no ambiguity. But I agree, it can be VERY confusing,so I tend to write code that is easy to read without being a master. for example, think what you would have thought this evaluates to:
False is False is False. If you thought, True, you were right :)
I would recommend to take a look at one of my favourite repos for more[1].
[1]https://github.com/satwikkansal/wtfpython
- Layman's Guide to Python Built-In Functions · Matt Layman
See this for an explanation - https://github.com/satwikkansal/wtfpython?tab=readme-ov-file...
> `all([])` returns True since the iterable is empty.
- What the Fuck Python?
- Valid Python syntax – by Nobody has time for Python
- Multidimensional lists creation, why the weird behavior
Haven’t seen it mentioned in the replies, so here it is. Have a look at “What the f*ck Python? 😱” on GitHub: https://github.com/satwikkansal/wtfpython
- Wat
https://github.com/satwikkansal/wtfpython
"Mutating the immutable" is my personal favourite - the second line of code fails with an exception despite having already succeeded:
>>> t = ([1, 2], 5, 6)
awesome-python
- 💡 The Untold History of GitHub Awesome-Lists 🤯
On June 28, 2014, awesome-python was started. In the initial commit, Vinta Chen wrote:
- API - An overview
Super Market Example :-) You need to search each and everything, we wont get it immediately. https://github.com/vinta/awesome-python --> this as many codes , so search one by one.
- Top 20 Awesome on Github
4. Awesome Python
- Awesome List
Awesome Python - A curated list of awesome Python frameworks, libraries, software, and resources.
- Top 10 GitHub Repositories for Python and Java Developers
8. Vinta/Awesome-python - This repository is a curated list of top Python frameworks, libraries, and tools for a variety of purposes. It's a must-visit for any developer looking to expand their Python skills and discover new resources. https://github.com/vinta/awesome-python
- How I do technology watch
Python: https://github.com/vinta/awesome-python
- Top 10 GitHub Repositories Every Developer Should Bookmark in 2024
6) Awesome Python: Embrace the power of Python with this extensive collection of awesome libraries, frameworks, resources, and software. Whether you're a seasoned Pythonista or just starting your journey, this repository is your ultimate guide to maximizing the potential of this versatile language. (https://github.com/vinta/awesome-python)
- Good coding groups for black women?
- https://github.com/vinta/awesome-python
- Top GitHub Resources to Level Up Your Python game
🎇 Repository Link: Awesome Python
- GitHub - vinta/awesome-python: A curated list of awesome Python frameworks, libraries, software and resources
What are some alternatives?
rdm - Our regulatory documentation manager. Streamlines 62304, 14971, and 510(k) documentation for software projects.
materials - Bonus materials, exercises, and example projects for our Python tutorials
Pycco - Literate-style documentation generator.
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
python-small-examples - 告别枯燥,致力于打造 Python 实用小例子,更多Python良心教程见 https://ai-jupyter.com
warehouse - The Python Package Index