Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31873
| Date | 2012-10-21 20:47 -0400 |
|---|---|
| From | Dave Angel <d@davea.name> |
| Subject | Re: program loaded in memory |
| References | <CAKhY55NWpOxpTdTNi6i1vio0u9utL72Gq6CA1w81QFNmQz8+RQ@mail.gmail.com> <50849151.1080807@davea.name> <8497844152128210023@unknownmsgid> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2615.1350866882.27098.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: program loaded in memory Dave Angel <d@davea.name> - 2012-10-21 20:47 -0400
csiph-web