mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-13 22:56:19 +00:00
added sample initializaition loop
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
de81a03e3d
commit
d16fe61a79
@ -48,6 +48,39 @@
|
|||||||
"initialized"
|
"initialized"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": 3,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"import module\n",
|
||||||
|
"module_references = {\"match\": module.Match}\n",
|
||||||
|
"module_initialized = []\n",
|
||||||
|
"for m in [\"match\"]:\n",
|
||||||
|
"\tmodule_initialized.append(module_references[m](\"\", \"\", \"\", 0, []))"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": 4,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"data": {
|
||||||
|
"text/plain": [
|
||||||
|
"[<module.Match at 0x7f0e47c45ee0>]"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"execution_count": 4,
|
||||||
|
"metadata": {},
|
||||||
|
"output_type": "execute_result"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"source": [
|
||||||
|
"module_initialized"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
Loading…
Reference in New Issue
Block a user