Last change
on this file since 1358 was
1337,
checked in by garnier, 14 years ago
|
tag geant4.9.4 beta 1 + modifs locales
|
-
Property svn:executable set to
*
|
File size:
397 bytes
|
Rev | Line | |
---|
[1337] | 1 | #!/usr/bin/python |
---|
| 2 | # ================================================================== |
---|
| 3 | # python script for Geant4Py test |
---|
| 4 | # |
---|
| 5 | # |
---|
| 6 | # ================================================================== |
---|
| 7 | import test01 |
---|
| 8 | |
---|
| 9 | print "importing created module...\n" |
---|
| 10 | |
---|
| 11 | a= test01.AClass() |
---|
| 12 | b= test01.AClass(0) |
---|
| 13 | c= test01.AClass(1, 1.) |
---|
| 14 | |
---|
| 15 | print " >>a<<", |
---|
| 16 | a.AMethod() |
---|
| 17 | |
---|
| 18 | print ">>b<<", |
---|
| 19 | b.AMethod() |
---|
| 20 | |
---|
| 21 | print ">>c<<", |
---|
| 22 | c.AMethod() |
---|
| 23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.