[Tutor] How to change default path output of 'logging'?

2014-12-22 Thread Juan Christian
I have a 'logging' on my code using: import logging < ... > logging.basicConfig(filename="bumpr.log", level=logging.INFO) < ... > The thing is that the default location of this output when running via Windows Task Scheduler is 'C:/Windows/System32'. Is there a way to change the location of the o

[Tutor] How to change default path output of 'logging'?

2014-12-22 Thread Zachary Ware
On Monday, December 22, 2014, Juan Christian > wrote: > I have a 'logging' on my code using: > > import logging > < ... > > logging.basicConfig(filename="bumpr.log", level=logging.INFO) > < ... > > > The thing is that the default location of this output when running via > Windows Task Scheduler is

Re: [Tutor] How to change default path output of 'logging'?

2014-12-22 Thread Dave Angel
On 12/22/2014 07:53 AM, Juan Christian wrote: I have a 'logging' on my code using: import logging < ... > logging.basicConfig(filename="bumpr.log", level=logging.INFO) < ... > The thing is that the default location of this output when running via Windows Task Scheduler is 'C:/Windows/System32'.

Re: [Tutor] How to change default path output of 'logging'?

2014-12-22 Thread Juan Christian
On Mon Dec 22 2014 at 1:35:44 PM Dave Angel wrote: > > No idea what part main.py plays to your code. If it's imported, then > you could use main.__file__ to get the full pathname to it. Then use > os.path.dirname() to get the directory. Then use os.path.join() to > combine that with "bumpr.log

Re: [Tutor] How to change default path output of 'logging'?

2014-12-22 Thread Dave Angel
On 12/22/2014 11:41 AM, Juan Christian wrote: str(os.path.abspath(__file__)).replace('main.py', '') So I get the full-path of my main dir where main.py is and all the other modules/packages too, no matter if I'm on OSX/Win/Linux. That's not the best way to get the directory path for a file.

[Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread Vishwas Pathak
Hi, I am working building on developing an automation framework for my product . I need to implement multi-threading having a pool of thread where each thread will be executed different set of test cases on remote windows machines. Consider following example - Say I have two windows OS test m

Re: [Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread Danny Yoo
On Dec 22, 2014 10:57 AM, "Vishwas Pathak" wrote: > > Hi, > > I am working building on developing an automation framework for my product . I need to implement multi-threading having a pool of thread where each thread will be executed different set of test cases on remote windows machines. Apologi

Re: [Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread wolfrage8...@gmail.com
On Mon, Dec 22, 2014 at 6:27 AM, Vishwas Pathak < vishwas_pat...@persistent.com> wrote: Your Disclaimer alone means that I can not respond to this question, or else it would apparently become the property of Persistent Systems Ltd. I prefer Open Source to closed source... good day. > > > DISCLAIME

Re: [Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread Alex Kleider
On Dec 22, 2014 12:36 PM, wolfrage8...@gmail.com wrote: > > On Mon, Dec 22, 2014 at 6:27 AM, Vishwas Pathak < > vishwas_pat...@persistent.com> wrote: > Your Disclaimer alone means that I can not respond to this question, or > else it would apparently become the property of Persistent Systems Lt

Re: [Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread Dave Angel
On 12/22/2014 09:58 PM, Alex Kleider wrote: On Dec 22, 2014 12:36 PM, wolfrage8...@gmail.com wrote: On Mon, Dec 22, 2014 at 6:27 AM, Vishwas Pathak < vishwas_pat...@persistent.com> wrote: Your Disclaimer alone means that I can not respond to this question, or else it would apparently become th

Re: [Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread wolfrage8...@gmail.com
On Mon, Dec 22, 2014 at 10:21 PM, Dave Angel wrote: > On 12/22/2014 09:58 PM, Alex Kleider wrote: > >> >> On Dec 22, 2014 12:36 PM, wolfrage8...@gmail.com wrote: >> >>> >>> On Mon, Dec 22, 2014 at 6:27 AM, Vishwas Pathak < >>> vishwas_pat...@persistent.com> wrote: >>> Your Disclaimer alone means