Angelo Secchi wrote: > What is my mistake? You didn't provide actual code and the traceback. Peter PS: Just a guess: code = int(sys.argv[1]) might work