File: C:/Python311/Scripts/__pycache__/pywin32_postinstall.cpython-311.pyc
�
0h�d � �� � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZ eej �
ej � � d� � d� � Z G d� d� � Z
e
ej � � e_ e
ej � � e_ g d�Zd ZdZdej z Zd � Z d d�Zd� Zd
� Zd� Zd� Zd!d�Zd"d�Zd#d�Zd#d�Zd� Zd� Z d� Z!d� Z"d� Z#de$de$fd�Z%d� Z&e'dk r e&� � dS dS )$� Nzpywin32_postinstall.log�wc � � e Zd Zd� Zd� Zd� ZdS )�Teec � � || _ d S �N)�f)�self�files �CC:\Python311\Lib\site-packages\../../Scripts/pywin32_postinstall.py�__init__zTee.__init__ s
� ������ c �� � | j �@ | j � |� dd� � � � n# t $ r Y nw xY wt � |� � d S )N�
z
)r �write�replace�OSError�tee_f)r �whats r r z Tee.write sl � ��6��
�����T�\�\�$��7�7�8�8�8�8���
�
�
���
����
���D�����s �.8 �
A�Ac � � | j �+ | j � � � n# t $ r Y nw xY wt � � � d S r )r �flushr r )r s r r z Tee.flush# sQ � ��6��
�����������
�
�
���
����
���
�
�
�
�
s �# �
0�0N)�__name__�
__module__�__qualname__r r r � r
r r r sA � � � � � �� � �� � �� � � � r
r ))zwin32com.servers.interp�Interpreter)zwin32com.servers.dictionary�DictionaryPolicy)z!win32com.axscript.client.pyscript�PyScript� �Software\Python\PythonCore\c � � t j t j t dt j � � t j S # t
$ r t j cY S w xY w)Nr )�winreg�OpenKey�HKEY_LOCAL_MACHINE�
root_key_name�KEY_CREATE_SUB_KEYr �HKEY_CURRENT_USERr r
r �
get_root_hkeyr'