Astromaier
Astromaier
Posts
Archiv
Projekte
Werke
Über
Hell
Dunkel
Automatisch
programming
Programming hint
Reset all local variables at the beginning of the loop (Except counters and similar of course). So you won’t mixup values from the old loop with the actual loop !
Zuletzt aktualisiert am 19 Okt. 2019
old_wiki
Python fuzzy string comparison
Fuzzy string comparison >>> import difflib >>> s=difflib.SequenceMatcher(None, "abcd","bcde") # Return a measure of the sequences’ similarity as a float in the range [0, 1]. # This is 1.0 if the sequences are identical, and 0.
Zuletzt aktualisiert am 19 Okt. 2019
old_wiki
Zitieren
×