New to Python - Easy way to open a text file

Michael Tobis mtobis at gmail.com
Fri Mar 30 17:24:47 EDT 2007


I think it's pretty clear that we aren't understanding what you mean
by "open a text file and disply its content".

I conclude that by "edna" you mean this thing: http://edna.sourceforge.net/

I suspect you are not asking a Python question at all.

Did you try opening

file:///<path-to-edna>/edna-0.6/templates/default.ezt

in your browser? This will show you the design of your (unpopulated)
template rendered in your browser.

Notes:

1) yes you do need three slashes after "file:" for some reason I've
never comprehended
2) you will need to replace <path to browser> with your local system
path to the edna directory. (In firefox you can, alternatively, browse
to the file from File->open; Safari will balk at the ezt extension; I
don't know what other browsers will do.)

If this is more like what your are after, consider that your question
was misleading (and entirely unrelated to Python). The edna miling
list is here:
http://www.lyra.org/mailman/listinfo/edna

hth
mt




More information about the Python-list mailing list