It's a way to create multidimensional pointers
Installation is easy. Just do
pip install multipointerAlternatively you can download the repository and start setup.py with the parameter install as with every other module
Import it:
from multipointer import *Convert a variable into one you can use the index method:
# for dict
converted = dict({"key": "value"})
# for list
converted = list([foo, bar])
# etc.d = {
"list": [
"Hi", "Hey"
]
}
d.index("list", 0)
# Returns -> "Hey"To use the index function you don't have to convert the object:
d = {
"list": [
"Hi", "Hey"
]
}
index(d, "list", 0)