摘要:
Here are some of the most common string methods. A method is like a function, but it runs "on" an object. If the variable s is a string, then the code s.lower() runs the lower() method on that string object and returns the result (this idea of a method running on an object is one of the ba 阅读全文
摘要:
Python is packaged with many standard modules which are bundled with a standard installation of the python interpreter, so you don't have do anything extra to use them. Commonly used standard python modules include:sys -- access to exit(), argv, stdin, stdout, ... re -- regular expressions os -- 阅读全文