• Home
  • Blog
  • Week 1 Installation and Python Interactive Mode Question

Week 1 Installation and Python Interactive Mode Question

0 comments

Week 1 : Installation

arrow collapseHide Assignment Information

Class,

You need to confirm the flowing:-

1) Installation

To install Python, go to PythonDownload

select version 3.x, and follow the instructions

2) I will not accept any code in Python interactive mode. To create a program in batch mode;

In IDLE

  1. Go to File ->New File-> A new editor for coding will open, write your code in the new window.
  2. Once you are done coding; hit F5, or go to run->Run module
  3. If the file is not saved, it will prompt you to save the file. Make sure you know where you saved the file.
  4. If the code has bugs, go back to the editor and fix the bugs, pay attention to the error message.
  5. The final code is the code you should submit.
  6. Write the following code

“””

Program name:

Author:

Date:

Notes:

“””

# This is comment line

# This is test to see if Python is working.

myname=”Your name”

print(“Hello ENTD220, My name is “, myname)

3) MAC/Apple user

Check the uploaded files, and make sure they are readable.

**** Start working on WEEK2 assignment *****

Popular IDE;

I recommend downloading one of the following very popular IDE

1) PyScripter; https://github.com/pyscripter/pyscripter -> downloads

2) VS Code; https://code.visualstudio.com/Download;

This IDE support many languages, after installation install the desired language(s) extension.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}