Message403888
In the context of building Docker images, it is often required to download stuff. If curl/wget are available, great, but often slim images don't offer that.
The urllib could provide a very simple download functionality (like http offers a simple server):
from urllib.request import urlopen
data = urlopen('https://.../install-poetry.py').read()
# print or save data
If there's some interest, I could open a PR. |
|
Date |
User |
Action |
Args |
2021-10-14 06:15:12 | tom.pohl | set | recipients:
+ tom.pohl |
2021-10-14 06:15:12 | tom.pohl | set | messageid: <1634192112.29.0.508125660114.issue45466@roundup.psfhosted.org> |
2021-10-14 06:15:12 | tom.pohl | link | issue45466 messages |
2021-10-14 06:15:12 | tom.pohl | create | |
|