Tektronix TBS 2000 oscilloscope to Python
The interface is called VISA


  Virtual instrument software architecture, commonly known as VISA, is a
  widely used I/O API in the test and measurement (T&amp;M) industry for
  communicating with instruments from a computer. VISA is an industry
  standard implemented by several T&amp;M companies, such as, Anritsu,
  Bustec, Keysight Technologies, Kikusui, National Instruments, Rohde &amp;
  Schwarz, and Tektronix.
  
  The VISA standard1 includes specifications for communication with
  resources (usually, but not always, instruments) over T&amp;M-specific I/O
  interfaces such as GPIB and VXI. There are also some specifications
  for T&amp;M-specific protocols over PC-standard I/O, such as HiSLIP2 or
  VXI-113 (over TCP/IP) and USBTMC[4] (over USB).
  
  The VISA library has standardized the presentation of its operations
  over several software reuse mechanisms, including through a C API
  exposed from Windows DLL, visa32.dll, over the Microsoft COM
  technology, and through a .NET API. Although there are several VISA
  vendors and implementations, applications written against VISA are
  (nominally) vendor-interchangeable thanks to the standardization of
  VISA's presentation and operations/capabilities. Implementations from
  specific vendors[specify] are also available for less common
  programming languages[specify] and software reuse technologies.


Source: wikipedia VISA

There is a python package available to use VISA, whether it works for your scope is another matter.

You'll also need the user manual for TPS2000 series