Where is python31.dll?

  • Thread starter Pietro Campesato
  • Start date
P

Pietro Campesato

Hi,
recently I've been wondering how to roll my own portable python 3.1
(since there seems to be no portable app specifically for this
version). Thinking you can just copy your install folder (+ python's
dll), I've noticed that there seems to be no python31.dll in my
systems folder (c:\windows\system32\).

I cannot find the dll inside the python installation folder either.
Another reason I'm asking is because what I've found on the net so far
tells you to look for this dll specifically. Am I missing something?

Thanks,
Alex

PS: my setup is version 3.1.2 on windows vista
 
T

Terry Reedy

Hi,
recently I've been wondering how to roll my own portable python 3.1
(since there seems to be no portable app specifically for this
version). Thinking you can just copy your install folder (+ python's
dll), I've noticed that there seems to be no python31.dll in my
systems folder (c:\windows\system32\).

That is where it is on my WinXP system, installed for all users.
I cannot find the dll inside the python installation folder either.
Another reason I'm asking is because what I've found on the net so far
tells you to look for this dll specifically. Am I missing something?

Your windows search command?
Which is how I verified the above.
 
P

Pietro Campesato

Your windows search command?
Which is how I verified the above.

I looked at the folder visually. Simply using os.listdir shows there
is in fact a python31.dll there: somehow it was an invisible file.
This is strange since I've never touched any system folder. Thanks and
forgive me if I have asked the group a silly question.
 
D

Dave Angel

Pietro said:
I looked at the folder visually. Simply using os.listdir shows there
is in fact a python31.dll there: somehow it was an invisible file.
This is strange since I've never touched any system folder. Thanks and
forgive me if I have asked the group a silly question.
"visually"? Lots of possibilities there. And if you're not sure, you
need to get familiar with Windows quirks.

IF you're using Explorer, there are a few ways you could miss a single
file out of thousands.

Simplest is that the listing is not necessarily completely sorted. You
need to do a View->ArrangeIconsBy->Name
to really trust that they're sorted today. And you may have to repeat
that menu again next time you launch Explorer, or even next time you
look at some other directory.

Next is that Explorer is initialized by Microsoft to mostly use the
worst possible defaults. One is to hide system and hidden files
.. Another is to hide extensions of known types. Either of these could
make you overlook the file.

HTH
DaveA
 
P

Pietro Campesato

Dave said:
"visually"? Lots of possibilities there. And if you're not sure, you
need to get familiar with Windows quirks.

IF you're using Explorer, there are a few ways you could miss a single
file out of thousands.

Simplest is that the listing is not necessarily completely sorted. You
need to do a View->ArrangeIconsBy->Name
to really trust that they're sorted today. And you may have to repeat
that menu again next time you launch Explorer, or even next time you
look at some other directory.

Next is that Explorer is initialized by Microsoft to mostly use the
worst possible defaults. One is to hide system and hidden files
. Another is to hide extensions of known types. Either of these could
make you overlook the file.

HTH
DaveA

You are right, I guess I should rely on programmatic ways to find
specific files.
Thank you.
 

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

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,176
Latest member
Jerilyn201
Top