Ejemplo n.º 1
0
    def __init__(self):
        """
        Create a new LWPCookieJar that uses an in-memory "file."

        The contents of this file can be retrieved by calling the 'getvalue' method.
        """
        LWPCookieJar.__init__(self)
        self._string = ""
Ejemplo n.º 2
0
    def __init__(self):
        """
        Create a new LWPCookieJar that uses an in-memory "file."

        The contents of this file can be retrieved by calling the 'getvalue' method.
        """
        LWPCookieJar.__init__(self)
        self._string = ""
Ejemplo n.º 3
0
 def __init__(self, file_name):
     file_name = Rel(__file__).folder('.cook').join(file_name)
     LWPCookieJar.__init__(self, file_name)