A File-Like Object to True File Object Adapter 1.0

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : Other Free / Open Source License - Python License
CreatedCreated : Jun 6, 2007
Size downloadDownloads : 2
Program licensing
Thank you for voting...

Sometimes you have a file-like object (such as what ...

Sometimes you have a file-like object (such as what urllib. urlopen() returns), but you need to pass it to a function/method that insists on receiving a true file object (what the file or open built-in functions give you). This script is like an adapter that turns your file-like object into a true file object.
This is an application of the Adapter Pattern - "When you have an X, and you need a Y. " Lesson: Your code will be more flexible if, when possible, you allow functions/methods that take a file object to also take a file-like object.

A File-Like Object to True File Object Adapter 1.0 scripting tags: objects, filelike, files tool, management, true, objects conversion, functions, files management. What is new in A File-Like Object to True File Object Adapter 1.0 software script? - Unable to find A File-Like Object to True File Object Adapter 1.0 news. What is improvements are expecting? Newly-made A File-Like Object to True File Object Adapter 1.1 will be downloaded from here. You may download directly. Please write the reviews of the A File-Like Object to True File Object Adapter. License limitations are unspecified.