@@ -1,8 +1,13 | |||||
1 | import file |
|
1 | import file | |
2 | from client3 import * |
|
2 | from client3 import * | |
|
3 | import sys | |||
3 |
|
4 | |||
4 | beam = "2" |
|
|||
5 |
|
||||
6 | absObj = ABSClient(ipDestino="10.10.10.97") |
|
5 | absObj = ABSClient(ipDestino="10.10.10.97") | |
7 | #absObj = ABSClient() |
|
6 | #absObj = ABSClient() | |
8 | absObj.changeBeam(beam) No newline at end of file |
|
7 | ||
|
8 | if len(sys.argv) == 2: | |||
|
9 | #beam = "2" | |||
|
10 | beam = sys.argv[1] | |||
|
11 | absObj.changeBeam(beam) | |||
|
12 | else: | |||
|
13 | 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