>>> a="1 2, 3".split([" ", ","]) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: must be str or None, not list
И весь питон такой. Казалось бы, ну батарейки? И где они?