implement ground functions(?), formatting

This commit is contained in:
lda committed 2025-02-10 02:16:41 +07:00
1 parent fe24efff50
commit 34eab5446c
4 files changed
+25 -4

No files matched your search

+1 -4
View File
@@ -22,7 +22,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
@@ -51,9 +51,6 @@
"# how do i import file\n",
"# shit i shot myself in the foot here, gotta consult github.com/ldlda/unipy\n",
"from importutil import why_so_ass\n",
" ## this line right here\n",
" ## why do i need it to exec EVER WHY no i dont WHYYYYY\n",
" # if i do from tutorial import bungee_jumper in tutorial2.ipynb it dont do that # oh it does\n",
"from pathlib import Path\n",
"\n",
"tutofile = Path(\"../../0/tutorial.py\")\n",
+3
View File
@@ -22,3 +22,6 @@ def why_so_ass(file: Path | str, name: str, namesys: str = None):
mod = importlib.util.module_from_spec(spec)
modules[namesys] = mod # !!
spec.loader.exec_module(mod)
## this line right here
## why do i need it to exec EVER WHY no i dont WHYYYYY
# if i do from tutorial import bungee_jumper in tutorial2.ipynb it dont do that # oh it does