⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.24
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
__pycache__
/
View File Name :
tempfile.cpython-311.pyc
j d Z g dZddlZddlZddlZddlZ ddl ZddlZ ddlZddlmZ ddlZddlZddlZddlZej Ze j e j z e j z Z e e d r ee j! z ZeZ" e e d r e"e j# z Z" e e d re j$ Z$ndZ$d Z% e Z&d Z'd Z(d Z) G d d Z*d Z+d Z,da-d Z.d Z/d Z0d Z1d Z2d Z3da4d Z5d Z6d Z7d0dZ8d1dZ9de%dfdZ: G d d Z; G d! d" Z< d2dd&d'Z=e j> d(k sej? d)k re=Z@n e e d* aA d3dd&d+Z@ G d, d-ejB ZC G d. d/ ZDdS )4a Temporary files. This module provides generic, low- and high-level interfaces for creating temporary files and directories. All of the interfaces provided by this module can be used without fear of race conditions except for 'mktemp'. 'mktemp' is subject to race conditions and should not be used; it is provided for backward compatibility only. The default path names are returned as str. If you supply bytes as input, all return values will be in bytes. Ex: >>> tempfile.mkstemp() (4, '/tmp/tmptpu9nin8') >>> tempfile.mkdtemp(suffix=b'') b'/tmp/tmppbi8f0hy' This module also provides some data items to the user: TMP_MAX - maximum number of names that will be tried before giving up. tempdir - If this is set to a string before the first use of any routine from this module, it will be considered as another candidate location to store temporary files. ) NamedTemporaryFile TemporaryFileSpooledTemporaryFileTemporaryDirectorymkstempmkdtempmktempTMP_MAX gettempprefixtempdir gettempdirgettempprefixbgettempdirb N)Random O_NOFOLLOWO_BINARYr i' tmpc R t j | dS # t $ r Y dS w xY w)NTF)_oslstatOSError)fns //opt/alt/python311/lib64/python3.11/tempfile.py_existsr M s? " t uus &&c d}| D ]}|t |t j rt j | }t |t r |t u rt d t }h|t u rt d t }|/t t t t rt S t S |S )zBLook at the type of all args and divine their implied return type.Nz1Can't mix bytes and non-bytes in path components.) isinstancer PathLikefspathbytesstr TypeErrorr )argsreturn_typeargs r _infer_return_typer% V s K ;c3<(( "*S//Cc5!! c!! !3 4 4 4KKe## !3 4 4 4KK?j#66?J L c t | || }| | }| *|t u rt } nt j t } |&|t u rt }nt }| |||fS )z9Common parameter processing for most APIs in this module.)r% r templater fsencoder r )prefixsuffixdiroutput_types r _sanitize_paramsr. s s| $VVS99K ~ ~#FF\(++F {#,,CC--C63++r&