From 95540e2e4be2261de10ba24adbe5f98ec290e991 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 18 Sep 2023 19:50:47 +1000 Subject: [PATCH 1/1] pythonrc: import extra modules --- .pythonrc.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.pythonrc.py b/.pythonrc.py index fe74d41..40a85db 100644 --- a/.pythonrc.py +++ b/.pythonrc.py @@ -30,6 +30,7 @@ except ImportError: ################## import base64 +import binascii import collections import datetime import hashlib @@ -44,10 +45,19 @@ import socket import struct import subprocess import tempfile +try: + import tomllib +except ImportError: + try: + import tomli as tomllib + except ImportError: + pass +import sqlite3 import time import urllib import urllib.parse import urllib.request +import yaml ####################### -- 2.39.2