def enable_private_share(cookie, tokens, fid_list):
print('<STR_LIT>', fid_list, cookie, tokens)<EOL>url = '<STR_LIT>'.join([<EOL>const.PAN_URL,<EOL>'<STR_LIT>',<EOL>'<STR_LIT>', tokens['<STR_LIT>'],<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>])<EOL>print('<STR_LIT>', url)<EOL>passwd = '<STR_LIT>'<EOL>data = encoder.encode_uri('<STR_LIT>'.join([<EOL>'<STR_LIT>', str(fid_list), '<STR_LIT:]>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>', passwd,<EOL>]))<EOL>print('<STR_LIT>', data)<EOL>req = net.urlopen(url, headers={<EOL>'<STR_LIT>': cookie.header_output(),<EOL>'<STR_LIT>': const.CONTENT_FORM_UTF8,<EOL>}, data=data.encode())<EOL>if req:<EOL><INDENT>content = req.data<EOL>return json.loads(content.decode()), passwd<EOL><DEDENT>else:<EOL><INDENT>return None, passwd<EOL><DEDENT>
建立新的私密分享.

    密码是在本地生成的, 然后上传到服务器.