| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/sqlite3/__pycache__/ |
Upload File : |
R
>lqjm c �� � Q s ] PHs] PHs] QHGs ] QHGs ] QHGs ] QH$G
s
Gs ]QH0G
s
P \1Q ks Q Q\2 sQ s\Q
6X c \ \O$ Q* 2 P! P! )z�A simple SQLite CLI for the sqlite3 module.
Apart from using 'argparse' for the command-line interface,
this module implements the REPL as a thin wrapper around
the InteractiveConsole class from the 'code' stdlib module.
)�ArgumentParser)�InteractiveConsole)�dedent)� get_theme�theme_no_color)� completerc
� � U O U2 F D o[ U2 J P! [ O c� oSO o[ S2 O o SQSO Q0*
oL [ c Lh 9 h[ SO
S SO QSO S SO 0[ O Q5 S% f [ O ]2 Po=P! Po=P! Po=hh 9 h)z�Helper that wraps execution of SQL code.
This is used both by the REPL and by direct execution from the CLI.
'c' may be a cursor or a connection.
'sql' is the SQL string to execute.
z (�)�: )�file)�execute�print�sqlite3�Error� traceback�type�__name__�sqlite_errorname�AttributeError�reset�message�sys�stderr�exit)�c�sql�suppress_errors�theme�row�e�t�tps &&&& �%C:\Python315\\Lib\sqlite3\__main__.pyr r s� � ���9�9�S�>�C��#�J� "���=�=� ��O�O��
�!�W�
�
�� ��B�q�)�)�*�!�,�,�B��� �� ��
��v�v�h�r�d�1�7�7�)�2�a�i�i�[���A�G�G�9�=�C�J�J�
� ��H�H�Q�K�K� ���sJ �$) �D�D�!D� A8�7D�8 B�B�D�B�AD�!D�Dc �F ` `� \ sQ s],s nQsQU 1Q kksQQ ksQsUsU 9s ! )�SqliteInteractiveConsolezA simple SQLite REPL.c �h :� [ RU _ 2 Vm UO 2 U m V m P! )N)�super�__init__�_con�cursor�_cur�
_use_color)�self�
connection� use_color� __class__s &&&�r! r&