[Tutor] More Help
Steven D'Aprano
steve at pearwood.info
Sun Feb 3 23:36:16 CET 2013
On 04/02/13 06:15, Jack Little wrote:
> So I have gotten responses to my previous email sent 3 days ago, all saying
>define path1pt1() before simpstart, but I do not know how. Help?
You have something like this:
...code...
...more code...
path1pt1()
...
...
def path1pt1():
definition goes here
Select the text starting with "def path1pt1" in your text editor, and ending
with the end of the function. Then cut the text (Ctrl-X), move the cursor to
the top of the file, and paste it (Ctrl-V). Clean up any extra blank lines
needed. Your code should then look like this:
def path1pt1():
definition goes here
...code...
...more code...
path1pt1()
...
...
--
Steven
More information about the Tutor
mailing list