I am using Python IDLE 2.4.3 on Windows XP. I use File ->New Window to create a new program. In the Save As dialog, it always takes me to the python program directory (where python is installed). Since this is not where I want to save my source file, I have to select the directory I want.
Is...
Here is one solution to your problem. I modified the names in the program to make it easier for me to
follow. This solution is based on the fact the each line in a file is terminated by the newline character
("\n"). The test data I used is as follows:
HTMFileList.txt is the name of the...
I ran the following program to retrieve entries from the windows registry on Windows XP:
Program Code:
import win32api, win32con
aReg = win32api.RegConnectRegistry(None, win32con.HKEY_CURRENT_USER)
aKey = win32api.RegOpenKeyEx(aReg, r"Software\Microsoft\Internet Explorer\PageSetup")
for i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.