Re: [Tutor] File operation query

2015-10-16 Thread Reuben
Thanks everyone for the suggestion. At the moment, file.flush() resolves the problem - but I will also give a thought to suggestions provided by other members in this email chain. Regards, RD On Thu, Oct 15, 2015 at 11:05 PM, Alan Gauld wrote: > On 15/10/15 17:00, Reuben wrote: > > I need some

Re: [Tutor] File operation query

2015-10-16 Thread Martin A. Brown
Hello and good day Reuben, I need some clarification for below code. In line 2 of below code snippet, I have provided read and write permission. Assuming I have provided some string input as requested in line 1 - when I try to open "check.txt" file after running the script, it is always empt

Re: [Tutor] File operation query

2015-10-15 Thread Alan Gauld
On 15/10/15 17:00, Reuben wrote: I need some clarification for below code. In line 2 of below code snippet, I have provided read and write permission. Thios is nearly always a bad idea and leads to all sorts of complications, as you are discovering! string input as requested in line 1 - wh

Re: [Tutor] File operation query

2015-10-15 Thread Emile van Sebille
On 10/15/2015 9:00 AM, Reuben wrote: Hi All, I need some clarification for below code. In line 2 of below code snippet, I have provided read and write permission. Assuming I have provided some string input as requested in line 1 - when I try to open "check.txt" file after running the script, it

Re: [Tutor] File operation query

2015-10-15 Thread Emile van Sebille
On 10/15/2015 9:00 AM, Reuben wrote: Hi All, I need some clarification for below code. In line 2 of below code snippet, I have provided read and write permission. Assuming I have provided some string input as requested in line 1 - when I try to open "check.txt" file after running the script, it

Re: [Tutor] File operation query

2015-10-15 Thread Joel Goldstick
On Thu, Oct 15, 2015 at 12:00 PM, Reuben wrote: > Hi All, > > I need some clarification for below code. In line 2 of below code snippet, > I have provided read and write permission. Assuming I have provided some > string input as requested in line 1 - when I try to open "check.txt" file > after r

Re: [Tutor] File operation query

2015-10-15 Thread Peter Otten
Reuben wrote: > I need some clarification for below code. In line 2 of below code snippet, > I have provided read and write permission. Assuming I have provided some > string input as requested in line 1 - when I try to open "check.txt" file > after running the script, it is always empty - it does

[Tutor] File operation query

2015-10-15 Thread Reuben
Hi All, I need some clarification for below code. In line 2 of below code snippet, I have provided read and write permission. Assuming I have provided some string input as requested in line 1 - when I try to open "check.txt" file after running the script, it is always empty - it does not display t