Wade Leftwich wrote:
>
> def runtex():
> os.system(path_to_tex.replace('\\','/'))
>
Not exactly what I want but I got the hint.
Here's my little script which works.
<quote>
import os
file = raw_input('Enter tex source with full path -->')
newfile = file.replace('\\','/')
tex_cmd = 'latex' + ' ' + newfile
os.system(tex_cmd)
raw_input('Press Enter to close this window -->')
</quote>
Thanks for all of you who sent me advice.
Cheers,
ST
--
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython