Hi Nora,

the nora.py in c:\python25 will always be used, because it is in your
path, and will get imported before your modified file.
("import sys; sys.path").
I would suggest to just move the file c:\python25\nora.py out of the
way, into another folder which is not in your PATH.


On Fri, Nov 28, 2008 at 5:39 PM, Nora <[EMAIL PROTECTED]> wrote:
>
> Hello,
> Well. I have a c:\python25 folder where the python run time is
> installed.  I will give a more precise example, may be this will help.
> Say I have a file called 'nora.py' saved in the folder c:\python25...
> so now my file is located in c:\python25\nora.py
>
> I started to develope a website, so I created a new folder for my
> website under c:\program files\google\google_appengine.  and named it
> NoraWebSite.  Now I have c:\program files\google\google_appengine
> \NoraWebSite\
>
> I copied nora.py to c:\program files\google\google_appengine
> \NoraWebSite\
>
> I will definitly need to do some modifications to nora.py.   Now, I
> have two nora.py files in two different locations and theortically
> speaking, they contain different data to some extent.
>
> The problem is: if I try to copy the modified nora.py to another
> location, I end up having the first nora.py!!!!!
> It seems that there is an inheritance somehow....if I try to copy the
> child, I end up with the parent file.
>
> I hope this is clearer now.
>
> Thank you very much.
>
> On Nov 28, 4:02 pm, "Jesaja Everling" <[EMAIL PROTECTED]> wrote:
>> Hello Nora,
>>
>> to be honest, I don't really understand your problem.
>> Did you rename the folder "python25" to "myFolder"?
>> I don't understand what you mean by "the system copies the original
>> file saved in 'python25'.?
>> Is the folder python25 still around?
>> What files are inside this folder?
>> Maybe you have still referenced the folder in your app.yaml?
>> I wouldn't name any folder "python25", because that's the folder where
>> your python runtime is stored, at least if you have python 2.5
>> installed (c:\python25).
>> This doesn't have to lead to problems, but it can, because this folder
>> will be in your path...
>>
>> Best Regards,
>>
>> Jesaja Everling
>>
>>
>>
>> On Fri, Nov 28, 2008 at 4:04 PM, Nora <[EMAIL PROTECTED]> wrote:
>>
>> > Hello,
>> > I am working on windows.  I had some code developed in python in a
>> > directory called 'python25'.  I have copied this code to a new folder
>> > on the google_appengine folder .  So, now I have all my updated files
>> > on :
>>
>> > c:\program files\googles\google_appengine\myFolder
>>
>> > The problem is, whenever I want to copy any file in 'myFolder' to the
>> > any other folder, the system copies the  original file saved in
>> > 'python25', not the updated file on google_appengine folder.
>>
>> > I don't know why this is happening and whether google_appengine SDK
>> > sets certain file permissions when it is installed or what?
>>
>> > Please, suggest any clues as this is crucial for my website to be
>> > published, otherwise, I won't be able to copy my website files to
>> > google server (as the very old version saved on python25 directory
>> > will be used!!)
>>
>> > Thank you very much.- Hide quoted text -
>>
>> - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to