-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.py
32 lines (25 loc) · 784 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import mvrpl
import json
print("------------- Retorna DocString do modulo -------------")
print(mvrpl.__doc__)
print
print("------------- Retorna resultado Python -------------")
print(mvrpl.retpy())
print
print("------------- Retorna Mapa Python -------------")
for k,v in mvrpl.retmapa().items():
print("Chave: %s" % k)
print("Valor: %s" % v)
print
print("------------- Retorna Lista Python -------------")
print("__".join([str(n) for n in mvrpl.reclista([1,2,3])]))
print
print("------------- Retorna resposta de URL -------------")
print(mvrpl.returl())
print
print("------------- Retorna Mapa Rust no Python -------------")
print(mvrpl.mapa())
print
print("------------- Retorna parse dict Python -------------")
print(mvrpl.recmapa({'key':15, 'ds': 5}))
print