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
3 M”ªjSã@s dZddlZddlZddlZddlZejejgadada da dd„Z dd„Z dd„Z d d „Zd d „Zd.d d„Zdd„Zdd„Zdd„Zdd„Zd/dd„Zd0dd„Zdd„Zdd„Zdd „Zd!d"„Zd#d$„Zd%d&„Zd'd(„Zd)d*„Zejj sðeƒd+d,„Z!e"d-k�re!ƒdS)1a¶ 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. Starting Python in isolated mode (-I) disables automatic readline configuration. 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 GsBtjj|Ž}ytjj|ƒ}Wntk r0YnX|tjj|ƒfS)N)ÚosÚpathÚjoinÚabspathÚOSErrorÚnormcase)ÚpathsÚdir©r ú/usr/lib64/python3.6/site.pyÚmakepathZs  r cCs–x�ttjjƒƒD]~}tt|ddƒddƒdkr.qytjj|jƒ|_Wnt t t fk r\YnXytjj|j ƒ|_ Wqt t 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Ú TypeErrorÚ __cached__)Úmr r r Ú abs_pathscsrcCsTg}tƒ}x6tjD],}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 Úremoveduppathsss   r!c CsXtƒ}xLtjD]B}y&tjj|ƒr6t|ƒ\}}|j|ƒWqtk rNwYqXqW|S)zEReturn a set containing all existing file system items from sys.path.)rrrrÚexistsr rr)ÚdÚitemÚ_Úitemcaser r r Ú_init_pathinfo†s    r'c Csp|dkrtƒ}d}nd}tjj||ƒ}yt|dƒ}Wntk rHdSX|�� �xt|ƒD]ö\}}|jdƒrrq^yX|jdƒrˆt|ƒw^|j ƒ}t ||ƒ\}} | |krÈtjj |ƒrÈt jj |ƒ|j| ƒWq^tk �rRtdj|d |ƒt jd �d dl} x>| jt jƒŽD],} x$| jƒD]}td |t jd ��qW�qWtd t jd �PYq^Xq^WWdQRX|�rld}|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 '. NTFÚrú#úimport úimport z"Error processing line {:d} of {}: é)Úfilerz z Remainder of file ignored)r*r+)r'rrrÚopenrÚ enumerateÚ startswithÚexecÚrstripr r"rrrÚ ExceptionÚprintÚformatÚstderrÚ tracebackÚformat_exceptionÚexc_infoÚ splitlines) ÚsitedirÚnamerÚresetÚfullnameÚfÚnÚliner r r7Úrecordr r r Ú addpackage“sD    rCc Csž|dkrtƒ}d}nd}t|ƒ\}}||krBtjj|ƒ|j|ƒytj|ƒ}Wntk rddSXdd„|Dƒ}xt |ƒD]}t |||ƒq~W|ršd}|S)zTAdd 'sitedir' argument to sys.path if missing and handle .pth files in 'sitedir'NTFcSsg|]}|jdƒr|‘qS)z.pth)Úendswith)Ú.0r<r r r ú Íszaddsitedir..) r'r rrrrrÚlistdirrÚsortedrC)r;rr=Ú sitedircaseÚnamesr<r r r Ú addsitedir½s$   rKcCs`tjjr dSttdƒr4ttdƒr4tjƒtjƒkr4dSttdƒ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ÚhasattrrrMrLrOrNr r r r Úcheck_enableusersiteÕs rScCs$tdk r tSddlm}|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Ú sysconfigrT)rTr r r Ú getuserbaseís  rXcCs^tƒ}tdk rtSddlm}tjdkrJddlm}|dƒrJ|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)rTÚPYTHONFRAMEWORKÚpurelibÚosx_framework_userz%s_user) rXÚ USER_SITErWrYrÚplatformrTrr<)Ú user_baserYrTr r r Úgetusersitepackagesûs    racCs$tƒ}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. )raÚENABLE_USER_SITErrÚisdirrK)rÚ user_siter r r Úaddusersitepackagess rec Csg}tƒ}|dkrt}�xü|D]ô}| s||kr2q|j|ƒtjdkr”|jtjj|ddtj dd…dƒƒ|jtjj|ddtj dd …dƒƒn6|j|ƒ|jtjj|ddƒƒ|jtjj|ddƒƒtj d krd d l m }|d ƒ}|r|jtjjd|dtj dd …dƒƒqW|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ú/Úlib64Úpythonéz site-packagesÚlibz python%d.%dérZr)rTr[z/Libraryz%d.%d)rÚPREFIXESrrÚseprrrrÚversionÚ version_infor_rWrT)ÚprefixesÚ sitepackagesÚseenÚprefixrTÚ frameworkr r r Úgetsitepackages s4        rucCsFtrdtjkrtjddƒx&t|ƒD]}tjj|ƒr$t||ƒq$W|S)z¥Add site-packages to sys.path '/usr/local' is included in PREFIXES if RPM build is not detected to make packages installed into this location visible. ÚRPM_BUILD_ROOTrz /usr/local) rbrÚenvironrlÚinsertrurrcrK)rrpr;r r r ÚaddsitepackagesHs   rycCs4tjdkrd}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. ú\zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)ÚquitÚexitN)rrmÚ _sitebuiltinsÚQuitterÚbuiltinsr{r|)Úeofr r r ÚsetquitWs  r�cCs¤tjdtjƒt_tjdd…dkr2tjddƒ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/)r}Ú_Printerrr‚rr_r…rRrrÚdirnamerÚextendrÚpardirÚcurdirr‡)ÚfilesÚdirsÚherer r r Ú setcopyrightgs    r�cCstjƒt_dS)N)r}Ú_HelperrÚhelpr r r r Ú sethelpersr“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. csèddl}yddl‰ddl}Wntk r0dSXtˆddƒ}|dk rZd|krZˆjdƒn ˆjdƒy ˆjƒWntk r„YnXˆjƒdkrät j j t j j dƒdƒ‰yˆj ˆƒWntk rÊYnX‡‡fd d „}|j|ƒdS) NrÚ__doc__ÚÚlibeditzbind ^I rl_completez tab: completeú~z.python_historyc s,yˆjˆƒWnttfk r&YnXdS)N)Úwrite_history_fileÚFileNotFoundErrorÚPermissionErrorr )ÚhistoryÚreadliner r Ú write_history±szCenablerlcompleter..register_readline..write_history)ÚatexitrœÚ rlcompleterÚ ImportErrorrÚparse_and_bindÚread_init_filerÚget_current_history_lengthrrrÚ expanduserÚread_history_fileÚIOErrorÚregister)ržrŸÚ readline_docr�r )r›rœr Úregister_readline‹s.      z,enablerlcompleter..register_readlineN)rÚ__interactivehook__)r©r r r Úenablerlcompleter‚s 0r«c CsFtj}tjdkr$d|kr$tjd}ntj}tjjtjj|ƒƒ\}}tjj|ƒ}dt_ d}dd„tjj ||ƒtjj ||ƒfDƒ}|�rB|d}d} t |dd ��`} xX| D]P} d | kr¤| j d ƒ\} }} | j ƒjƒ} | j ƒ} | d kræ| jƒ} q¤| d kr¤| t_ q¤WWdQRX|t_t_t|tjgƒ| dk�r6tjdtjƒn tjgad a|S)NrZÚ__PYVENV_LAUNCHER__z pyvenv.cfgcSsg|]}tjj|ƒr|‘qSr )rrÚisfile)rEÚconffiler r r rFÊszvenv..rÚtruezutf-8)Úencodingú=zinclude-system-site-packagesÚhomeF)rrwrr_Ú executablerÚsplitrr‰Ú_homerr.Ú partitionÚstripÚlowerrsÚ exec_prefixryrlrxrb)rÚenvr³Úexe_dirr%Ú site_prefixÚ conf_basenameÚcandidate_confsÚ virtual_confÚ system_siter?rAÚkeyÚvaluer r r Úvenv½s>        rÃcCsšyBy ddl}Wn0tk r>}z|jdkr,n‚WYdd}~XnXWnRtk r”}z6tjjrltjtjƒŽntj j d|j j |fƒWYdd}~XnXdS)z,Run custom site specific code, if available.rNÚ sitecustomizez@Error in sitecustomize; set PYTHONVERBOSE for traceback: %s: %s ) rÄr r<r3rrPÚverboseÚ excepthookr9r6ÚwriteÚ __class__Ú__name__)rÄÚexcÚerrr r r Úexecsitecustomizeñs  rÌcCsšyBy ddl}Wn0tk r>}z|jdkr,n‚WYdd}~XnXWnRtk r”}z6tjjrltjtjƒŽntj j d|j j |fƒWYdd}~XnXdS)z,Run custom user specific code, if available.rNÚ usercustomizez@Error in usercustomize; set PYTHONVERBOSE for traceback: %s: %s ) rÍr r<r3rrPrÅrÆr9r6rÇrÈrÉ)rÍrÊrËr r r Úexecusercustomizes  rÎcCsftƒtƒ}t|ƒ}tdkr"tƒat|ƒ}t|ƒ}tƒtƒt ƒt j j sRt ƒtƒtrbtƒ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ÃrbrSreryr�r�r“rrPÚisolatedr«rÌrÎ)rr r r ÚmainsrÐcCs`d}tjdd…}|s¦tƒ}tƒ}tdƒxtjD]}td|fƒq2Wtdƒtd|tjj|ƒrfdndfƒtd |tjj|ƒr†dndfƒtd tƒtj d ƒg}d |kr¼|j t ƒd |krÎ|j t ƒ|�r,ttj j|ƒƒtrôtj d ƒn6tdk�r tj dƒn tdk�r tj dƒn tj dƒn0d 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)r"z doesn't existzUSER_SITE: %r (%s)zENABLE_USER_SITE: %rrz --user-basez --user-siteFrkrié )rÚargvrXrar4rrrcrbr|rrVr^ÚpathseprÚtextwrapÚdedent)r’Úargsr`rdr ÚbufferrÕr r r Ú_script6s@           rÙÚ__main__)N)N)N)#r”rrrr}rsr¹rlrbr^rVr rr!r'rCrKrSrXrareruryr�r�r“r«rÃrÌrÎrÐrPÚno_siterÙrÉr r r r ÚFsB   *  ( ;43