Quote:
Originally Posted by sark666
Haivng limited knowledge of python (but learning) I'm not sure what you mean if I use string I need to import it. I'll try without.
|
You would need this at the top of the recipe:
Otherwise, your recipe doesn't know the string function.
Quote:
You also mentioned to try print to make sure it's chopping up correctly, well I tried in a python editor previously and it's chopping up the string as I expected. I'm just not passing it back properly.
|
If you didn't have string imported, it would have failed. Didn't you get an error message? I like to print the results when the recipe runs, then I can see if it's doing what I expect. I take print statements out only after it's all working.