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()
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to