CS 1110 Lecture Notes - Lecture 4: Komodo Edit, Cmd.Exe, Text Editor
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.