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

2017-05-14 Thread boB Stepp
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 specific book produces the following error. > If I run the sa

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

2017-05-14 Thread Jim
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 works without an error

Re: [Tutor] How to write the __str__ function

2017-05-14 Thread shu latif
Not exactly sure what you're trying to do here but maybe you want to join those two things instead? Because of course it's a tuple the way you have it now. Shu Sent from my iTypo (with enhanced embarrassing auto-correcting) > On May 14, 2017, at 11:03 AM, Sydney Shall wrote: > > I need some a

Re: [Tutor] How to write the __str__ function

2017-05-14 Thread Alan Gauld via Tutor
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 turnover, during the " >

Re: [Tutor] How to write the __str__ function

2017-05-14 Thread Sibylle Koczian
Am 14.05.2017 um 20:59 schrieb Martin A. Brown: Hello and greetings, I need some advice that I have been embarrased to ask for, because I think that my error is so elementary. Well, there are two benefits to trying to write down questions like this when you encounter them. 1) Rubber Duck

Re: [Tutor] How to write the __str__ function

2017-05-14 Thread Martin A. Brown
Hello and greetings, > I need some advice that I have been embarrased to ask for, because > I think that my error is so elementary. Well, there are two benefits to trying to write down questions like this when you encounter them. 1) Rubber Duck debugging (if you have not heard of it); somet

[Tutor] How to write the __str__ function

2017-05-14 Thread Sydney Shall
I need some advice that I have been embarrased to ask for, because I think that my error is so elementary. I have written, as advised by the tutors, a complex program in a topic that interests me. The program works well and the tests are OK. Now I want to add a __str__ function, which I thoug

Re: [Tutor] cffi version mismatch stalling pip install pygit2

2017-05-14 Thread Mats Wichmann
On 05/12/2017 01:44 PM, MR ZenWiz wrote: > How do I fix this? > > We are using a newer version of libgit2 than the standard release > (libgit2.0.25.0 instead of libgit2.0.24.0 - some hard dependency in > our code). > > However, after I install libgit2 (25), I get this error chain: If you use a v