"pythonic"

Robin Munn rmunn at pobox.com
Mon Apr 21 13:47:03 EDT 2003


soporte_cali <soporte_cali at terra.com.co> wrote:
> I am quite new to python so please forgive me if my question is too 
> newby. I am running a phyton exe file, linux red hat, it is an indexing
> system that takes a flat file and index it. the py program once runned
> is giving  me this:
> 
>  ./index.py:57: SyntaxWarning: import * only allowed at module level
>   def createIndex(dbname,idtokenNum=1,keySize=10,idtokenChar=' '):
> error: unknown library " <nameoflibrary.py> " does not exit 
> Library  nameoflibrary.py  Does not exist
> 
> so where should I place the name of this library? I mean is there any
> special place to put it? libnames? well thanks in advance.. 

That doesn't look like any Python error message *I'm* familiar with...

Is this the actual error message, or your own paraphrase? If it's the
latter, plase copy and paste the actual error message. It would also be
helpful if you could show the code that is causing the error. Not the
entire file, of course, but maybe the line that's causing the error plus
the surrounding code (say, the function that line appears in).

-- 
Robin Munn <rmunn at pobox.com>
http://www.rmunn.com/
PGP key ID: 0x6AFB6838    50FF 2478 CFFB 081A 8338  54F7 845D ACFD 6AFB 6838




More information about the Python-list mailing list