From zlotchen@cs.utk.edu Fri Jul 18 16:54:20 1997 You should write your functions in a file with .py extention then start python from a com line, do import file_name then test your functions just as it is shown in the lab text: >>> binary_search(roster, 'Copeland Jermaine') -- is an example I will be testing functions in a similar fassion. I will have a test function that will call your functions with test operands. There is a link to a tutorial: The only quick way to pick up puthon for me. David. > Hi David, > Do you know if working examples for this lab exist ? > Or maybe where to find any examples on python at all. > I had to miss this lab, so now I am lost again ... > The second question about passing arguments: > What I understand, we should create python script and then pass to > it list of strings from a given file or from any file ? > How do we actualy pass arguments to the script ? > I was trying to write: import sys and then look into sys.argv[], > but without much success ... > I would appretiate if you could clear at least some of my ??? > THANK YOU > > -- David Zlotchenko Phone: (01) (423) 974-6601 Research Services Email: zlotchen@utk.edu The University of Tennessee URL: http://www.oars.utk.edu/~zlotchen