[Tutor] Option on How to create web Interface

fabu desay mydayfabu at gmail.com
Wed May 21 17:50:27 CEST 2014


If I got the problem correctly,you can equally create + open a file
file =  open(filename,+wr)
The file should have the HTML extension
You can now pace your web contents in the file.html you created
that should work by trigering the python file you programed in and it
inturn creates the website or pages of your choice
an example like this could help
webpage = open('index.html', 'w+')
webpage.write("<html><head><title>My web page</title></head>");
webpage.write("<body>This the body</body></html>");
webpage.close()


More information about the Tutor mailing list