[Tutor] Comparing a string

Jonas Melian jonasmg at softhome.net
Fri May 20 11:43:25 CEST 2005


I'm tryin compare a string with a value with style of pattern-matching.

string = 'i686'

if string == glob.glob(i?86):

This is fails because glob() is for listing files in a directory that
match a Unix ls-pattern

how make it?

Thanks!


More information about the Tutor mailing list