403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python312/Lib/site-packages/numpy/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/numpy/lib//_datasource.pyi
from pathlib import Path
from typing import IO, Any, TypeAlias

from _typeshed import OpenBinaryMode, OpenTextMode

_Mode: TypeAlias = OpenBinaryMode | OpenTextMode

###

# exported in numpy.lib.nppyio
class DataSource:
    def __init__(self, /, destpath: Path | str | None = ...) -> None: ...
    def __del__(self, /) -> None: ...
    def abspath(self, /, path: str) -> str: ...
    def exists(self, /, path: str) -> bool: ...

    # Whether the file-object is opened in string or bytes mode (by default)
    # depends on the file-extension of `path`
    def open(self, /, path: str, mode: _Mode = "r", encoding: str | None = None, newline: str | None = None) -> IO[Any]: ...

class Repository(DataSource):
    def __init__(self, /, baseurl: str, destpath: str | None = ...) -> None: ...
    def listdir(self, /) -> list[str]: ...

def open(
    path: str,
    mode: _Mode = "r",
    destpath: str | None = ...,
    encoding: str | None = None,
    newline: str | None = None,
) -> IO[Any]: ...

Youez - 2016 - github.com/yon3zu
LinuXploit