<br><br><div class="gmail_quote">On Tue, Mar 8, 2011 at 4:09 AM, ALAN GAULD <span dir="ltr"><<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div class="im">> When I use os.chdir (by the way: why on earth isn't this called os.setcwd()?? <br>> That's consistent with os.getcwd()) <br>
<br></div>History.<br>They are Unix commands (and possibly Multics/PDP before that!).<br>cd has been the command in almost every CLI OS I've ever used from <br>CP/M thru' OS/9, Unix, DOS, etc...<br><br>The only exceptions being VAX/VMS(uses 'set def') and OS/390 on <br>
a mainframe which doesn't use a directory based file system.<br><br>That doesn't mean Python shouldn't adopt a more consistent naming <br>scheme it's just that the folks building it simply transferred the names <br>
of the commands that they were familiar with. Its a self perpetuating<br>habit... :-)<br><br>Alan G.<br></div></div><br>_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
<br></blockquote></div><br>I'm glad to see you got the result you wanted. But, by moving your current working directory to the library's directory seems like it could cause other problems with the code. I don't do python on windows, and have unremembered a lot I used to know about windows. So, my question is, isn't there another way to do this?<br clear="all">
<br>-- <br>Joel Goldstick<br><br>