Re: Python Newbie

2013-02-22 Thread Mitya Sirenef
On 02/22/2013 09:18 PM, Chris Angelico wrote: On Sat, Feb 23, 2013 at 1:02 PM, Steven D'Aprano > wrote: >> On Fri, 22 Feb 2013 20:47:20 -0500, Mitya Sirenef wrote: >> >>> It's been used for many important projects by a huge number of big >>> companies: >>> >>> http://www.python.org/about/succe

Re: Python Newbie

2013-02-22 Thread Chris Angelico
On Sat, Feb 23, 2013 at 1:40 PM, Mitya Sirenef wrote: > It's also worth noting that if there's a new language that is somewhat > better than all established languages, but not to the extent that it > will ever replace them (because of network effects), it's not really > better for any practical pu

Re: Python Newbie

2013-02-22 Thread rurpy
On Friday, February 22, 2013 6:04:21 PM UTC-7, Terry Reedy wrote: >[...] the first 'killer app' for Python was nuclear weapon calculations... Gives a whole new meaning to the phrase "killer app", doesn't it? -- http://mail.python.org/mailman/listinfo/python-list

My script use paramiko module, it will be blocked at compute_hmac

2013-02-22 Thread Jack
Hello one problem, thanks for help My script like this: /hostname = xxx// //username = xxx// //password = xxx// //t = paramiko.Transport((hostname, 22))// //t.connect(username=username, password=password)//# here will be blocked //sftp = paramiko.SFTPClient.from_transport(t)/ I used gdb attach th

Re: Python Newbie

2013-02-22 Thread Mark Lawrence
On 23/02/2013 02:40, Mitya Sirenef wrote: On 02/22/2013 09:18 PM, Chris Angelico wrote: On Sat, Feb 23, 2013 at 1:02 PM, Steven D'Aprano > wrote: >> On Fri, 22 Feb 2013 20:47:20 -0500, Mitya Sirenef wrote: >> >>> It's been used for many important projects by a huge number of big >>> comp

Re: Python Newbie

2013-02-22 Thread Steven D'Aprano
On Fri, 22 Feb 2013 13:37:20 -0800, piterrr.dolinski wrote: > Today I learned the hard way that all function parameters in Python are > passed by reference (meaning whatever happens to them inside a function, > new values are always passed to caller). Not good. Today you learned wrong. This is a

Unit Test case for complie/test

2013-02-22 Thread jitendra gupta
Hi, I am working one tool, which will do compile/run the workspace (that code is written on c/c++). on that my requirment is i need to compile subfolder also, i have wrote code for that also. My problem is , i am unable to write the Unit test case for that. Since my method (called run_subfolder)

<    1   2