Re: [Tutor] No file or directory error using subprocess and Popen

2017-05-15 Thread Jim
On 05/15/2017 08:33 PM, Jim wrote: On 05/15/2017 02:48 AM, Steven D'Aprano wrote: On Sun, May 14, 2017 at 10:57:57PM -0500, Jim wrote: I am running this on Mint 18. This is the third script I have written to open and position windows in workspaces. The first two work, but trying to open

Re: [Tutor] No file or directory error using subprocess and Popen

2017-05-15 Thread Jim
On 05/15/2017 07:03 AM, Peter Otten wrote: Jim wrote: I am running this on Mint 18. This is the third script I have written to open and position windows in workspaces. The first two work, but trying to open ebook-viewe r (calibre) with a specific book produces the following error. If I run the

Re: [Tutor] No file or directory error using subprocess and Popen

2017-05-15 Thread Jim
On 05/14/2017 11:19 PM, boB Stepp wrote: On Sun, May 14, 2017 at 10:57 PM, Jim wrote: I am running this on Mint 18. This is the third script I have written to open and position windows in workspaces. The first two work, but trying to open ebook-viewe r (calibre) with a

Re: [Tutor] No file or directory error using subprocess and Popen

2017-05-15 Thread Jim
On 05/15/2017 02:48 AM, Steven D'Aprano wrote: On Sun, May 14, 2017 at 10:57:57PM -0500, Jim wrote: I am running this on Mint 18. This is the third script I have written to open and position windows in workspaces. The first two work, but trying to open ebook-viewe r (calibre) with a specific

Re: [Tutor] Tkinter + frame + grid question

2017-05-15 Thread Phil
On Mon, 15 May 2017 16:14:48 +0200 Peter Otten <__pete...@web.de> wrote: Thank you Peter, Alan and Abdur-Rahmaan for your replies. After a night's sleep I'm now well on the way to beautifying a Lotto checking program that I wrote a couple of years ago. The need for and the use of frames is now

Re: [Tutor] Tkinter + frame + grid question

2017-05-15 Thread Abdur-Rahmaan Janhangeer
Hum i understand your frustration. however, whatever you use it is ok, just don't mix them at the same time. either use grid or use pack or use place grid is best for me else try some tricks here and there like try adding transparent images in the grid manager use PIL module by specifying

Re: [Tutor] How to write the __str__ function

2017-05-15 Thread Sydney Shall
On 15/05/2017 01:27, Alan Gauld via Tutor wrote: On 14/05/17 19:03, Sydney Shall wrote: The code that I have so far is as folows: def __str__(self): return("\n" " Output from __str__ of POCWP. " "\n" "\n After the first

Re: [Tutor] Tkinter + frame + grid question

2017-05-15 Thread Alan Gauld via Tutor
On 15/05/17 07:11, Phil wrote: > I'd like to place a red frame in the centre of the main window. What do you want surrounding it? You are going to have to use whichever layout manager fits the scenario. Remember you can use different layout managers in each frame in your app - and you will

Re: [Tutor] Tkinter + frame + grid question

2017-05-15 Thread Peter Otten
Phil wrote: > Thank you for reading this. > > I'd like to place a red frame in the centre of the main window. > > I've discovered two ways to achieve this using place() and pack(padx, > pady). Grid() does not give the desired result. > > Next I'd like to place some widgets on the frame. Again

[Tutor] Tkinter + frame + grid question

2017-05-15 Thread Phil
Thank you for reading this. I'd like to place a red frame in the centre of the main window. I've discovered two ways to achieve this using place() and pack(padx, pady). Grid() does not give the desired result. Next I'd like to place some widgets on the frame. Again place() does what I want

Re: [Tutor] No file or directory error using subprocess and Popen

2017-05-15 Thread Peter Otten
Jim wrote: > I am running this on Mint 18. > This is the third script I have written to open and position windows in > workspaces. The first two work, but trying to open ebook-viewe r > (calibre) with a specific book produces the following error. > If I run the same command in the terminal it

Re: [Tutor] No file or directory error using subprocess and Popen

2017-05-15 Thread Steven D'Aprano
On Sun, May 14, 2017 at 10:57:57PM -0500, Jim wrote: > I am running this on Mint 18. > This is the third script I have written to open and position windows in > workspaces. The first two work, but trying to open ebook-viewe r > (calibre) with a specific book produces the following error. > If I