Fix aboluste path when import .py in examples

This PR is for [this issue](#87).
This commit is contained in:
sudomaze
2022-05-01 03:06:38 -07:00
parent 7fcdd8051f
commit f82d032dd0
7 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
</head>
<py-env>
- paths:
- /antigravity.py
- antigravity.py
</py-env>
<body>
<b>Based on xkcd: antigravity https://xkcd.com/353/.</b>

View File

@@ -82,8 +82,8 @@
- numpy
- sympy
- paths:
- /palettes.py
- /fractals.py
- palettes.py
- fractals.py
</py-env>
<py-script>

View File

@@ -13,7 +13,7 @@
<py-env>
- paths:
- /antigravity.py
- antigravity.py
</py-env>
<body>

View File

@@ -17,8 +17,8 @@
- bokeh
- numpy
- paths:
- /utils.py
- /antigravity.py
- utils.py
- antigravity.py
</py-env>
<body>

View File

@@ -12,7 +12,7 @@
<script defer src="../build/pyscript.js"></script>
<py-env>
- paths:
- /utils.py
- utils.py
</py-env>
</head>

View File

@@ -11,7 +11,7 @@
<script defer src="/build/pyscript.js"></script>
<py-env>
- paths:
- /utils.py
- utils.py
</py-env>
<py-register-widget src="/pylist.py" name="py-list" klass="PyList"></py-register-widget>

View File

@@ -12,7 +12,7 @@
<script defer src="/build/pyscript.js"></script>
<py-env>
- paths:
- /utils.py
- utils.py
</py-env>
</head>