Learning Python and a little bit stuck.
I\'m trying to set a variable to equal int(stringToInt) or if the string is empty set to None.
int(stringToInt)
None
this will parse stringToInt to int if it's valid and return original value if it's '' or None
variable = stringToInt and int(stringToInt)