SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
By DannyDJ
#51447
Hi! Did anyone try to work with strings in python?My problem is that i would like to split this string =(*pin_number*ip_adress*port*username*password*) into list like = ['pin_number','port','username','password']

I don't know why script on module stops executing when it comes to this line:

settings = "*0000*84.212.10.20*80*user*usepass*
list = settings.split("*")

and this does for every other string function that is mentioned Easy Script in Python.
By DannyDJ
#51452
Problem solved!Tnx anyway