mirror of
https://github.com/pyscript/pyscript.git
synced 2026-03-03 14:01:29 -05:00
implement proposal for fetching paths and retaining structure of dirs and packages (#914)
* implement proposal * update docs and replace py-env * more docs * suggested proposal * update docs * add to_file parameter * remove comment from Makefile * suggested improvements * move tests from basic to py_config * retain leading slash from the first path
This commit is contained in:
@@ -41,9 +41,8 @@ The `<py-script>` element lets you execute multi-line Python scripts both inline
|
||||
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
|
||||
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
|
||||
<py-config>
|
||||
paths =[
|
||||
"compute_pi.py"
|
||||
]
|
||||
[[fetch]]
|
||||
files =["compute_pi.py"]
|
||||
</py-config>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user