Re: [Tutor] subprocess.getstatusoutput : UnicodeDecodeError

2017-09-22 Thread Chris Warrick
On 22 September 2017 at 03:57, Evuraan wrote: result = subprocess.run(["tail", "-400", "/tmp/pmaster.txt"], stdout=subprocess.PIPE) result.returncode > 0 subprocess.getstatusoutput("file /tmp/pmaster.txt",) > (0, '/tmp/pmaster.txt: Non-ISO extended-ASCII text, with very long

Re: [Tutor] Need Help with install of Python!

2017-09-22 Thread George Fischhof
2017-09-20 2:18 GMT+02:00 Alan Gauld via Tutor : > On 19/09/17 21:13, Larry Staley wrote: > > Hello I am very new to Python just having installed Python Version 2.7 > onto > > my windows 8.1 laptop. I thought the install was successful and was > > entering information for my first assignment when