import geek_decode meaning,remaining = geek_decode.parse_geekcode(' GS blabla GDS') print(meaning, remaining)