Support for Windows 7 ?

  • Thread starter Pascale Mourier
  • Start date
P

Pascale Mourier

Hello,

I don't know how to report presumed "bugs" to the Python development
team.. in the past, the very few bugs I found were always fixed by a
more recent version.

On of my students has installed Windows 7 RTM on his cherished computer,
and claims that Python 2.6.2 doesn't support it.
The sample program had a problem with the library function
os.listdir(dirarg) always returning the same result for different values
of dirarg.

DO YOU KNOW HOW FAR Python has been tested for Windows 7?

Thanks for suggestions.

Pascale.
 
M

Martin v. Löwis

On of my students has installed Windows 7 RTM on his cherished computer,
and claims that Python 2.6.2 doesn't support it.
The sample program had a problem with the library function
os.listdir(dirarg) always returning the same result for different values
of dirarg.

DO YOU KNOW HOW FAR Python has been tested for Windows 7?

To my knowledge, it works fine. I built and tested Python 3.1.1 on
Windows 7, and didn't notice anything strange.

In most respects, Windows 7 is compatible with Vista, so anything
that runs well on Vista (including Python) should also work on W7
just fine.

If there is a specific problem, we would need a specific test case,
to be reported to bugs.python.org.

Regards,
Martin
 
P

Pascale Mourier

Martin v. Löwis a écrit :
If there is a specific problem, we would need a specific test case,
to be reported to bugs.python.org.

Tks for the name above. I asked my student to prepare the bug demo package,

but I didn't know how to send it!

Given that the problem is with reading the file system, it is likely to
be w/ sth else

than Windows 7, maybe some weird HD partition combination?

Rgds,

Pascale.
 
M

Martin v. Löwis

Given that the problem is with reading the file system, it is likely to
be w/ sth else

than Windows 7, maybe some weird HD partition combination?

Without having seen any details, I refuse to guess. Most likely, it is
a user mistake.

Regards,
Martin
 
M

Michel Claveau - MVP

Bonjour !

Plusieurs points :
- Python (ainsi que Pywin32) fonctionne TRÈS bien sous Windows-7 (je l'utilise depuis plus d'un an, sur Win-7 beta, RC, RTM, en 32 bits et en 64 bits). Résultats : AUCUN problème.
- Il existe des sources françaises (newsgroups, sites, forums, etc.) qui peuvent répondre aussi bien sur Python, que les newsgroups américains.

Du coup, j'ai envie de déduire :
- Que certains étudiants d'écoles de commerce françaises préfèrent travailler avec "l'étranger" plutôt qu'avec "le français".
- Il faudra dire à d'autres étudiants d'écoles de commerce françaises que le fait de ne pas arriver/savoir installer et tester Python sous Windows-7 donne une mauvaise image de l'école...

@-salutations
 
P

Pascale Mourier

Martin v. Löwis a écrit :
Without having seen any details, I refuse to guess. Most likely, it is
a user mistake.

YES IT IS! Sorry for the inconvenience. I usually start from this
assumption. Yesterday this new student was really agressive, and I
assumed he was right!

Here's his mistake: with Windows the name of the directory rooted at a
drive name (say C:) is called 'C:\' not 'C:', and it's been that way for
ages.
Well, os.listdir('C:') instead of raising an exception, for some reason
behaves like os.listdir('.').
 
P

Pascale Mourier

Michel Claveau - MVP a écrit :
Bonjour !

Plusieurs points :
- Python (ainsi que Pywin32) fonctionne TRÈS bien sous Windows-7 (je l'utilise depuis plus d'un an, sur Win-7 beta, RC, RTM, en 32 bits et en 64 bits). Résultats : AUCUN problème.
- Il existe des sources françaises (newsgroups, sites, forums, etc.) qui peuvent répondre aussi bien sur Python, que les newsgroups américains.

Merci pour l'info et la leçon. Je m'en souviendrai.
Du coup, j'ai envie de déduire :
- Que certains étudiants d'écoles de commerce françaises préfèrent travailler avec "l'étranger" plutôt qu'avec "le français".
- Il faudra dire à d'autres étudiants d'écoles de commerce françaises que le fait de ne pas arriver/savoir installer et tester Python sous Windows-7 donne une mauvaise image de l'école...

Ayez toutes les envies de déduction qui vous passent par la tête, mais
je vous suggère d'éviter de les exposer si vite au jugement de tous!

Primo, je ne suis pas étudiante, deuxio nous ne sommes pas une école de
commerce, tertio le cours est donné en anglais, et pour finir.. c'est
vrai que j'ai bossé davantage en anglais US qu'en français, et que ma
première réaction (à tort vous avez raison) est de m'exprimer en anglais.

Par ailleurs le problème étant résolu (c'était une erreur de
l'utilisateur) je ne vois pas l'intérêt de poursuivre ce fil.

Pascale Mourier.
 
M

MRAB

Pascale said:
Martin v. Löwis a écrit :


YES IT IS! Sorry for the inconvenience. I usually start from this
assumption. Yesterday this new student was really agressive, and I
assumed he was right!

Here's his mistake: with Windows the name of the directory rooted at a
drive name (say C:) is called 'C:\' not 'C:', and it's been that way for
ages.
Well, os.listdir('C:') instead of raising an exception, for some reason
behaves like os.listdir('.').

I believe that in Windows (and inherited from MS-DOS) there's a current
directory for each drive. If you want to change the current directory to
another directory on another drive in the Windows command prompt then
you must change both the current drive and the current directory for
that drive, eg:

D:
chdir another_dir
 
T

Thorsten Kampe

* MRAB (Sat, 05 Sep 2009 17:54:00 +0100)
I believe that in Windows (and inherited from MS-DOS) there's a current
directory for each drive. If you want to change the current directory to
another directory on another drive in the Windows command prompt then
you must change both the current drive and the current directory for
that drive, eg:

Exactly (or use the "/d" parameter which is a newer improvement).

Thorsten
 
P

Pascale Mourier

Many thanks to all contributors! I learnt sth I never realized before:
Windows indeed maintains a "current directory" for each drive!

As you may guess, I'm not very fond of DOS / Windows. My training with
those OS started with "hands-on" experience on a machine w/ a single
"C:" drive (namely a 5" diskette).

Well.. again, many thks to Thorsten Kampe, Tim Roberts and Grant
Edwards. It seems that after all, Windows deserves a closer look! I
shall grab every opportunity to learn more about it.

Pascale.
 
J

jkn

YES IT IS! Sorry for the inconvenience. I usually start from this
assumption. Yesterday this new student was really agressive, and I
assumed he was right!

I suggest that (in general) you don't allow the first clause of this
last sentence to lead to the second clause...


J^n
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top