Last change
on this file since 1353 was
1337,
checked in by garnier, 14 years ago
|
tag geant4.9.4 beta 1 + modifs locales
|
-
Property svn:executable set to
*
|
File size:
378 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | # ================================================================== |
---|
3 | # python script for Geant4Py test |
---|
4 | # |
---|
5 | # |
---|
6 | # ================================================================== |
---|
7 | import test09 |
---|
8 | |
---|
9 | |
---|
10 | a= test09.AClass(10) |
---|
11 | b= test09.AClass(20) |
---|
12 | |
---|
13 | print "*** (a, b)=", a, b |
---|
14 | |
---|
15 | c= a+b |
---|
16 | print "*** a+b=", c |
---|
17 | |
---|
18 | a+=b |
---|
19 | print "*** a & b are merged, a=", a |
---|
20 | |
---|
21 | print "*** a==b ?", (a==b) |
---|
22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.