[Tutor] Collecting output from Python scripts executed via Cron

2017-05-18 Thread Leo Silver
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 me to monitor progress and confirm correc

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 >> so

[Tutor] Error in class definition of __init__

2018-02-15 Thread Leo Silver
Hello. I'm trying to create a class to represent products which includes a list of volume based pricing and sets the first of these as the unit price: def __init__(self, RatePlanID): self.id = RatePlanID self.name = RatePlans.toggleids[self.id] self.pricing = RatePlans