Hardware Reference
In-Depth Information
Create a blank file for your program by selecting New Window from the File menu, as
shown in Figure B-3.
Figure B-3:
Creating a new
file.
Enter the following code and then click the Run menu and choose Run Module, or
press F5.
message = “hello world from a saved file”
print (message)
Python displays a message that says, “Source Must Be Saved”, as shown in Figure B-4.
Click OK.
Source is an abbreviation for source code, which is another way of saying the program you've
entered.
NOTE
Type in a filename (for this example, you can just call it Hello ), and then click Save as
shown in Figure B-5.
 
Search WWH ::




Custom Search