mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 06:46:56 +08:00
Merge branch 'main' of https://github.com/you-n-g/qlib into main
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
" scripts_dir = Path(\"~/tmp/qlib_code/scripts\").expanduser().resolve()\n",
|
" scripts_dir = Path(\"~/tmp/qlib_code/scripts\").expanduser().resolve()\n",
|
||||||
" scripts_dir.mkdir(parents=True, exist_ok=True)\n",
|
" scripts_dir.mkdir(parents=True, exist_ok=True)\n",
|
||||||
" import requests\n",
|
" import requests\n",
|
||||||
" with requests.get(\"https://github.com/microsoft/qlib/blob/main/scripts/get_data.py\") as resp:\n",
|
" with requests.get(\"https://raw.githubusercontent.com/you-n-g/qlib/main/scripts/get_data.py\") as resp:\n",
|
||||||
" with open(scripts_dir.joinpath(\"get_data.py\"), \"wb\") as fp:\n",
|
" with open(scripts_dir.joinpath(\"get_data.py\"), \"wb\") as fp:\n",
|
||||||
" fp.write(resp.content)"
|
" fp.write(resp.content)"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user