Looks like it's still just one Python script file, so it could be copied and pasted straight off of
this page -- once it's in working order.
But ... what does "alpha" mean, exactly? Has this code actually ever been run successfully?
I'm having trouble so far with
time.clock() calls, which are deprecated in Python 3.8. I've replaced them with
time.process_time() -- not sure yet if I should really be using
time.perf_counter() instead, but at least those errors go away.
Unfortunately those errors get replaced with some uglier errors (on my Windows 11 system with Python 3.12 on it):
Code: Select all
Traceback (most recent call last):
File "wxpython.cpp", line 3, in <module>
File "C:\Users\Dave\Desktop\B3S23\Scripts\apgs3earch.py", line 2799, in <module>
apg_main()
File "C:\Users\Dave\Desktop\B3S23\Scripts\apgs3earch.py", line 2691, in apg_main
rootstring = ''.join(map(f, list(hashlib.sha256(payoshakey + datetime.datetime.now().isoformat()).digest()[:12])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Strings must be encoded before hashing
This is a standard Python2-to-Python3 error, of the kind that still happens after you run a 2to3 code conversion. Does that mean that the code currently in the repo was just run through 2to3, without any actual test execution attempts?