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