aaa = r'''

远端服务器:
没有显示器

我已经ssh登录

ssh 10.42.0.1 -p 22 -l frank



kelly@pop-os:~$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.1  netmask 255.255.255.0  broadcast 10.42.0.255
        inet6 fe80::a90c:a020:ad49:f5b3  prefixlen 64  scopeid 0x20<link>       
        ether 00:23:24:b4:95:24  txqueuelen 1000  (以太网)
        RX packets 1353389  bytes 1201799657 (1.2 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1162849  bytes 1058442405 (1.0 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7c00000-f7c20000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (本地环回)
        RX packets 29193  bytes 19942268 (19.9 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29193  bytes 19942268 (19.9 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlx488ad237935b: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.197  netmask 255.255.255.0  broadcast 192.168.0.255      
        inet6 2408:8456:a24:f2d6:ad47:b7bf:411f:bed2  prefixlen 64  scopeid 0x0<
global>
        inet6 fe80::6c0c:58b0:ae36:cd1e  prefixlen 64  scopeid 0x20<link>       
        inet6 2408:8456:a24:f2d6:2d38:a39a:9fc1:292  prefixlen 64  scopeid 0x0<g
lobal>
        inet6 2408:8456:a26:491d:d437:13b8:db95:1bdf  prefixlen 64  scopeid 0x0<
global>
        inet6 2408:8456:a26:491d:7f0f:bb91:c68:ccc  prefixlen 64  scopeid 0x0<gl
obal>
        ether 48:8a:d2:37:93:5b  txqueuelen 1000  (以太网)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

kelly@pop-os:~$



{'python_version': '3.12.7',
 'python_path': '/usr/local/jupyter/bin/python',
 'pip_location': '/usr/local/bin/pip',
 'os_info': {'os': 'Linux',
  'os_version': '6.9.3-76060903-generic',
  'windows_version': None},
 'username': 'kelly',
 'cpu_info': {'physical_cores': 2,
  'total_cores': 4,
  'cpu_freq': '1.67 MHz',
  'cpu_usage': '1.0%',
  'cpu_model': 'x86_64'},
 'memory_info': {'total': '7.57 GB',
  'available': '4.82 GB',
  'used': '2.10 GB',
  'percent': '36.3%'},
 'disk_partitions_info': {'/dev/sda3': {'mount_point': '/',
   'file_system': 'ext4',
   'total': '100.62 GB',
   'used': '25.15 GB',
   'free': '70.31 GB',
   'percent': '26.3%'},
  '/dev/sda1': {'mount_point': '/boot/efi',
   'file_system': 'vfat',
   'total': '1.00 GB',
   'used': '0.28 GB',
   'free': '0.71 GB',
   'percent': '28.6%'},
  '/dev/sda2': {'mount_point': '/recovery',
   'file_system': 'vfat',
   'total': '3.99 GB',
   'used': '2.46 GB',
   'free': '1.54 GB',
   'percent': '61.5%'}},
 'installed_packages': 'Package                           Version\n--------------------------------- ------------------\naiobotocore                       2.12.3\naiohappyeyeballs                  2.4.0\naiohttp                           3.10.5\naioitertools                      0.7.1\naiosignal                         1.2.0\nalabaster                         0.7.16\naltair                            5.0.1\nanaconda-anon-usage               0.4.4\nanaconda-catalogs                 0.2.0\nanaconda-client                   1.12.3\nanaconda-cloud-auth               0.5.1\nanaconda-navigator                2.6.3\nanaconda-project                  0.11.1\nannotated-types                   0.6.0\nanyio                             4.2.0\nappdirs                           1.4.4\narchspec                          0.2.3\nargon2-cffi                       21.3.0\nargon2-cffi-bindings              21.2.0\narrow                             1.2.3\nastroid                           2.14.2\nastropy                           6.1.3\nastropy-iers-data                 0.2024.9.2.0.33.23\nasttokens                         2.0.5\nasync-lru                         2.0.4\natomicwrites                      1.4.0\nattrs                             23.1.0\nAutomat                           20.2.0\nautopep8                          2.0.4\nBabel                             2.11.0\nbcrypt                            3.2.0\nbeautifulsoup4                    4.12.3\nbinaryornot                       0.4.4\nblack                             24.8.0\nbleach                            4.1.0\nblinker                           1.6.2\nbokeh                             3.6.0\nboltons                           23.0.0\nbotocore                          1.34.69\nBottleneck                        1.3.7\nBrotli                            1.0.9\ncachetools                        5.3.3\ncertifi                           2024.8.30\ncffi                              1.17.1\nchardet                           4.0.0\ncharset-normalizer                3.3.2\nclick                             8.1.7\ncloudpickle                       3.0.0\ncolorama                          0.4.6\ncolorcet                          3.1.0\ncomm                              0.2.1\nconda                             24.9.2\nconda-build                       24.9.0\nconda-content-trust               0.2.0\nconda_index                       0.5.0\nconda-libmamba-solver             24.9.0\nconda-pack                        0.7.1\nconda-package-handling            2.3.0\nconda_package_streaming           0.10.0\nconda-repo-cli                    1.0.114\nconda-token                       0.5.0+1.g2209e04\nconstantly                        23.10.4\ncontourpy                         1.2.0\ncookiecutter                      2.6.0\ncryptography                      43.0.0\ncssselect                         1.2.0\ncycler                            0.11.0\ncytoolz                           0.12.2\ndask                              2024.8.2\ndask-expr                         1.1.13\ndatashader                        0.16.3\ndebugpy                           1.6.7\ndecorator                         5.1.1\ndefusedxml                        0.7.1\ndiff-match-patch                  20200713\ndill                              0.3.8\ndistributed                       2024.8.2\ndistro                            1.9.0\ndocstring-to-markdown             0.11\ndocutils                          0.18.1\net-xmlfile                        1.1.0\nexecuting                         0.8.3\nfastjsonschema                    2.16.2\nfilelock                          3.13.1\nflake8                            7.0.0\nFlask                             3.0.3\nfonttools                         4.51.0\nfqdn                              1.5.1\nfrankyu                           202507004.2\nfrozendict                        2.4.2\nfrozenlist                        1.4.0\nfsspec                            2024.6.1\ngensim                            4.3.3\ngitdb                             4.0.7\nGitPython                         3.1.43\ngreenlet                          3.0.1\nh11                               0.14.0\nh5py                              3.11.0\nHeapDict                          1.0.1\nholoviews                         1.19.1\nhttpcore                          1.0.2\nhttpx                             0.27.0\nhvplot                            0.11.0\nhyperlink                         21.0.0\nidna                              3.7\nimagecodecs                       2023.1.23\nimageio                           2.33.1\nimagesize                         1.4.1\nimbalanced-learn                  0.12.3\nimportlib-metadata                7.0.1\nincremental                       22.10.0\ninflection                        0.5.1\niniconfig                         1.1.1\nintake                            2.0.7\nintervaltree                      3.1.0\nipykernel                         6.28.0\nipython                           8.27.0\nipython-genutils                  0.2.0\nipywidgets                        7.8.1\nisoduration                       20.11.0\nisort                             5.13.2\nitemadapter                       0.3.0\nitemloaders                       1.1.0\nitsdangerous                      2.2.0\njaraco.classes                    3.2.1\njedi                              0.19.1\njeepney                           0.7.1\njellyfish                         1.0.1\nJinja2                            3.1.4\njmespath                          1.0.1\njoblib                            1.4.2\njson5                             0.9.6\njsonpatch                         1.33\njsonpointer                       2.1\njsonschema                        4.23.0\njsonschema-specifications         2023.7.1\njupyter                           1.0.0\njupyter_client                    8.6.0\njupyter-console                   6.6.3\njupyter_core                      5.7.2\njupyter-events                    0.10.0\njupyter-lsp                       2.2.0\njupyter_server                    2.14.1\njupyter_server_terminals          0.4.4\njupyterlab                        4.2.5\njupyterlab-pygments               0.1.2\njupyterlab_server                 2.27.3\njupyterlab-widgets                1.0.0\nkeyring                           24.3.1\nkiwisolver                        1.4.4\nlazy_loader                       0.4\nlazy-object-proxy                 1.10.0\nlckr_jupyterlab_variableinspector 3.1.0\nlibarchive-c                      5.1\nlibmambapy                        1.5.8\nlinkify-it-py                     2.0.0\nllvmlite                          0.43.0\nlmdb                              1.4.1\nlocket                            1.0.0\nlxml                              5.2.1\nlz4                               4.3.2\nMarkdown                          3.4.1\nmarkdown-it-py                    2.2.0\nMarkupSafe                        2.1.3\nmatplotlib                        3.9.2\nmatplotlib-inline                 0.1.6\nmccabe                            0.7.0\nmdit-py-plugins                   0.3.0\nmdurl                             0.1.0\nmenuinst                          2.1.2\nmistune                           2.0.4\nmkl_fft                           1.3.10\nmkl_random                        1.2.7\nmkl-service                       2.4.0\nmore-itertools                    10.3.0\nmpmath                            1.3.0\nmsgpack                           1.0.3\nmultidict                         6.0.4\nmultipledispatch                  0.6.0\nmypy                              1.11.2\nmypy-extensions                   1.0.0\nnavigator-updater                 0.5.1\nnbclient                          0.8.0\nnbconvert                         7.16.4\nnbformat                          5.10.4\nnest-asyncio                      1.6.0\nnetworkx                          3.3\nnltk                              3.9.1\nnotebook                          7.2.2\nnotebook_shim                     0.2.3\nnumba                             0.60.0\nnumexpr                           2.8.7\nnumpy                             1.26.4\nnumpydoc                          1.7.0\nopenpyxl                          3.1.5\noverrides                         7.4.0\npackaging                         24.1\npandas                            2.2.2\npandocfilters                     1.5.0\npanel                             1.5.2\nparam                             2.1.1\nparsel                            1.8.1\nparso                             0.8.3\npartd                             1.4.1\npathspec                          0.10.3\npatsy                             0.5.6\npexpect                           4.8.0\npickleshare                       0.7.5\npillow                            10.4.0\npip                               24.2\npkce                              1.0.3\npkginfo                           1.10.0\nplatformdirs                      3.10.0\nplotly                            5.24.1\npluggy                            1.0.0\nply                               3.11\nprometheus-client                 0.14.1\nprompt-toolkit                    3.0.43\nProtego                           0.1.16\nprotobuf                          4.25.3\npsutil                            5.9.0\nptyprocess                        0.7.0\npure-eval                         0.2.2\npy-cpuinfo                        9.0.0\npyarrow                           16.1.0\npyasn1                            0.4.8\npyasn1-modules                    0.2.8\npycodestyle                       2.11.1\npycosat                           0.6.6\npycparser                         2.21\npyct                              0.5.0\npycurl                            7.45.3\npydantic                          2.8.2\npydantic_core                     2.20.1\npydeck                            0.8.0\nPyDispatcher                      2.0.5\npydocstyle                        6.3.0\npyerfa                            2.0.1.4\npyflakes                          3.2.0\nPygments                          2.15.1\nPyJWT                             2.8.0\npylint                            2.16.2\npylint-venv                       3.0.3\npyls-spyder                       0.4.0\npyodbc                            5.1.0\npyOpenSSL                         24.2.1\npyparsing                         3.1.2\nPyQt5                             5.15.10\nPyQt5-sip                         12.13.0\nPyQtWebEngine                     5.15.6\nPySocks                           1.7.1\npytest                            7.4.4\npython-dateutil                   2.9.0.post0\npython-dotenv                     0.21.0\npython-json-logger                2.0.7\npython-lsp-black                  2.0.0\npython-lsp-jsonrpc                1.1.2\npython-lsp-server                 1.10.0\npython-slugify                    5.0.2\npytoolconfig                      1.2.6\npytz                              2024.1\npyviz_comms                       3.0.2\nPyWavelets                        1.7.0\npyxdg                             0.27\nPyYAML                            6.0.1\npyzmq                             25.1.2\nQDarkStyle                        3.2.3\nqstylizer                         0.2.2\nQtAwesome                         1.3.1\nqtconsole                         5.5.1\nQtPy                              2.4.1\nqueuelib                          1.6.2\nreferencing                       0.30.2\nregex                             2024.9.11\nrequests                          2.32.3\nrequests-file                     1.5.1\nrequests-toolbelt                 1.0.0\nrfc3339-validator                 0.1.4\nrfc3986-validator                 0.1.1\nrich                              13.7.1\nrope                              1.12.0\nrpds-py                           0.10.6\nRtree                             1.0.1\nruamel.yaml                       0.18.6\nruamel.yaml.clib                  0.2.8\nruamel-yaml-conda                 0.17.21\ns3fs                              2024.6.1\nscikit-image                      0.24.0\nscikit-learn                      1.5.1\nscipy                             1.13.1\nScrapy                            2.11.1\nseaborn                           0.13.2\nSecretStorage                     3.3.1\nsemver                            3.0.2\nSend2Trash                        1.8.2\nservice-identity                  18.1.0\nsetuptools                        75.1.0\nsip                               6.7.12\nsix                               1.16.0\nsmart-open                        5.2.1\nsmmap                             4.0.0\nsniffio                           1.3.0\nsnowballstemmer                   2.2.0\nsortedcontainers                  2.4.0\nsoupsieve                         2.5\nSphinx                            7.3.7\nsphinxcontrib-applehelp           1.0.2\nsphinxcontrib-devhelp             1.0.2\nsphinxcontrib-htmlhelp            2.0.0\nsphinxcontrib-jsmath              1.0.1\nsphinxcontrib-qthelp              1.0.3\nsphinxcontrib-serializinghtml     1.1.10\nspyder                            5.5.1\nspyder-kernels                    2.5.0\nSQLAlchemy                        2.0.34\nstack-data                        0.2.0\nstatsmodels                       0.14.2\nstreamlit                         1.37.1\nsympy                             1.13.2\ntables                            3.10.1\ntabulate                          0.9.0\ntblib                             1.7.0\ntenacity                          8.2.3\nterminado                         0.17.1\ntext-unidecode                    1.3\ntextdistance                      4.2.1\nthreadpoolctl                     3.5.0\nthree-merge                       0.1.1\ntifffile                          2023.4.12\ntinycss2                          1.2.1\ntldextract                        5.1.2\ntoml                              0.10.2\ntomli                             2.0.1\ntomlkit                           0.11.1\ntoolz                             0.12.0\ntornado                           6.4.1\ntqdm                              4.66.5\ntraitlets                         5.14.3\ntruststore                        0.8.0\nTwisted                           23.10.0\ntyping_extensions                 4.11.0\ntzdata                            2023.3\nuc-micro-py                       1.0.1\nujson                             5.10.0\nunicodedata2                      15.1.0\nUnidecode                         1.3.8\nuri-template                      1.3.0\nurllib3                           2.2.3\nw3lib                             1.21.0\nwatchdog                          4.0.1\nwcwidth                           0.2.5\nwebcolors                         24.11.1\nwebencodings                      0.5.1\nwebsocket-client                  1.8.0\nWerkzeug                          3.0.3\nwhatthepatch                      1.0.2\nwheel                             0.44.0\nwidgetsnbextension                3.6.6\nwrapt                             1.14.1\nwurlitzer                         3.0.2\nxarray                            2023.6.0\nxyzservices                       2022.9.0\nyapf                              0.40.2\nyarl                              1.11.0\nzict                              3.0.0\nzipp                              3.17.0\nzope.interface                    5.4.0\nzstandard                         0.23.0\n'}

'''
