12 lines
294 B
Python
12 lines
294 B
Python
#!/usr/bin/env python
|
|
|
|
import sys
|
|
|
|
#get the value of the first parameter which is for example an integer
|
|
value = int(sys.argv[1])
|
|
|
|
#get the value of the first parameter which is for example a string
|
|
string = str(sys.argv[2])
|
|
|
|
#Execute a python cmd with the previous defined variables from php
|