I am using Python 3.2 on Windows 7. When I open the Python shell, how can I know what the current directory is and how can I change it to another directory where my modules are?
I have a string “2012.11.07” in python. I need to convert it to date object and then get an integer value of day of year and also Julian day. Is it possible?
Let’s say I create an instance of a class and want to assign some values to its public properties. Usually, this would be done like this:
self.name = …