program loaded in memory
Dave Angel
d at davea.name
Sun Oct 21 20:47:32 EDT 2012
On 10/21/2012 08:31 PM, Anatoli Hristov wrote:
> Yes sorry, the name var(interval) is loaded from the ini file and also
> the Url. The reason is that the ini file will be configured from
> someone else. Example of the file
>
> URL = www # define your url
> interval = 1 # minutes for sync
>
> I see in the task manager each time it downloads the file that it
> grows up with 30kb.
> And I'm using Python 2.7 on windows 7
>
> Thanks
>
So now, that eliminates one of the errors. (Though import is much more
reasonable than exec(), and some config parser is better yet)
To fix the syntax error, you need + signs before and after the variable URL
--
DaveA
More information about the Python-list
mailing list