Hi,

Help with a "No such file ..." error. I have the next folder structure:
---Network contains:
    --packets.py
    --Temp contains:
       -test.py

Well, within packets.py I do this:
from Temp.test import *

Within test.py I do this:
f = open ("topo.txt", "r")

The error is:
No such file "topo.txt"

However, when I execute test.py, without using neither packets.py nor the 
folder structure, there is no error, because topo.txt exists.

I'm sure I'm doing something wrong with the "import" staff or "path" maybe, but 
have no idea...please help!!!

Thanks in advance!

**
Mónica Guerrero
M.Sc. Student
Rey Juan Carlos University
Madrid




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

Reply via email to