Originally created by: fzumst...@gmail.com
What steps will reproduce the problem?
Execute in a Spyder console:
import os
os.path.expanduser('~')
What is the expected output? What do you see instead?
Expected (on Windows): 'C:\Users\Login'
Instead seen: 'C:\\DEV\\WinPython-64bit-2.7.3.2\\settings'
What version of the product are you using? On what operating system?
-see path above
Please provide any additional information below.
from PyQt4.QtCore import QDir
QDir.homePath()
works correctly.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: pierre.raybaut
Actually this is the intended behavior: the %HOME% environment variable is redirected towards the local "settings" directory. This is the expected behavior for a portable application.
However, I have plans to make this redirection optional.
See my comments in Roadmap (https://code.google.com/p/winpython/wiki/Roadmap) and Issue 19.
Mergedinto: 19
Status: Duplicate
Related
Tickets:
#19