Executing a system command

jb jblazi at hotmail.com
Thu May 23 06:04:23 EDT 2002


Here is what I get at the python prompt:

  >>> import os
  >>> os.system('latex klassenarbeit-8c-m-s2.tex')
  This is TeX, Version 3.14159 (Web2C 7.3.7)
  (./klassenarbeit-8c-m-s2.tex
  LaTeX2e <2001/06/01>
  Babel <v3.7h> and hyphenation patterns for american, french, german,   
  ngerman, n
  ohyphenation, loaded.
  )
  *
The next thing would be to load article.cls, maybe from /usr/share/texmf...
and it seems that this does not happen.
But I can compile the source from the bash prompt.


-- 
Janos Blazi

"Il n'y a guère dans la vie qu'une préoccupation grave: c'est la mort;" 
(Dumas) 



-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----



More information about the Python-list mailing list