No, for the Python activity, there is no returnable output the way there is with the Notebook activity. @Nik Holden
There is a runPageURL . This links to a page containing the outputs as in stdout and stderr. You might be able to parse something from here, but is more work compared to the Notebook activity.
I did try the python statment sys.exit("an exit value"). This however caused the activity to return failure status. Technically this is correct, as any value other than 0 is assumed to be an error. sys.exit` is intended to raise an exception.
On further consideration, it makes sense that there is no way to pass back values. To pass back values, there must be some hook or handler or something to receive the values. In normal garden-variety python scripts, there isn't a mechanism to pass the values out of the interpreter anyway. (Aside from printing or saving files)
While trying to upload my python script, I accidentally turned one into a notebook by "importing" rather than saving to DBFS.