Quote:
Originally Posted by Flexicat
Thank you!
|
You're welcome.
Quote:
I shall try to be tidier.
|
I hope I didn't sound too grumpy
Quote:
Here is my adjusted code:
|
It's almost perfect
Quote:
I get the error message
"ERROR: Invalid input: Could not create recipe. Error: unindent does not match any outer indentation level (recipe8.py, line 11)" when trying to update it.
|
You had a space in front of the def print_version. Python is picky about indents. I made a typo that you copied when I pasted in the quotes. Because you pasted in the code tags, (which preserves indents) I was able to easily spot it.
Try this:
Quote:
Also, what are the "numbers/subscripts" you mention? Are they the "/" marks in the URL?
|
I wasn't sure xxx = split1[3] was right, it might have been xxx = split1[4], but I've now checked them - the recipe ran OK.