On Sat, Jul 11, 2015, at 03:28, Chris Warrick wrote:
> That’s not necessarily “older”.
>
> Windows XP/7/8: My Documents
> Windows Vista/8.1: Documents
Mine's called Documents on 7 and 8. Is the system you got this
information from a new install or an upgrade? (It may also depend on
whether it's a
On 11 July 2015 at 02:24, wrote:
> The My Documents directory is not guaranteed to be named "Documents". On
> older versions of windows it was "My Documents", and on foreign versions
> of windows it is a name in their language.
That’s not necessarily “older”.
Windows XP/7/8: My Documents
Window
The My Documents directory is not guaranteed to be named "Documents". On
older versions of windows it was "My Documents", and on foreign versions
of windows it is a name in their language.
The correct way to get the path of this folder is, for example (couldn't
test since I'm on a mac right now)
On 2015-07-10 09:27, Mark Storkamp via Python-list wrote:
> sourcedir = os.environ['HOME']+"/Documents/"
First, I'd do a couple things here to accommodate various systems to
make it cross-platform:
sourcedir = os.path.join(
os.path.expanduser('~'),
"Documents"
)
> os.chdir(sourcedi
On Friday, July 10, 2015 at 11:18:57 PM UTC+5:30, Rustom Mody wrote:
> On Friday, July 10, 2015 at 8:56:48 PM UTC+5:30, Mark Storkamp wrote:
> > MRAB wrote:
> >
> > > On 2015-07-10 15:27, Mark Storkamp via Python-list wrote:
> > > > I'm just learning Python, and I've run into trouble trying to c
On Friday, July 10, 2015 at 8:56:48 PM UTC+5:30, Mark Storkamp wrote:
> MRAB wrote:
>
> > On 2015-07-10 15:27, Mark Storkamp via Python-list wrote:
> > > I'm just learning Python, and I've run into trouble trying to change
> > > directory to the windows My Documents directory. There's likely a b
In article ,
MRAB wrote:
> On 2015-07-10 15:27, Mark Storkamp via Python-list wrote:
> > I'm just learning Python, and I've run into trouble trying to change
> > directory to the windows My Documents directory. There's likely a better
> > way to do this, but this is what I've tried so far:
> >
>
On 2015-07-10 15:27, Mark Storkamp via Python-list wrote:
I'm just learning Python, and I've run into trouble trying to change
directory to the windows My Documents directory. There's likely a better
way to do this, but this is what I've tried so far:
Maybe HOMEPATH is what windows calls it?
http://libertyboy.free.fr/computing/reference/envariables/
(but maybe this is only for windows XP. I don't have
a windows system, so I cannot test this.)
Laura
--
https://mail.python.org/mailman/listinfo/python-list
On 10/07/2015 15:27, Mark Storkamp via Python-list wrote:
I'm just learning Python, and I've run into trouble trying to change
directory to the windows My Documents directory. There's likely a better
way to do this, but this is what I've tried so far:
I'm just learning Python, and I've run into trouble trying to change
directory to the windows My Documents directory. There's likely a better
way to do this, but this is what I've tried so far:
-
from tkinter import Tk
from tkinter.filedialog import as
11 matches
Mail list logo