Re: Begginers problem : tar: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d

2018-12-29 Thread Michael Torrie
On 12/29/2018 01:15 AM, Rand .J wrote: > I'm trying to run this code from : https://github.com/pnnl/*safekit* ,using > cmd on windows 10, I already installed python. when I type the command: tar > -xjvf data_examples.tar.bz2 > > I keep getting the error: tar: Error opening archive: Can't initializ

Re: Begginers problem : tar: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d

2018-12-29 Thread Cameron Simpson
On 29Dec2018 11:15, Rand .J wrote: I'm trying to run this code from : https://github.com/pnnl/*safekit* ,using cmd on windows 10, I already installed python. when I type the command: tar -xjvf data_examples.tar.bz2 I keep getting the error: tar: Error opening archive: Can't initialize filter;

Re: Logging - have logger use caller's function name and line number

2018-12-29 Thread David
On Sun, 30 Dec 2018 at 05:58, Malcolm Greene wrote: > > I have a class method that adds additional context to many of the > class's log messages. Rather than calling, for example, logger.info( > 'message ...' ) I would like to call my_object.log( 'message ...' ) so > that this additional context

Re: Logging - have logger use caller's function name and line number

2018-12-29 Thread Peter Otten
Malcolm Greene wrote: > I have a class method that adds additional context to many of the > class's log messages. Rather than calling, for example, logger.info( > 'message ...' ) I would like to call my_object.log( 'message ...' ) so > that this additional context is managed in a single place. I'

Logging - have logger use caller's function name and line number

2018-12-29 Thread Malcolm Greene
I have a class method that adds additional context to many of the class's log messages. Rather than calling, for example, logger.info( 'message ...' ) I would like to call my_object.log( 'message ...' ) so that this additional context is managed in a single place. I'm actually doing that and its w

Monte Carlo Quant: Opensource project

2018-12-29 Thread bhagvanarch
Quantica computacao has started an open source initiative in python. We invite students and professionals to be part of it . My email address is bhagv...@quanticacomputacao.com or bhagvana...@gmail.com Repository link is : https://github.com/bhagvank/Montecarlo_Quant If you want to participate a

Re: Passing back the ERRORLEVEL

2018-12-29 Thread eryk sun
On 12/28/18, Gisle Vanem wrote: > I have trouble understanding why a 'sys.exit(2)' is > *not* passed back to the CMD shell in this little example: > > - c:\py_cmd_test.cmd -- > @%WinDir%\py.exe -2 -x %~dp0py_cmd_test.cmd & exit /b %ERRORLEVEL% %ERRORLEVEL% gets expanded in the initial par

Begginers problem : tar: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d

2018-12-29 Thread Rand .J
Hello everyone I'm completely new to python and I'm facing this problem : I'm trying to run this code from : https://github.com/pnnl/*safekit* ,using cmd on windows 10, I already installed python. when I type the command: tar -xjvf data_examples.tar.bz2 I keep getting the error: tar: Error openi