Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License. BS GIS Instructor: Inzamam Baig Lecture 0 Fundamentals of Programming
Required Tools and Software download and install python interpreter(3.x) from www.python.org/downloads download and install text editor of your choice(some good text editors and IDE’s are) Sypder IDE Sublime Text Editor Visual Studio Code PyCharm IDE
Join Slack Channel You will receive an email invitation (check your email that you have registered on lms.kiu.edu) Join the slack channel (submit your problems here, if you are facing any difficulty you can also post your questions here) Slack is available on all platforms(web, desktop, android/iOS) Upload your first assignment here(see slide 6)
Set Environment Variables After downloading and installing python: On windows (7 or above) right click on pc(my computer on windows 7) click properties go to advance system settings then click environmental variables add a new path and paste python directory path
Command Line On windows (7 and above) Open command prompt and type the following commands python # this will check whether python is installed on pc or not python -–version #this will output your current python version pip -–version # this will output your current python package manager # pip comes pre installed with python version > 3.4
Pip pip is the standard package manager for Python. It allows you to install and manage additional packages that are not part of the Python standard library. install request module using pip: pip install requests List modules that are currently installed on your pc: pip list
Assignment 1. Download and Install Python Interpreter on your pc 2. Download and install a text editor of your choice 3. Set environmental variables 4. Test python commands on command prompt (see slide 5) 5. Take screen shots of every step and make a word document 6. Join Slack 7. Finally upload it on slack under pythonprogramming channel

Python Lecture 0

  • 1.
    Creative Commons License Thiswork is licensed under a Creative Commons Attribution 4.0 International License. BS GIS Instructor: Inzamam Baig Lecture 0 Fundamentals of Programming
  • 2.
    Required Tools andSoftware download and install python interpreter(3.x) from www.python.org/downloads download and install text editor of your choice(some good text editors and IDE’s are) Sypder IDE Sublime Text Editor Visual Studio Code PyCharm IDE
  • 3.
    Join Slack Channel Youwill receive an email invitation (check your email that you have registered on lms.kiu.edu) Join the slack channel (submit your problems here, if you are facing any difficulty you can also post your questions here) Slack is available on all platforms(web, desktop, android/iOS) Upload your first assignment here(see slide 6)
  • 4.
    Set Environment Variables Afterdownloading and installing python: On windows (7 or above) right click on pc(my computer on windows 7) click properties go to advance system settings then click environmental variables add a new path and paste python directory path
  • 5.
    Command Line On windows(7 and above) Open command prompt and type the following commands python # this will check whether python is installed on pc or not python -–version #this will output your current python version pip -–version # this will output your current python package manager # pip comes pre installed with python version > 3.4
  • 6.
    Pip pip is thestandard package manager for Python. It allows you to install and manage additional packages that are not part of the Python standard library. install request module using pip: pip install requests List modules that are currently installed on your pc: pip list
  • 7.
    Assignment 1. Download andInstall Python Interpreter on your pc 2. Download and install a text editor of your choice 3. Set environmental variables 4. Test python commands on command prompt (see slide 5) 5. Take screen shots of every step and make a word document 6. Join Slack 7. Finally upload it on slack under pythonprogramming channel