Lines Matching full:infile
18 mimify.py -e [infile [outfile]]
19 mimify.py -d [infile [outfile]]
20 to encode and decode respectively. Infile defaults to standard
207 def unmimify(infile, outfile, decode_base64 = 0):
209 if type(infile) == type(''):
210 ifile = open(infile)
211 if type(outfile) == type('') and infile == outfile:
213 d, f = os.path.split(infile)
214 os.rename(infile, os.path.join(d, ',' + f))
216 ifile = infile
415 def mimify(infile, outfile):
417 if type(infile) == type(''):
418 ifile = open(infile)
419 if type(outfile) == type('') and infile == outfile:
421 d, f = os.path.split(infile)
422 os.rename(infile, os.path.join(d, ',' + f))
424 ifile = infile
436 usage = 'Usage: mimify [-l len] -[ed] [infile [outfile]]'