mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
added sample initializaition loop
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: d16fe61a79
This commit is contained in:
parent
88282aa18b
commit
4ded02b34f
@ -48,6 +48,39 @@
|
||||
"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",
|
||||
"execution_count": null,
|
||||
|
Loading…
Reference in New Issue
Block a user