]> code.delx.au - dotfiles/commitdiff
pythonrc: import extra modules
authorJames Bunton <jamesbunton@delx.au>
Mon, 18 Sep 2023 09:50:47 +0000 (19:50 +1000)
committerJames Bunton <jamesbunton@delx.au>
Mon, 18 Sep 2023 09:50:47 +0000 (19:50 +1000)
.pythonrc.py

index fe74d41bffb56813bd9ba094366e873e0bd4365e..40a85db283800c5ec0c2a46c3db61561dc3ded7f 100644 (file)
@@ -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
 
 
 #######################