[Tutor] outputting HTML

Matthew Vogel mattvogel@hotmail.com
Wed, 13 Jun 2001 02:14:52


<html><DIV>Hi,</DIV>
<DIV>I am a newbie to python programming and i am having some trouble getting started in what i want to do.&nbsp; I have written a C program that calls different functions in a library that i also wrote, in order to determine what records(name type and value) are stored in a given file. Now my problem is that i need to use python to output these values to an html file. </DIV>
<DIV>I&nbsp;know i need to use the os.popen() function to open the file that the user will enter as a command line argument when i run the main.py file ie (main.py filename). </DIV>
<DIV>The question is , once i run my c program from inside python to manipulate this data how do i output to html??</DIV>
<DIV>What functions are there in which i can output in html format, if i have already written an html page with headers and such????</DIV>
<DIV>any help would be appreciated greatly </DIV>
<DIV>thanks Matt</DIV>
<DIV>&nbsp;</DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html>