Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31873 > unrolled thread

Re: program loaded in memory

Started byDave Angel <d@davea.name>
First post2012-10-21 20:47 -0400
Last post2012-10-21 20:47 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: program loaded in memory Dave Angel <d@davea.name> - 2012-10-21 20:47 -0400

#31873 — Re: program loaded in memory

FromDave Angel <d@davea.name>
Date2012-10-21 20:47 -0400
SubjectRe: program loaded in memory
Message-ID<mailman.2615.1350866882.27098.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web