[Tutor] Verifying My Troublesome Linkage Claim between Python and Win7

Wayne Watson sierra_mtnview at sbcglobal.net
Sat Feb 27 23:38:44 CET 2010



On 2/27/2010 12:38 PM, Dave Angel wrote:
>
>
> Wayne Watson wrote:
>> Ok, I'm back after a three day trip. You are correct about the use of 
>> pronouns and a few misplaced words. I should have reread what I 
>> wrote. I had described this in better detail elsewhere, and followed 
>> that description with the request here probably thinking back to it.  
>> I think I was getting a bit weary of trying to find an answer. Try 
>> t;his.
>>
>>
>> Folder1
>>    track1.py
>>   data1.txt
>>   data2.txt
>>   data3.txt
>>
>> Folder2
>>    track1.py
>>    dset1.txt
>>    dset2.txt
>>    ...
>>    dset8.txt
>>
> So how do you know this is the structure?  If there really are 
> shortcuts or symbol links, why aren't you showing them?   Did you do a 
> DIR from the command line, to see what's there?  Or are you looking in 
> Explorer, which doesn't even show file extensions by default, and just 
> guessing what's where ?
I can see it looking at the folder. I suppose one might call it Win 
Explorer. It doesn't show any links. If I pick a file and right click on 
it, then a number of menu items are shown. If I pick Properties, it 
shows the link. The only link I need to provide you for the above, I 
described below. Look at the properties of the py file in folder2.
>
>> data and dset files have the same record formats. track1.py was 
>> copied into  Folder2 with ctrl-c + ctrl-v. 
>
> Those keys don't work from a command prompt.  From there, you'd use 
> COPY or something similar.  So I have to guess you were in an Explorer 
> window, pointing to Folder 1, and you selected the python file, and 
> pressed Ctrl-C.  Then you navigated to Folder 2, and pressed Ctrl-V.  
> If you did,  Windows 7 wouldn't have created any kind of special file, 
> any more than earlier ones did.  Chances are you actually did 
> something else.  For example, you might have used a right-click drag, 
> and answered "create shortcut" when it asked what you wanted to do.  
> Or perhaps you did drag/drop with some ctrl-or alt-key modifier.
You're right. I either dragged and dropped, or right clicked on the file 
and used the copy item. Similarly pasted, It's almost second nature to 
me. I'll do one right now using Explorer.

I'm in a folder that I called folder1 here. It has lots of txt files. I 
selected one, and mouse clicked copy. I then created a sub folder called 
junk, and selected it's empty, as expected. Now a mouse click to paste. 
The txt file is there. I mouse click on properties and the "link" says 
it's right where I punt it. In junk.
>
> Anyway, you need to be more explicit about what you did.  If you had 
> used a command prompt, you could at least have pasted the things you 
> tried directly to your message, so we wouldn't have so much guessing 
> to do.
Well, I guess I could get out my video camera and make a video, which I 
say tongue-in-cheek, but I really can do that.
>> When I run track1.py from folder1,  it clearly has examined the 
>> data.txt  files. 
> And how are you running track1.py ?  And how do you really know that's 
> what ran?  The code you posted would display a string, then the window 
> would immediately go away, so you couldn't read it anyway.
Awhile ago I ran it from IDLE. I know it rain because it puts output on 
the shell window, and writes three files.
>> If I run the copy of track1.py in folder2, it clearly operates on 
>> folder1 (one) data.txt files. This should not be.
>>
>> If I look at  the  properties of track1.py in folder2  (two), it  is  
>> pointing back to the program in folder1 (one).
> Exactly what do you mean by "pointing back" ?  If you're getting icons 
> in your Explorer view, is there a little arrow in the corner?  When 
> you did the properties, did you see a tab labeled "shortcut" ?
I do not use shortcut. I really don't know about Explorer. I use what is 
probably Explorer. It works like this. Go to drive C:. It displays 15 
folders. I click on the a folder until I get to my py programs. Once 
there, I see them and others all listed.
>>
>>
>> I do not believe I've experienced this sort of linkage in any WinOS 
>> before. I believed I confirmed that the same behavior occurs using 
>> cmd prompt.
>>
> Shortcuts have been in Windows for at least 20 years.  But you still 
> haven't given enough clues about what you're doing.
>
Video anyone? How about a live session?  I have a tool made by Cisco 
that would allow us to look at either's screen Actually, I really don't 
plan to build a career out of finding out the cause of this, so let's 
forget that. I'm read to punt.

I sent a copy of the program to Steven. I do not see it oisted. Possibly 
two reasons. It's stuck on my server, or the attachment is being held by 
the moderator. If someone cannot find the problem there, I think it's 
MS's problem, and I can probably finagle the code into folder in a way 
to test it in the "problem" folder. I'm the  only user of these programs 
that is likely to use W7. I can also go back to my XP PC, and finish 
this off there.




More information about the Tutor mailing list