Re: What's Going on between (Verify) Python and win7?

2010-02-24 Thread Tim Roberts
W. eWatson wolftra...@invalid.com wrote:

Maybe someone could verify my result?

open file
read file line
print line
close file

data 1234

Execute it in a folder

Create another folder and copy the program to it.
put in a new data file as

data 4567

Execute the copied program
Does it give
data1234?

No, of course not.

  C:\tmp\xecho data 1234data.txt

  C:\tmp\xtype check.py
  f = open('data.txt','r')
  print f.read()
  f.close()

  C:\tmp\xcheck.py
  data 1234

  C:\tmp\xcd ..\y

  C:\tmp\yecho data 4567data.txt

  C:\tmp\ycopy ..\x\check.py .
  1 file(s) copied.

  C:\tmp\ycheck.py
  data 4567

  C:\tmp\y

Would you like to post your exact code?
-- 
Tim Roberts, t...@probo.com
Providenza  Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What's Going on between (Verify) Python and win7?

2010-02-22 Thread W. eWatson

Maybe someone could verify my result?

open file
read file line
print line
close file

data 1234

Execute it in a folder

Create another folder and copy the program to it.
put in a new data file as

data 4567

Execute the copied program
Does it give
data1234?

--
http://mail.python.org/mailman/listinfo/python-list