When running a Python file, you can useoptionson the command line to inspect your code further. Here are a few that will come in handy. If you want to learn more about other Python command-line options, take a look at thedocumentation. Using no command-line options will run the code i...
如果你觉得这本书旧了点的话,我推荐下UC伯克利最近的课程cs61a:Structure and Interpretation of Computer Programs。http://www-inst.eecs.berkeley.edu/~cs61a/su12/伯克利在这门课程上已经开始用python了。“These fundamental ideas have long been taught at Berkeley using the classic textbook Structure and...
By the way, I also highly recommend you to read the textbook written for this lesson(the link is above). It is adapted from the legendary book ---《SICP》. If you feel painful to read 《SICP》from head to tail, this book may be a good alternative. At...
youmusthaveprogrammingpracticeinsomeparticularlanguage,andinthiscourseweuseScheme,adialectofLisp.Thislanguageisparticularlywell-suitedtotheorganizingideaswewanttoteach.Ourhope,however,isthatonceyouhavelearnedtheessenceofprogramming,youwillfindthatpickingupanewprogramminglanguageisbutafewdays’work.InstructorBrian...