Re: php to python code converter

2020-02-29 Thread balbdrbhatchhetri
On Friday, May 8, 2009 at 3:38:25 AM UTC-7, bvidinli wrote: > if anybody needs: > http://code.google.com/p/phppython/ this link doesn't work -- https://mail.python.org/mailman/listinfo/python-list

Re: What is the meaning of Building Wheel for ?

2020-02-29 Thread Terry Reedy
On 2/29/2020 11:23 AM, Souvik Dutta wrote: What is the meaning of the subject I mean what does python internally do when it says this? Python does not normally 'build wheels'. So you must be running some particular program. Check the docs for that program. -- Terry Jan Reedy -- https://m

Re: Friday Finking: Poly more thick

2020-02-29 Thread MRAB
On 2020-03-01 02:08, Christman, Roger Graydon wrote: DL Neil asked: How does one code a function/method signature so that it will accept either a set of key-value pairs, or the same data enclosed as a dict, as part of a general-case and polymorphic solution? Will this do for you? def any_as

Re: Friday Finking: Poly more thick

2020-02-29 Thread Christman, Roger Graydon
Emending my own note from moments ago: def any_as_dict(*args, **kwargs): if len(args) == 0: my_dict = kwargs elif type(args[0]) == type(dict()): my_dict = args[0] else: my_dict = dict(args[0]) print(type(my_dict),my_dict) >>> any_as_dict(a=1,b=2) {'a': 1, 'b': 2} >>> any_as_dict({'a':1, 'b':2}

Re: Friday Finking: Poly more thick

2020-02-29 Thread Christman, Roger Graydon
DL Neil asked: > How does one code a function/method signature so that > it will accept either a set of key-value pairs, > or the same data enclosed as a dict, as part of > a general-case and polymorphic solution? Will this do for you? def any_as_dict(*args, **kwargs): if len(args) == 0: my_dic

Re: Help building python application from source

2020-02-29 Thread Mr. Lee Chiffre
Thanks for the comments. > (To make OP's requirements plainly visible, note that this appears to > be a cryptocurrency application.) Correct. It is a software that does not store private keys but acts as a server to serve lightweight wallets that would connect to it remotely. Electrumx does not

Re: Help building python application from source

2020-02-29 Thread Peter Pearson
On Fri, 28 Feb 2020 18:49:58 -0800, Mr. Lee Chiffre wrote: [snip] > I am a python noob. This is why I ask the python masters. There is a > python software I want to install on the server it is called Electrumx. > https://github.com/kyuupichan/electrumx is the link. I am having troubles > with insta

What is the meaning of Building Wheel for ?

2020-02-29 Thread Souvik Dutta
What is the meaning of the subject I mean what does python internally do when it says this? -- https://mail.python.org/mailman/listinfo/python-list

Re: 【Regarding Performance of a Python Script....】

2020-02-29 Thread Peter J. Holzer
On 2020-02-28 19:24:18 -0500, Kenzi wrote: > I have a question regarding a simple code snippet in Python: > > from subprocess import check_output > for i in range(1024): > check_output(['/bin/bash', '-c', 'echo 42'], close_fds=True) > > *I wonder why running it in Python 3.7 is much faster t

Groovy to Python Converter ?

2020-02-29 Thread Frank Rentmeister
In my new project, I am supposed to bring the current test cases, all written in Groovy, to a Python base. We are talking about several thousand test cases that have accumulated over the last years. Since the test cases are also to be extended towards API gateway testing, and since we work with