forked from KolibriOS/kolibrios
[WS] Move simple functions into lib
git-svn-id: svn://kolibrios.org@9370 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
8
_tools/lib/network.py
Normal file
8
_tools/lib/network.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import urllib.request
|
||||
|
||||
def download(link, path):
|
||||
log(f"Downloading {path}... ", end = "")
|
||||
urllib.request.urlretrieve(link, path)
|
||||
log("Done.")
|
||||
|
||||
|
Reference in New Issue
Block a user