python can import from zips! (intermediate) anthony explains

  Рет қаралды 2,354

anthonywritescode

anthonywritescode

Күн бұрын

today I show a useful technique for zipped code in python and how you can use this to run wheels and more!
what is a zipapp: • python executable zipa...
playlist: • anthony explains
==========
twitch: / anthonywritescode
dicsord: / discord
twitter: / codewithanthony
github: github.com/aso...
stream github: github.com/ant...
I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!

Пікірлер: 8
@littleghoost
@littleghoost 2 жыл бұрын
What if I have images inside my zip? How do I do?
@anthonywritescode
@anthonywritescode 2 жыл бұрын
you can use `importlib.resources` to access them
@littleghoost
@littleghoost 2 жыл бұрын
@@anthonywritescode thank you! :)
@JohnZakaria
@JohnZakaria 2 жыл бұрын
Why Bazel + python?
@anthonywritescode
@anthonywritescode 2 жыл бұрын
the choice of bazel at stripe predates me (and wasn't really chosen for python) -- python is an afterthought for bazel so it's kinda not the best
@JohnZakaria
@JohnZakaria 2 жыл бұрын
Maybe I formulated the comment vaguely. Is Bazel used to compile some python wheels (like cmake). Or is python used to set up some dynamic parameters at compile time? I was more asking about the larger context of the operation
@anthonywritescode
@anthonywritescode 2 жыл бұрын
bazel is a build system -- it sets up every part of the environment
from imports aren't faster! (beginner - intermediate) anthony explains #398
6:01
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 89 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 40 МЛН
What's in the clown's bag? #clown #angel #bunnypolice
00:19
超人夫妇
Рет қаралды 20 МЛН
Python Tutorial: Zip Files - Creating and Extracting Zip Archives
27:10
debugging and fixing pyuwsgi in python 3.12 (advanced) anthony explains #580
1:00:01
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 810 М.
Wheel Files: Packaging Python Applications & Modules
21:10
NeuralNine
Рет қаралды 24 М.
oops I'm the pyuwsgi maintainer now (intermediate) anthony explains #579
22:55
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 395 М.
How to make advanced image recognition bots using python
15:01
Kian Brose
Рет қаралды 1,4 МЛН
How to unzip files with python
6:59
AI for Everyone
Рет қаралды 7 М.
python 3.13 release highlights
49:56
anthonywritescode
Рет қаралды 20 М.
adding test == others fail??? (intermediate) anthony explains #572
10:40
anthonywritescode
Рет қаралды 4,3 М.