Remove annoying '.' Python snippet.