Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325
 lŽŒYùRã@s›dZddlZddlZddlZddlZejejgadada da dd„Z dd„Z dd„Z d d „Zd d „Zdd d„Zdd„Zdd„Zdd„Zdd„Zddd„Zddd„Zdd„Zdd„Zdd „Zd!d"„Zd#d$„Zd%Zd&d'„Zd(d)„Zd*d+„Zd,d-„Z ej!j"sxe ƒd.d/„Z#e$d0kr—e#ƒdS)1ad Append module search paths for third-party packages to sys.path. **************************************************************** * This module is automatically imported during initialization. * **************************************************************** This will append site-specific paths to the module search path. On Unix (including Mac OSX), it starts with sys.prefix and sys.exec_prefix (if different) and appends lib/python/site-packages. On other platforms (such as Windows), it tries each of the prefixes directly, as well as with lib/site-packages appended. The resulting directories, if they exist, are appended to sys.path, and also inspected for path configuration files. If a file named "pyvenv.cfg" exists one directory above sys.executable, sys.prefix and sys.exec_prefix are set to that directory and it is also checked for site-packages (sys.base_prefix and sys.base_exec_prefix will always be the "real" prefixes of the Python installation). If "pyvenv.cfg" (a bootstrap configuration file) contains the key "include-system-site-packages" set to anything other than "false" (case-insensitive), the system-level prefixes will still also be searched for site-packages; otherwise they won't. All of the resulting site-specific directories, if they exist, are appended to sys.path, and also inspected for path configuration files. A path configuration file is a file whose name has the form .pth; its contents are additional directories (one per line) to be added to sys.path. Non-existing directories (or non-directories) are never added to sys.path; no directory is added to sys.path more than once. Blank lines and lines beginning with '#' are skipped. Lines starting with 'import' are executed. For example, suppose sys.prefix and sys.exec_prefix are set to /usr/local and there is a directory /usr/local/lib/python2.5/site-packages with three subdirectories, foo, bar and spam, and two path configuration files, foo.pth and bar.pth. Assume foo.pth contains the following: # foo package configuration foo bar bletch and bar.pth contains: # bar package configuration bar Then the following directories are added to sys.path, in this order: /usr/local/lib/python2.5/site-packages/bar /usr/local/lib/python2.5/site-packages/foo Note that bletch is omitted because it doesn't exist; bar precedes foo because bar.pth comes alphabetically before foo.pth; and spam is omitted because it is not mentioned in either path configuration file. The readline module is also automatically configured to enable completion for systems that support it. This can be overridden in sitecustomize, usercustomize or PYTHONSTARTUP. After these operations, an attempt is made to import a module named sitecustomize, which can perform arbitrary additional site-specific customizations. If this import fails with an ImportError exception, it is silently ignored. éNc GsStjj|Œ}ytjj|ƒ}Wntk r<YnX|tjj|ƒfS)N)ÚosÚpathÚjoinÚabspathÚOSErrorÚnormcase)ÚpathsÚdir©r ú#/opt/python35/lib/python3.5/site.pyÚmakepathYs  r cCs¹x²ttjjƒƒD]›}tt|ddƒddƒdkrCqytjj|jƒ|_Wnt t fk ryYnXytjj|j ƒ|_ Wqt t fk r°YqXqWdS)zESet all module __file__ and __cached__ attributes to an absolute pathÚ __loader__NÚ __module__Ú_frozen_importlibÚ_frozen_importlib_external)rr) ÚsetÚsysÚmodulesÚvaluesÚgetattrrrrÚ__file__ÚAttributeErrorrÚ __cached__)Úmr r r Ú abs_pathsbs rcCsrg}tƒ}xItjD]>}t|ƒ\}}||kr|j|ƒ|j|ƒqW|tjdd…<|S)zK Remove duplicate entries from sys.path along with making them absoluteN)rrrr ÚappendÚadd)ÚLÚ known_pathsr Údircaser r r Úremoveduppathsrs   r c Csntƒ}x^tjD]S}y5tjj|ƒrMt|ƒ\}}|j|ƒWqtk rewYqXqW|S)zDReturn a set containing all existing directory entries from sys.path)rrrrÚisdirr rÚ TypeError)Údr rr r r Ú_init_pathinfo…s   r$c CsÔ|dkrtƒ}d}nd}tjj||ƒ}yt|dƒ}Wntk rddSYnX|�VxNt|ƒD]@\}}|jdƒr—qyy||jd ƒr¶t|ƒwy|j ƒ}t ||ƒ\}} | |krtjj |ƒrt jj |ƒ|j| ƒWqytk r¸tdj|d|ƒd t jƒddl} xK| jt jƒŒD]4} x+| jƒD]}td |d t jƒq{WqhWtd d t jƒPYqyXqyWWdQRX|rÐd}|S) zÖProcess a .pth file within the site-packages directory: For each line in the file, either combine it with sitedir to a path and add that to known_paths, or execute it if it starts with 'import '. NérÚrú#úimport úimport z"Error processing line {:d} of {}: Úfilez z Remainder of file ignored)r(r))r$rrrÚopenrÚ enumerateÚ startswithÚexecÚrstripr ÚexistsrrrÚ ExceptionÚprintÚformatÚstderrÚ tracebackÚformat_exceptionÚexc_infoÚ splitlines) ÚsitedirÚnamerÚresetÚfullnameÚfÚnÚliner rr5Úrecordr r r Ú addpackage’sD          rAc CsÕ|dkrtƒ}d}nd}t|ƒ\}}||kr_tjj|ƒ|j|ƒytj|ƒ}Wntk rŠdSYnXdd„|Dƒ}x$t |ƒD]}t |||ƒq«W|rÑd}|S)zTAdd 'sitedir' argument to sys.path if missing and handle .pth files in 'sitedir'Nr%rcSs%g|]}|jdƒr|‘qS)z.pth)Úendswith)Ú.0r:r r r ú Ìs zaddsitedir..) r$r rrrrrÚlistdirrÚsortedrA)r9rr;Ú sitedircaseÚnamesr:r r r Ú addsitedir¼s$       rIcCsˆtjjrdSttdƒrJttdƒrJtjƒtjƒkrJdSttdƒr„ttdƒr„tjƒtjƒkr„dSdS)a,Check if user site directory is safe for inclusion The function tests for the command line flag (including environment var), process uid/gid equal to effective uid/gid. None: Disabled for security reasons False: Disabled by user (command line option) True: Safe and enabled FÚgetuidÚgeteuidNÚgetgidÚgetegidT) rÚflagsÚ no_user_siteÚhasattrrrKrJrMrLr r r r Úcheck_enableusersiteÔs rQcCs0tdk rtSddlm}|dƒatS)zËReturns the `user base` directory path. The `user base` directory can be used to store data. If the global variable ``USER_BASE`` is not initialized yet, this function will also set it. Nr)Úget_config_varÚuserbase)Ú USER_BASEÚ sysconfigrR)rRr r r Ú getuserbaseìs   rVcCs�tƒ}tdk rtSddlm}tjdkrgddlm}|dƒrg|ddƒatS|dd tjƒatS) z¢Returns the user-specific site-packages directory path. If the global variable ``USER_SITE`` is not initialized yet, this function will also set it. Nr)Úget_pathÚdarwin)rRÚPYTHONFRAMEWORKÚpurelibÚosx_framework_userz%s_user) rVÚ USER_SITErUrWrÚplatformrRrr:)Ú user_baserWrRr r r Úgetusersitepackagesús   r_cCs2tƒ}tr.tjj|ƒr.t||ƒ|S)z†Add a per user site-package to sys.path Each user has its own python directory with site-packages in the home directory. )r_ÚENABLE_USER_SITErrr!rI)rÚ user_siter r r Úaddusersitepackagess  rbc Cs*g}tƒ}|dkr!t}x|D]ú}| s(||krDq(|j|ƒtjdkr–|jtjj|ddtj dd…dƒƒn,|j|ƒ|jtjj|ddƒƒtj dkr(dd l m }|d ƒ}|r(|jtjjd |tj dd…dƒƒq(W|S) aReturns a list containing all global site-packages directories. For each directory present in ``prefixes`` (or the global ``PREFIXES``), this function will find its `site-packages` subdirectory depending on the system environment, and will return a list of full paths. Nú/ÚlibÚpythonéz site-packagesrXr)rRrYz/Library) rÚPREFIXESrrÚseprrrrÚversionr]rUrR)ÚprefixesÚ sitepackagesÚseenÚprefixrRÚ frameworkr r r Úgetsitepackagess,       rocCs:x3t|ƒD]%}tjj|ƒr t||ƒq W|S)zAdd site-packages to sys.path)rorrr!rI)rrjr9r r r ÚaddsitepackagesCsrpcCsdtjdkrd}ntjdkr0d}nd}tjd|ƒt_tjd|ƒt_dS) z­Define new builtins 'quit' and 'exit'. These are objects which make the interpreter exit when called. The repr of each object contains a hint at how it works. ú:zCmd-Qú\zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)ÚquitÚexitN)rrhÚ _sitebuiltinsÚQuitterÚbuiltinsrsrt)Úeofr r r ÚsetquitKs  rycCsìtjdtjƒt_tjdd…dkrItjddƒt_ntjddƒt_gg}}ttdƒrÍtj j tj ƒ}|j d d gƒ|j tj j |tjƒ|tjgƒtjd d ||ƒt_dS) z)Set 'copyright' and 'credits' in builtinsÚ copyrightNéÚjavaÚcreditsz?Jython is maintained by the Jython developers (www.jython.org).zž Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information.rz LICENSE.txtÚLICENSEÚlicensez'See https://www.python.org/psf/license/)ruÚ_Printerrrzrwr]r}rPrrÚdirnamerÚextendrÚpardirÚcurdirr)ÚfilesÚdirsÚherer r r Ú setcopyright]s    +rˆcCstjƒt_dS)N)ruÚ_HelperrwÚhelpr r r r Ú sethelperusr‹cCsdd„}|t_dS)ajEnable default readline configuration on interactive prompts, by registering a sys.__interactivehook__. If the readline module can be imported, the hook will set the Tab key as completion key and register ~/.python_history as history file. This can be overridden in the sitecustomize or usercustomize module, or in a PYTHONSTARTUP file. cSsddl}yddl}ddl}Wntk r@dSYnXt|ddƒ}|dk r{d|kr{|jdƒn |jdƒy|jƒWntk rªYnX|jƒdkrt j j t j j dƒdƒ}y|j |ƒWntk rYnX|j|j|ƒdS) NrÚ__doc__ÚÚlibeditzbind ^I rl_completez tab: completeú~z.python_history)ÚatexitÚreadlineÚ rlcompleterÚ ImportErrorrÚparse_and_bindÚread_init_filerÚget_current_history_lengthrrrÚ expanduserÚread_history_fileÚIOErrorÚregisterÚwrite_history_file)r�r‘r’Ú readline_docÚhistoryr r r Úregister_readline�s,        z,enablerlcompleter..register_readlineN)rÚ__interactivehook__)ržr r r Úenablerlcompleterxs 'r c Cs›tjdkr—ddl}ddl}|jdƒ}|jdƒr—y|j|ƒWn>tk r–ddl}|j |j |(\w|[-_])+)\s*=\s*(?P.*)\s*$c Cstj}tjdkr4d|kr4tjd}n tj}tjjtjj|ƒƒ\}}tjj|ƒ}dt_ d}dd„tjj ||ƒtjj ||ƒfDƒ}|rddl }|j t ƒ} |d} d} t| dd ƒ�½} x³| D]«} | jƒ} | j| ƒ}|r|jƒ}|d jƒ|d }}|d kro|jƒ} q|d kr‡|t_ q|dkr|jƒdkr|}d} qWWdQRX|t_t_t|tjgƒ| dkrtjdtjƒntjgada|S)NrXÚ__PYVENV_LAUNCHER__z pyvenv.cfgcSs(g|]}tjj|ƒr|‘qSr )rrÚisfile)rCÚconffiler r r rDÈs zvenv..rÚtrueÚencodingzutf-8ÚkeyÚvaluezinclude-system-site-packagesÚhomeÚapplocalÚfalseF)rÚenvironrr]Ú executablerÚsplitrr�Ú_homerÚreÚcompileÚ CONFIG_LINEr+ÚstripÚmatchÚ groupdictÚlowerrmÚ exec_prefixrprgÚinsertr`)rÚenvrºÚexe_dirÚ_Ú site_prefixÚ conf_basenameÚcandidate_confsr½Ú config_lineÚ virtual_confÚ system_siter=r?rr#r´rµr r r Úvenv»sJ  $            rÏcCs•yddl}Wn~tk r$Ynmtk r�}zMtjjdƒr^tjtjƒŒn tj j d|j j |fƒWYdd}~XnXdS)z,Run custom site specific code, if available.rNÚ PYTHONVERBOSEz@Error in sitecustomize; set PYTHONVERBOSE for traceback: %s: %s ) Ú sitecustomizer“r1rr¹ÚgetrÚ excepthookr7r4ÚwriteÚ __class__Ú__name__)rÑÚerrr r r Úexecsitecustomizeøs  rØcCs•yddl}Wn~tk r$Ynmtk r�}zMtjjdƒr^tjtjƒŒn tj j d|j j |fƒWYdd}~XnXdS)z,Run custom user specific code, if available.rNrÐz@Error in usercustomize; set PYTHONVERBOSE for traceback: %s: %s ) Ú usercustomizer“r1rr¹rÒrrÓr7r4rÔrÕrÖ)rÙr×r r r Úexecusercustomizes  rÚcCs„tƒtƒ}t|ƒ}tdkr1tƒat|ƒ}t|ƒ}tƒtƒt ƒt ƒt ƒt ƒtr€t ƒdS)zÏAdd standard site-specific directories to the module search path. This function is called automatically when this module is imported, unless the python interpreter was started with the -S flag. N)rr rÏr`rQrbrpryrˆr‹r r®rØrÚ)rr r r Úmains      rÛcCsÓd}tjdd…}|sÝtƒ}tƒ}tdƒx"tjD]}td|fƒqEWtdƒtd|tjj|ƒr‹dndfƒtd |tjj|ƒr·dndfƒtd tƒtj d ƒg}d |krü|j t ƒd |kr|j t ƒ|r�ttj j|ƒƒtrGtj d ƒqÏtdkrctj dƒqÏtdkrtj dƒqÏtj dƒn@d dl}t|j|tjd tj fƒƒtj dƒdS)Na² %s [--user-base] [--user-site] Without arguments print some useful information With arguments print the value of USER_BASE and/or USER_SITE separated by '%s'. Exit codes with --user-base or --user-site: 0 - user site directory is enabled 1 - user site directory is disabled by user 2 - uses site directory is disabled by super user or for security reasons >2 - unknown error r%z sys.path = [z %r,ú]zUSER_BASE: %r (%s)r0z doesn't existzUSER_SITE: %r (%s)zENABLE_USER_SITE: %rrz --user-basez --user-siteFérfé )rÚargvrVr_r2rrr!r`rtrrTr\ÚpathseprÚtextwrapÚdedent)rŠÚargsr^rar Úbufferrár r r Ú_script5s@     # #        'råÚ__main__)%rŒrrrwrurmrÄrgr`r\rTr rr r$rArIrQrVr_rbrorpryrˆr‹r r®r¿rÏrØrÚrÛrNÚno_siterårÖr r r r ÚEsF       *    $    2  =     3