Zdravim, [EMAIL PROTECTED] wrote: > a hlavny program z ktoreho ho volam takto > --------------- skript --------------------- > from consolepgm import pgm > # > print "spustam program..." > mypgm=pgm() > mypgm.run() > print "koniec programu" > ---------------- koniec -------------------- >
from consolepgm import pgm print "spustam program..." mypgm=pgm() try: mypgm.run() except SystemExit: print 'chyba v podprogramu' print "koniec programu" Leo -- ---- Leos Pol SW Engineer Radiante Corp. If it can be imagined, we can implement it _______________________________________________ Python mailing list Python@py.cz http://www.py.cz/mailman/listinfo/python