To only execute part of a script, enter the script in the input pane and select the part you want to execute. To fix the problem, re-enter the statement manually. This may be caused by the mark-up or encoding of the source you copied the statement from. Note:Sometimes you may get an error if you copy ad paste statements into the Python tab from another source, like an e-mail. If you enter an invalid statement Katana produces an error in the output pane and clears the statement from the input pane. Tip:You can also execute statements by pressing Ctrl+ Enter on the numeric keypad.īy default, successful statements disappear from the input pane, and appear in the output pane. If your statement includes several lines, or you want to enter several statements at once, press Return to move to the next line.Įxecute the statement by pressing Ctrl+ Return. When entering the statement, you may notice that any words that are Python's keywords, such as print and import, turn purple, while strings and comments (content in quotation marks or following a #) become green.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |