CS 1110 Lecture Notes - Lecture 4: Komodo Edit, Cmd.Exe, Text Editor

23 views2 pages

Document Summary

9/3/15 -- lesson 4 -- scripts and modules. Komodo edit allows us to make a module. Python will then allow us to use this module. From module import function --> imports only a particular function from a module. From module import * --> imports all functions from a module (avoid doing this for now) Find the correct file using dir --> show you what files are included within the file you currently have open. You will then use cd to select the next file you want to join. See the cs web page for a shortcut in windows. Drag and drop the folder on to the command prompt. ______________ --> ignores everything between the 3 sets of quotes. Good way to tell that your module has been imported. If you have already imported a module, you will get an error if you try to do so again.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents