Re: having trouble importing a module from local directory
newbie reply, but how do i go about doing that? thanks! -- http://mail.python.org/mailman/listinfo/python-list
Re: having trouble importing a module from local directory
vduber6er escribió: > First off this is in unix. > > I have a C file that has python embedded in it. In the script I have > the following > > PyRun_SimpleString(code); > > where > code = "import mymodule" > > however I get this error > > Traceback (most recent call last): > File "", line 1, in ?