[Baypiggies] String Utility Question

admin.dslcomputer at gmail.com admin.dslcomputer at gmail.com
Wed Jul 22 02:11:32 CEST 2015


Hi Everyone:


Where can I find documentation on "line.split()"


The Python online documentation site contains no available search term for "line.split()",i.e., URL link at https://www.python.org/downloads/release/python-279/


Moreover, the Python Library Reference refers to the utility function as an ArgumentParser: "def convert_arg_line_to_args(self, arg_line): return arg_line.split()", i.e., The Python Library Reference, Release 2.7.10; 15.4. argparse — Parser for command-line options, arguments and sub-commands p. 475.


Likewise, the Python Tutorial refers to the utility function as a Generator Expressions: "unique_words = set(word for line in page for word in line.split())”,i.e., Python Tutorial, Release 2.7.10; 9.11. Generator Expressions p. 75


Regards,
Hal






Sent from Surface
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20150722/d2a584be/attachment.html>


More information about the Baypiggies mailing list