##// END OF EJS Templates
Calling the script with a filename argument
imanay -
r136:137
parent child
Show More
@@ -1,8 +1,12
1 import file No newline at end of file
1 import file
2 from client3 import *
2 from client3 import *
No newline at end of file
3 import sys No newline at end of file
3
No newline at end of file
4 filename = "experimento1.abs" No newline at end of file
5 No newline at end of file
4
6 absObj = ABSClient(ipDestino="10.10.10.97") No newline at end of file
5 absObj = ABSClient(ipDestino="10.10.10.97")
7 #absObj = ABSClient() No newline at end of file
6 #absObj = ABSClient()
7 if len(sys.argv) == 2:
No newline at end of file
8 #filename = "experimento1.abs"
No newline at end of file
9 filename = sys.argv[1] No newline at end of file
8 absObj.sendFile(filename) No newline at end of file
10 absObj.sendFile(filename)
11 else:
No newline at end of file
12 print "Only one argument needed" No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now