Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: program loaded in memory

Reply
Thread Tools

Re: program loaded in memory

 
 
Dave Angel
Guest
Posts: n/a
 
      10-22-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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
program loaded in memory Anatoli Hristov Python 2 10-22-2012 02:19 PM
Re: program loaded in memory Anatoli Hristov Python 0 10-22-2012 12:31 AM
How JVM is loaded in your program ? koolViru Java 7 09-04-2005 10:37 AM
java -verbose doesn't show "loaded from" for classes loaded from custom jars in the classpath Udo Corban Java 0 01-23-2004 09:32 AM
Re: how to programatically give assembly loaded from network the same trust as those loaded from local host? Marcelo Birnbach [MS] ASP .Net 0 06-27-2003 11:51 PM



Advertisments