HelloWord import Error

"大章鱼" <[email protected]> Fri, 27 Jun 2008 11:14:52 +0800
Newsgroups gmane.comp.python.quotient.dev
Message-ID <[email protected]>
--===============0056157149==
Content-Type: multipart/alternative; 
	boundary="----=_Part_15881_526559.1214536492217"

------=_Part_15881_526559.1214536492217
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi:

 I got an import Error when I run the helloword app:


File "C:\Python25\lib\site-packages\twisted\
adValueFromFile
    exec fileObj in d, d
  File "hello.tac", line 7, in <module>
    import hello
exceptions.ImportError: No module named hello

I'm using windows vista and i've already put
'sys.path.append('D:/workspace/py/test/')' in the hello.tac, anyone can help
me?  thanks a lot!

------=_Part_15881_526559.1214536492217
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi:<br><br>&nbsp;I got an import Error when I run the helloword app:<br><br><br>File &quot;C:\Python25\lib\site-packages\twisted\<br>adValueFromFile<br>&nbsp;&nbsp;&nbsp; exec fileObj in d, d<br>&nbsp; File &quot;hello.tac&quot;, line 7, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; import hello<br>exceptions.ImportError: No module named hello<br><br>I&#39;m using windows vista and i&#39;ve already put &#39;sys.path.append(&#39;D:/workspace/py/test/&#39;)&#39; in the hello.tac, anyone can help me?&nbsp; thanks a lot!<br>
<br><br>

------=_Part_15881_526559.1214536492217--


--===============0056157149==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline