def _save_cookies ( requests_cookiejar , filename ) : with open ( filename , 'wb' ) as handle : pickle . dump ( requests_cookiejar , handle )
saving cookies with python
Save cookies to a file .
def _save_cookies(requests_cookiejar, filename):
    """Save cookies to a file."""
    with open(filename, 'wb') as handle:
        pickle.dump(requests_cookiejar, handle)