To call, use this:

pmwiki2trac.py [options] [inputfile] [outputfile]

If input file in empty, stdin is used. The same goes for outputfile.