Hi, given that tkinter is a thin Python wrapper over tcl/tk and includes the framework
I wrote a Python wrapper to invoke page.tcl, and it appears to work. Here is the code:
importtkinter,sysroot=tkinter.Tk()root.tk.eval('set argv {}; set argc 0')forainsys.argv[1:]:# Skip argv[0] (the filename of this script)root.tk.eval(f'lappend argv {{{a}}}; incr argc')root.tk.eval('source {page.tcl}')# invoke PAGEroot.mainloop()
Place script in the page folder. Run as python page.py followed by any arguments.
Tested on Windows 10, Python 3.7 x64 with tk 8.6.10.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This seems very interesting. Could you send me your email address so I could discuss it with you. I have a number of questions that may get off the subject of PAGE. Perhaps you could sign in to SurceForge and post a comment and then I could send a message,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, given that tkinter is a thin Python wrapper over tcl/tk and includes the framework
I wrote a Python wrapper to invoke page.tcl, and it appears to work. Here is the code:
Place script in the page folder. Run as python page.py followed by any arguments.
Tested on Windows 10, Python 3.7 x64 with tk 8.6.10.
This seems very interesting. Could you send me your email address so I could discuss it with you. I have a number of questions that may get off the subject of PAGE. Perhaps you could sign in to SurceForge and post a comment and then I could send a message,
Hello again, saw your reply just now.
My Python knowledge is very hands-on so I probably cannot help you too much, but feel free to ask.
I tried sending an emaile to spillane@users.sourceforge.net but it bounced. My email address is
don.rozenberg @ gmail/.com
Sorry about that, I forgot to enable email... please try again.