Create a file-like object for the specified URL to read from.
即创建一个类文件对象为指定的url来读取。
Feedinfo is the main function, and takes a URL and an optional output stream (file-like object), defaulting to system output (the console).
feedinfo是主函数,负责接收url和可选的输出流(类似文件的对象),默认输出流为系统输出(控制台)。
You'd write logic that appends to a list of strings or writes to a file-like object. For instance, the following code generates the E-mail described above.
还要编写附加到字符串列表的逻辑或为类文件对象编写的逻辑。
应用推荐