[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

What's Going on between Python and win7?

W. eWatson

2/22/2010 3:22:00 PM

Last night I copied a program from folder A to folder B. It inspects the
contents of files in a folder. When I ran it in B, it gave the results
for A! Out of frustration I changed the name in A, and fired up the
program in B. Win7 went into search mode for the file. I looked at
properties for the B program, and it was clearly pointing to folder A.

Anyone have this happen to them?

Another anomaly. I have the files track.py and trackstudy.py in the same
folder along with 100 or so other py and txt data files. When I did a
search from the folder window in the upper right corner, search only
found one of the two. I called HP tech support about it, and they could
see it for themselves via remote control. They had no idea, but agreed
to contact MS. In this case, I noted that this search box has some sort
of filter associated with it. Possibly, in my early stages of learning
to navigate in Win7, I accidentally set the filter.

Comments?
28 Answers

Krister Svanlund

2/22/2010 3:43:00 PM

0

On Mon, Feb 22, 2010 at 4:22 PM, W. eWatson <wolftracks@invalid.com> wrote:
> Last night I copied a program from folder A to folder B. It inspects the
> contents of files in a folder. When I ran it in B, it gave the results for
> A! Out of frustration I changed the name in A, and fired up the program in
> B. Win7 went into search mode for the file. I looked at properties for the B
> program, and it was clearly pointing to folder A.
>
> Anyone have this happen to them?
>
> Another anomaly. I have the files track.py and trackstudy.py in the same
> folder along with 100 or so other py and txt data files. When I did a search
> from the folder window in the upper right corner, search only found one of
> the two. I called HP tech support about it, and they could see it for
> themselves via remote control. They had no idea, but agreed to  contact MS.
> In this case, I noted that this search box has some sort of filter
> associated with it. Possibly, in my early stages of learning to navigate in
> Win7, I accidentally set the filter.
>
> Comments?

I can't really see the python related problem here...

MRAB

2/22/2010 4:02:00 PM

0

W. eWatson wrote:
> Last night I copied a program from folder A to folder B. It inspects the
> contents of files in a folder. When I ran it in B, it gave the results
> for A! Out of frustration I changed the name in A, and fired up the
> program in B. Win7 went into search mode for the file. I looked at
> properties for the B program, and it was clearly pointing to folder A.
>
Sounds like you didn't copy it but made a shortcut to it instead.

> Anyone have this happen to them?
>
> Another anomaly. I have the files track.py and trackstudy.py in the same
> folder along with 100 or so other py and txt data files. When I did a
> search from the folder window in the upper right corner, search only
> found one of the two. I called HP tech support about it, and they could
> see it for themselves via remote control. They had no idea, but agreed
> to contact MS. In this case, I noted that this search box has some sort
> of filter associated with it. Possibly, in my early stages of learning
> to navigate in Win7, I accidentally set the filter.
>
> Comments?

Not Python-related.

Dave \Crash\ Dummy

2/22/2010 4:30:00 PM

0

On 2010-02-22, W. eWatson <wolftracks@invalid.com> wrote:

> Last night I copied a program from folder A to folder B.

[tail of various windows breakages elided]

> Comments?

Switch to Linux?

Or at least install Cygwin?

--
Grant Edwards grante Yow! Maybe I should have
at asked for my Neutron Bomb
visi.com in PAISLEY --

W. eWatson

2/22/2010 6:31:00 PM

0

On 2/22/2010 8:29 AM, Grant Edwards wrote:
> On 2010-02-22, W. eWatson<wolftracks@invalid.com> wrote:
>
>> Last night I copied a program from folder A to folder B.
>
> [tail of various windows breakages elided]
>
>> Comments?
>
> Switch to Linux?
>
> Or at least install Cygwin?
>
Yes, definitely not related, but maybe some W7 user has a similar
experience here. It seems a natural place to look, since it should be
reasonably common.

I have Cygwin.

Gib Bogle

2/22/2010 8:16:00 PM

0

MRAB wrote:
> W. eWatson wrote:
>> Last night I copied a program from folder A to folder B. It inspects
>> the contents of files in a folder. When I ran it in B, it gave the
>> results for A! Out of frustration I changed the name in A, and fired
>> up the program in B. Win7 went into search mode for the file. I looked
>> at properties for the B program, and it was clearly pointing to folder A.
>>
> Sounds like you didn't copy it but made a shortcut to it instead.

Windows 7 has symbolic links?

John Bokma

2/22/2010 8:34:00 PM

0

Gib Bogle <g.bogle@auckland.no.spam.ac.nz> writes:

> MRAB wrote:
>> W. eWatson wrote:
>>> Last night I copied a program from folder A to folder B. It
>>> inspects the contents of files in a folder. When I ran it in B, it
>>> gave the results for A! Out of frustration I changed the name in A,
>>> and fired up the program in B. Win7 went into search mode for the
>>> file. I looked at properties for the B program, and it was clearly
>>> pointing to folder A.
>>>
>> Sounds like you didn't copy it but made a shortcut to it instead.
>
> Windows 7 has symbolic links?

Symbolic links are designed to aid in migration and application
compatibility with UNIX operating systems. Microsoft has implemented
its symbolic links to function just like UNIX links.

:

Symbolic links are available in NTFS starting with Windows Vista.

http://msdn.microsoft.com/en-us/librar...(VS.85).aspx

--
John Bokma j3b

Hacking & Hiking in Mexico - http://john...
http://castle... - Perl & Python Development

John Bokma

2/22/2010 10:03:00 PM

0

Grant Edwards <invalid@invalid.invalid> writes:

> On 2010-02-22, John Bokma <john@castleamber.com> wrote:
>> Gib Bogle <g.bogle@auckland.no.spam.ac.nz> writes:
>>
>>> MRAB wrote:
>>>> W. eWatson wrote:
>>>>> Last night I copied a program from folder A to folder B. It
>>>>> inspects the contents of files in a folder. When I ran it in B, it
>>>>> gave the results for A! Out of frustration I changed the name in A,
>>>>> and fired up the program in B. Win7 went into search mode for the
>>>>> file. I looked at properties for the B program, and it was clearly
>>>>> pointing to folder A.
>>>>>
>>>> Sounds like you didn't copy it but made a shortcut to it instead.
>>>
>>> Windows 7 has symbolic links?
>>
>> Symbolic links are designed to aid in migration and application
>> compatibility with UNIX operating systems. Microsoft has implemented
>> its symbolic links to function just like UNIX links.
>
> So symbolic links on W7 function like Unix (hard) links
> rather than Unix _symbolic_ links??

Which leads you to this conclusion?

According to http://msdn.microsoft.com/en-us/librar...(VS.85).aspx

There are three types of file links supported in the NTFS file
system: hard links, junctions, and symbolic links. This topic is an
overview of hard links and junctions. For information about symbolic
links, see Creating Symbolic Links.

Creating Symbolic Links:
http://msdn.microsoft.com/en-us/librar...(VS.85).aspx

--
John Bokma j3b

Hacking & Hiking in Mexico - http://john...
http://castle... - Perl & Python Development

Gib Bogle

2/22/2010 10:11:00 PM

0

John Bokma wrote:
> Gib Bogle <g.bogle@auckland.no.spam.ac.nz> writes:
>
>> MRAB wrote:
>>> W. eWatson wrote:
>>>> Last night I copied a program from folder A to folder B. It
>>>> inspects the contents of files in a folder. When I ran it in B, it
>>>> gave the results for A! Out of frustration I changed the name in A,
>>>> and fired up the program in B. Win7 went into search mode for the
>>>> file. I looked at properties for the B program, and it was clearly
>>>> pointing to folder A.
>>>>
>>> Sounds like you didn't copy it but made a shortcut to it instead.
>> Windows 7 has symbolic links?
>
> Symbolic links are designed to aid in migration and application
> compatibility with UNIX operating systems. Microsoft has implemented
> its symbolic links to function just like UNIX links.
>
> :
>
> Symbolic links are available in NTFS starting with Windows Vista.
>
> http://msdn.microsoft.com/en-us/librar...(VS.85).aspx
>

That explains my ignorance of this (excellent) development. I'm still using W2K
and XP.

Dave \Crash\ Dummy

2/22/2010 10:40:00 PM

0

On 2010-02-22, John Bokma <john@castleamber.com> wrote:
> Grant Edwards <invalid@invalid.invalid> writes:

>>>> Windows 7 has symbolic links?
>>>
>>> Symbolic links are designed to aid in migration and application
>>> compatibility with UNIX operating systems. Microsoft has implemented
>>> its symbolic links to function just like UNIX links.

>>
>> So symbolic links on W7 function like Unix (hard) links
>> rather than Unix _symbolic_ links??
>
> Which leads you to this conclusion?

The quote above that says that "symbolic links" on W7 function
just like "links" on Unix. A "link" on Unix is a hard link. I
presumed that if they meant "symbolic links" on Unix, they
would have said "symbolic links".


--
Grant Edwards grante Yow! What a COINCIDENCE!
at I'm an authorized "SNOOTS
visi.com OF THE STARS" dealer!!

Lawrence D'Oliveiro

2/22/2010 11:02:00 PM

0

In message <mailman.60.1266854492.4577.python-list@python.org>, MRAB wrote:

> Not Python-related.

Seems to be pretty common with Windows-related complaints in this group.