On Wed, Jun 18, 2008 at 3:48 AM, Torsten A. <<a href="mailto:c2k_list@gmx.de">c2k_list@gmx.de</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thank you all for your replies.<br>
<br>
@Christian:<br>
I should have mentioned that. The current directory is in the pythonpath. In<br>
the variable PYHTONPATH the dot is set and when I walk through the<br>
filesystem, starting python from different locations, the current path is<br>
always set in sys.path. Hence, I asssume that PythonPath is set correctly.<br>
So your suggestion, what I thought would work<br>
<div class="Ih2E3d">> cd \original_project<br>
> trial package_to_test<br>
><br>
> cd \modified_project<br>
> trial package_to_test<br>
</div>does actually not work. Who knows why...</blockquote><div>I'm guessing this is abnormal behavior that's on WinXP only? I on winXP have tried setting multiple environment variables to include a project path, but imports did not work. The only way I could add a path to python's import paths on winXP was to edit the registry.<br>
<br>If PYTHONPATH being set in windowsXP doesn't seem to have any effect
(Like it doesn't seem to work for me ) the only fix I found was a
registry edit. At the path:
HKLM\SOFTWARE\Python\PythonCore\2.5\PythonPath create a new key, ie:
'project1', create a new value, name=(Default),
value='c:\data\path\to\project'<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have never really used a version control system I have to admit. I thought<br>
of control systems to log changes which can in case of severe damage or what<br>
ever reason be made undone. But if I can execute different versions of the<br>
project, e.g. in my case the initial version and the last modified, just by<br>
saying run this one or that one, I am glad to use it. Can this be done<br>
(excuse my probably dumb question)? Can someone please give me catchword to<br>
search for? As I looked briefly in the bazaar guide<br>
(<a title="http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html" href="http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html" target="_blank">http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html</a>) I wasn't able<br>
to find anything helpful.<font color="#888888"></font></blockquote><div>( I don't know much about version control, it's something I'm looking into. ) A term to search, maybe you're looking for is 'clone' or 'branch'. <br>
<br>If you meant to search for differnt code versioning programs, here's some: Mercurial ( <a href="http://www.selenic.com/mercurial/wiki/">http://www.selenic.com/mercurial/wiki/</a> ), Subversion ( <a href="http://subversion.tigris.org/">http://subversion.tigris.org/</a> ), TortoiseSVN ( <a href="http://tortoisesvn.net/">http://tortoisesvn.net/</a> )<br>
<br>Hope that helps :P<br></div></div>-- <br>Jake