Fizz Buzz in Tensorflow
๐คจ?
https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
@DevMisc
#python #ai #tf
๐คจ?
https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
@DevMisc
#python #ai #tf
๐ข2
Crimes with Python's pattern matching
https://www.hillelwayne.com/post/python-abc/
@DevMisc
#python #fun #extra
https://www.hillelwayne.com/post/python-abc/
@DevMisc
#python #fun #extra
๐1๐ฅ1
superlambda.py
Multiline lambdas in python, using codecs.
https://github.com/dankeyy/superlambda.py
@DevMisc
#python #fun #extra
Multiline lambdas in python, using codecs.
https://github.com/dankeyy/superlambda.py
@DevMisc
#python #fun #extra
๐ณ5๐3๐ฅ2
Hello, PNG!
A dive into the PNG format, using python.
https://www.da.vidbuchanan.co.uk/blog/hello-png.html
@DevMisc
#png #learn #python
A dive into the PNG format, using python.
https://www.da.vidbuchanan.co.uk/blog/hello-png.html
@DevMisc
#png #learn #python
๐3โค1๐1๐1
A Heisenbug lurking in async Python
If you've ever used
https://textual.textualize.io/blog/2023/02/11/the-heisenbug-lurking-in-your-async-code
@DevMisc
#python #bug #misc
If you've ever used
asyncio.create_task(...)
, you might have not paid attention to this problem...https://textual.textualize.io/blog/2023/02/11/the-heisenbug-lurking-in-your-async-code
@DevMisc
#python #bug #misc
๐4๐1
Birthday paradox
If you have 23 people in a room, there is a 50% chance that two of them share a birthday. Let's test this theory with Python.
https://www.gkbrk.com/2022/04/birthday-paradox
@DevMisc
#math #python #extra
If you have 23 people in a room, there is a 50% chance that two of them share a birthday. Let's test this theory with Python.
https://www.gkbrk.com/2022/04/birthday-paradox
@DevMisc
#math #python #extra
๐ค3๐1
Creating a JSON Serializer in Python quickly
https://www.gkbrk.com/2021/05/json-serializer
@DevMisc
#python #learn
https://www.gkbrk.com/2021/05/json-serializer
@DevMisc
#python #learn
๐3๐1
Pythonโs multiprocessing performance problem
https://pythonspeed.com/articles/faster-multiprocessing-pickle
@DevMisc
#python #concurrency #learn
https://pythonspeed.com/articles/faster-multiprocessing-pickle
@DevMisc
#python #concurrency #learn
๐3๐1
This media is not supported in your browser
VIEW IN TELEGRAM
NiceGUI: Let any browser be the frontend of your Python code
https://youtu.be/HiNNe4Q32U4
@DevMisc
#python #tools #web
https://youtu.be/HiNNe4Q32U4
@DevMisc
#python #tools #web
โค2๐2๐1
Python Dict โ An Explorable Explanation
https://just-taking-a-ride.com/inside_python_dict/chapter1.html
@DevMisc
#python #dict #learn
https://just-taking-a-ride.com/inside_python_dict/chapter1.html
@DevMisc
#python #dict #learn
๐3๐2
A toy programming language in 137 lines of Python code
https://blog.miguelgrinberg.com/post/building-a-toy-programming-language-in-python
@DevMisc
#compiler #learn #python
https://blog.miguelgrinberg.com/post/building-a-toy-programming-language-in-python
@DevMisc
#compiler #learn #python
๐ณ1
Swap_8_and_9
A simple import can modify the Python interpreter.
https://kenschutte.com/python-swap-ints/
@DevMisc
#python #c #fun
A simple import can modify the Python interpreter.
https://kenschutte.com/python-swap-ints/
@DevMisc
#python #c #fun
๐คฏ3๐ฅด1
Animations from first principles
https://mathspp.com/blog/animations-from-first-principles-in-5-minutes
@DevMisc
#python #graphics #learn
https://mathspp.com/blog/animations-from-first-principles-in-5-minutes
@DevMisc
#python #graphics #learn
Python's many command-line utilities
Every command-line tool included with Python. These can be run with python -m module_name.
https://www.pythonmorsels.com/cli-tools/
@DevMisc
#python #utils #cli
Every command-line tool included with Python. These can be run with python -m module_name.
https://www.pythonmorsels.com/cli-tools/
@DevMisc
#python #utils #cli
โค3๐1
Python has too many package managers
https://dublog.net/blog/so-many-python-package-managers/
@DevMisc
#python #pip #extra
- Python has a fragmented package and environment management ecosystem, with over a dozen different tools, each with their own strengths and weaknesses.
- The lack of a standardized, efficient, and user-friendly package manager in Python has been an "inexcusable pain-in-the-ass" for many years.
- Other programming languages like Rust, C#, and JavaScript have developed more cohesive and widely-loved package management solutions like Cargo, NuGet, and npm.
- Python's legacy package manager pip has historically had poor dependency resolution, only recently adding backtracking capabilities. It also lacks environment management features.
- The proliferation of various configuration files like requirements.txt, setup.py, Pipfile, environment.yml etc. has led to a lot of redundancy and lack of standardization in Python package management.
- The introduction of PEP 621 in 2020 aimed to consolidate dependencies and configuration into a single pyproject.toml file, leading to the emergence of new tools like Poetry, PDM, Flit, and Hatch.
- Poetry is currently the closest Python tool to the Cargo experience, but it suffers from slow dependency resolution, especially for large projects.
- Conda is a popular choice for data scientists and experimentalists as it can manage non-Python dependencies, but it lacks some features like lock files and can be cumbersome for production use.
- The Rust community's influence is evident in promising new Python package management tools like uv, which aims to be a fast, Cargo-like drop-in replacement for pip.
- The Python community still lacks a cohesive, standardized, and widely-adopted package management solution, but tools like uv hold promise for the future.
https://dublog.net/blog/so-many-python-package-managers/
@DevMisc
#python #pip #extra
๐ฏ3๐1๐1