Re: [Tutor] deleting elements of a dictionary

2017-05-20 Thread Mats Wichmann
On 05/19/2017 02:54 PM, Mats Wichmann wrote: > On 05/19/2017 11:17 AM, Alan Gauld via Tutor wrote: >> On 19/05/17 15:23, Michael C wrote: >>> list(read_dictionary) converts the dictionary into a list right? How can >>> you save the list as a dictionary? >> >> Nope, list() produces a new list object

Re: [Tutor] Collecting output from Python scripts executed via Cron

2017-05-20 Thread Leo Silver
Thanks, I'll give this ago and explore the full logging option if I need more control. Regards, Leo. On 20 May 2017 at 20:04, Cameron Simpson wrote: > On 19May2017 11:48, Leo Silver wrote: > >> I have written a several Python scripts to collect data from external >> sources (an email account an

Re: [Tutor] Collecting output from Python scripts executed via Cron

2017-05-20 Thread Cameron Simpson
On 19May2017 11:48, Leo Silver wrote: I have written a several Python scripts to collect data from external sources (an email account and an sftp site). In development I run the scripts from IDLE or the command line and can view the output of various print statements in the scripts which helps