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.
还要编写附加到字符串列表的逻辑或为类文件对象编写的逻辑。
Unresolved function names, like printf() in this case, are marked out in the object file produced.
在生成的目标文件中标记出了未解析的函数名,如printf() 。
A great feature of the JPA cache is that no coding change is necessary to use them; you just need some configuration properties (like size and object types to cache) in your persistence.xml file.
jpa缓存有一个很好的特性,即使用时不需要任何代码更改;仅需在persistence .xml文件中修改一些配置属性(比如缓存的大小和对象类型)。
Or the tested object may make use of objects with side effects that may not be desirable in unit testing, like file objects that delete files.
或者,测试对象会使用具有副作用的对象,如删除文件的File对象,而在单元测试中不希望有这些副作用。
Don't like the working directory? Call directory with a new working directory as a File object.
如果希望使用新的工作目录,可以调用directory并提供新的工作目录作为File对象。
Information about a file gets passed through the nautilus.FileInfo object, including things like file_type, location, name, uri, and mime_type.
通过nautilus . FileInfo传递的文件信息,包括file_type、location、name、uri、以及mime_type。
When you're done with the object, make sure to close it, just like a normal file object.
当你处理完该对象,确保你已经关闭它,就如对通常的文件一样。
For me (and for you, if you want to use the VFS), the expression entity means something like an object of the file system, like a file or a directory.
对于我(当然也对于你,如果你希望使用VFS的话),这个表达式实体等同于文件系统中的一些对象,比如说文件或者目录。
The return value is an object that behaves like an open file.
返回的结果是一个对象,用起来就像是一个打开了的文件一样。
HUSTOBS file system consists of Object-Based storage device, metadata server and client, just like most popular distributed file system.
与其他对象存储文件系统一样,HUSTOBS文件系统由对象存储设备端、元数据服务器端和客户端三大部分组成。
HUSTOBS file system consists of Object-Based storage device, metadata server and client, just like most popular distributed file system.
与其他对象存储文件系统一样,HUSTOBS文件系统由对象存储设备端、元数据服务器端和客户端三大部分组成。
应用推荐