RE: Opening text file for human reading

new topic     » topic index » view thread      » older message » newer message

use shellexecute().
shellexecute("open","readme.txt",NONE,NONE,SHOW_NORMAL)

I think those are the parameters...

It'll open the specified file using the application associated with the 
extension.

Chris

Evan Marshall wrote:
> I would like to start the system's default text reader/editor so that 
> the user can read a text file when a button is clicked.  Using win32lib. 
>  
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu