python - Splitting a list -


I pressed different resources and could not understand how to do a simple operation.

Now, I have the following types of list:

  li = [['a = b'], ['c = d']]  

I want to change it as: li = [['a', 'b'], ['c', 'd']]

As I understand, the partition ("=") only applies to string types.

- DAN

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -