Server IP : 111.118.215.189 / Your IP : 216.73.216.126 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib64/python2.7/Tools/scripts/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� x��fc @ s} d Z d d l Z d d l Z d d l Z d d l Z e j Z d Z d Z d Z d � Z d � Z e d k ry e � n d S( s Add Python to the search path on Windows This is a simple script to add Python to the Windows search path. It modifies the current user (HKCU) tree of the registry. Copyright (c) 2008 by Christian Heimes <christian@cheimes.de> Licensed to PSF under a Contributor Agreement. i����Nt Environmentt PATHu %PATH%c C sg t j j t j j t j � � } t j j | d � } t j d } t t d � r t j j | d � } t j j | d � } n d } t j t t � �� } y t j | t � d } Wn t k r� t } n X| g } xK | | | f D]: } | r� | | k r� t j j | � r� | j | � q� q� Wt j j | � } t j | t d t j | � | | f SWd QXd S( Nt Scriptst APPDATAt USER_SITEs %APPDATA%i ( t ost patht dirnamet normpatht syst executablet joint environt hasattrt siteR t replacet Nonet _winregt CreateKeyt HKCUt ENVt QueryValueExR t WindowsErrort DEFAULTt isdirt appendt pathsept SetValueExt REG_EXPAND_SZ( t pythonpatht scriptst appdatat userpatht userscriptst keyt envpatht pathsR ( ( s2 /usr/lib64/python2.7/Tools/scripts/win_add2path.pyt modify s&