selecting files from MySQL

amy amylang at zedat.fu-berlin.de
Sun Mar 31 14:24:19 EST 2002


hello python-knowing,
can somebody help me to solve a little problem in a script, sc selecting
files from a mysql database?
so far, it doesn't want to work:


    if fileid['translation'] == 'none':
       actie = suchen fileid == 'none'
    elif fileid['translation'] == 'de-orig':
       actie = suchen fileid == 'de-orig'
    elif fileid['translation'] == 'nl-orig':
       actie = suchen fileid == 'nl-orig'
    elif fileid['translation'] == 'no-orig':
       actie = suchen fileid == 'no-orig'
    else:
       search = opt['such']


thanks a lot, if it's possible
amy





More information about the Python-list mailing list