Re: Access a class in another python script

2015-10-08 Thread DBS
On Wednesday, October 7, 2015 at 11:46:05 PM UTC-7, Terry Reedy wrote: > On 10/8/2015 2:24 AM, DBS wrote: > > I'm using Python 3.5 and have two python scripts where one needs > > access to a class in the other script for authentication purposes. > > Any python .py file can be either run as a main

Re: Access a class in another python script

2015-10-07 Thread Terry Reedy
On 10/8/2015 2:24 AM, DBS wrote: I'm using Python 3.5 and have two python scripts where one needs access to a class in the other script for authentication purposes. Any python .py file can be either run as a main program or module (ie, script) or imported as a module by another module. If a f

Access a class in another python script

2015-10-07 Thread DBS
Hello, I'm using Python 3.5 and have two python scripts where one needs access to a class in the other script for authentication purposes. The scripts runs through GitHub to poll for all pull requests and pull requests that meet a certain condition. The call from the second script to the class