M
MiguelS
How do I display the contents of a file in a window using PyWin?
Thanks,
MS
Thanks,
MS
How do I display the contents of a file in a window using PyWin?
import win32ui
from pywin.mfc import docview
t = object_template()
d = t.OpenDocumentFile("d:/temp/music.log", True)
Crashes PythonWin
import win32ui
from pywin.mfc import docview
t = docview.DocTemplate()
t.OpenDocumentFile("d:/temp/music.log", True)
This caused windows to close PythonWin.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.