2 Topics

Member Avatar for
Member Avatar for Faith.Moraa

Hello Team, I've been having a wierd problem with 2 of my scripts and I now know the problem was in my if statements. code=sys.argv[1] phone=sys.argv[2] message=sys.argv[3] if code == 949: servId='62000001760' elif code == 947: servId='62000001840' else: servId='90928' print servId I run this script as: sudo python printserv.py 949 …

Member Avatar for Schol-R-LEA
0
139
Member Avatar for Szabi Zsoldos

Hi guys, I've made a class with a lot of functions, and for the 99% of the time i need the __construct functi. How can i call the class without the __construct ? class Test { public function __construct() { echo "bla"; } } $test = new Test(); What I …

Member Avatar for Szabi Zsoldos
0
138

The End.