Re: php to python code converter

2020-05-15 Thread DL Neil via Python-list
On 15/05/20 12:58 AM, Jon Ribbens via Python-list wrote: On 2020-05-14, MRAB wrote: Look at the date of the original post. It says "8 May 2009". That's over 11 years ago! Since then, Google Code has ceased to exist. Disgraceful, all URLs should continue to work for at least as long as this o

Re: php to python code converter

2020-05-14 Thread Jon Ribbens via Python-list
On 2020-05-14, MRAB wrote: > Look at the date of the original post. It says "8 May 2009". That's over > 11 years ago! > > Since then, Google Code has ceased to exist. Disgraceful, all URLs should continue to work for at least as long as this one has: http://info.cern.ch/hypertext/WWW/TheProject.

Re: php to python code converter

2020-05-14 Thread MRAB
On 2020-05-13 17:53, Palash Bauri wrote: That gives a 404 🤷‍♂️, you sure , you pasted the right link ? ~Palash Bauri On Wed, 13 May 2020, 9:07 pm , wrote: On Friday, 8 May 2009 16:08:25 UTC+5:30, bvidinli wrote: > if anybody needs: > http://code.google.com/p/phppython/ $username = "usernam

Re: php to python code converter

2020-05-13 Thread Palash Bauri
That gives a 404 🤷‍♂️, you sure , you pasted the right link ? ~Palash Bauri On Wed, 13 May 2020, 9:07 pm , wrote: > On Friday, 8 May 2009 16:08:25 UTC+5:30, bvidinli wrote: > > if anybody needs: > > http://code.google.com/p/phppython/ > > $username = "username"; > $password = "password

Re: php to python code converter

2020-05-13 Thread anjulakshmi894
On Friday, 8 May 2009 16:08:25 UTC+5:30, bvidinli wrote: > if anybody needs: > http://code.google.com/p/phppython/ $username = "username"; $password = "password"; $hostname = "localhost"; $dbhandle = mysql_connect($hostname, $username, $password) or die("Unable t

Re: php to python code converter

2020-03-22 Thread bobimapexa
On Friday, May 8, 2009 at 1:38:25 PM UTC+3, bvidinli wrote: > if anybody needs: > http://code.google.com/p/phppython/ hi -- https://mail.python.org/mailman/listinfo/python-list

Re: php to python code converter

2020-03-01 Thread Terry Reedy
On 3/1/2020 12:53 AM, balbdrbhatchhe...@gmail.com wrote: 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 I believe free code.google.com was shut down a few years ago. I have a file there and was emaile

Re: php to python code converter

2020-03-01 Thread Souvik Dutta
Use this instead (I know the name is misleading) https://pypi.org/project/convert2php/ On Sun, Mar 1, 2020, 11:25 AM wrote: > 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.p

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: php to python code converter

2017-10-05 Thread wordpyai
On Friday, May 8, 2009 at 3:38:25 AM UTC-7, bvidinli wrote: > if anybody needs: > http://code.google.com/p/phppython/ The link is down. I'd like to give a plug to mynewly released product `pyx.php` Python module: https://wordpy.com/pyx/php/ https://github.com/wordpy/pyx Run Converted PHP Codes

Re: php to python code converter

2015-08-27 Thread Joel Goldstick
A quick google search led me here: http://www.diveintopython.net/soap_web_services/index.html That may help you out. -- Joel Goldstick http://joelgoldstick.com -- https://mail.python.org/mailman/listinfo/python-list

Re: php to python code converter

2015-08-27 Thread Chris Angelico
On Fri, Aug 28, 2015 at 1:06 AM, Joel Goldstick wrote: > Chris, I think you are missing a left paren Borrow one of the ones from inside the quoted string, there's plenty of spares. They won't notice one missing. I'm fairly sure the rest of the code is syntactically valid, though. But I did get a

Re: php to python code converter

2015-08-27 Thread Joel Goldstick
On Thu, Aug 27, 2015 at 10:56 AM, Chris Angelico wrote: > On Fri, Aug 28, 2015 at 12:33 AM, wrote: >> [ block of PHP code with no explanation ] > > I surmise from your subject line that you want a Python program that > does the same thing? Sure, we can do that; after all, we're your > indentured

Re: php to python code converter

2015-08-27 Thread Chris Angelico
On Fri, Aug 28, 2015 at 12:33 AM, wrote: > [ block of PHP code with no explanation ] I surmise from your subject line that you want a Python program that does the same thing? Sure, we can do that; after all, we're your indentured slaves, required to write code at minimal spec without any explana

Re: php to python code converter

2015-08-27 Thread parsict
'5a194cff-­‐c913-­‐3c79-­‐5415-­‐551a4fbc4ec5', 'password' =>'hTJLnXH6ZZyqLw', 'fname'=>'ali', 'lname' =>'ghaderi', 'email' =>'i...@parsishop.ir', 'quantity' =>1, 'product' =>'ENAHE', 'update_type' =>1, 'country_code' =>1022, 'debug' =>1); //create object that referer a web services $cl

Re: php to python code converter

2009-05-13 Thread bvidinli
i designed php to python converter a few monthos ago, to translate some of my ready made code snippets to python. i was experienced with php and was learning python. as stated on project home, it is only intended for translating small code snippets or small functions to python. whole applicatio

Re: php to python code converter

2009-05-10 Thread kay
On 8 Mai, 17:19, Pascal Chambon wrote: > Hello > > That's funny, I was precisely thinking about a php to python converter, > some weeks ago. > Such a tool, allowing for example to convert some CMS like Drupal to > python, would be a killer app, when we consider the amount of php code > available.

Missing c.l.py posts (was Re: php to python code converter)

2009-05-10 Thread skip
PS : Am I the only one having most of answers rejected by the antispam system of python-list ? That's humiliating :p >>> >>> I've had several messages not make it through. >>> >>> :( >> >> Same here ("Message has a suspicious header"). Aahz> I've b

Missing c.l.py posts (was Re: php to python code converter)

2009-05-10 Thread Aahz
In article , MRAB wrote: >J. Cliff Dyer wrote: >> On Fri, 2009-05-08 at 17:19 +0200, Pascal Chambon wrote: >>> >>> PS : Am I the only one having most of answers rejected by the >>> antispam >>> system of python-list ? That's humiliating :p >> >> I've had several messages not make it through. >>

Re: php to python code converter

2009-05-09 Thread Diez B. Roggisch
Dotan Cohen schrieb: I'm almost 100% sure it won't. The code is machine-generated, thus not easy to the human eye, not idiomatic so you don't learn how to write good python through it. You learn how to jump through hoops to code the same way in python that you do in PHP. I meant for single fun

Re: php to python code converter

2009-05-08 Thread MRAB
J. Cliff Dyer wrote: On Fri, 2009-05-08 at 17:19 +0200, Pascal Chambon wrote: PS : Am I the only one having most of answers rejected by the antispam system of python-list ? That's humiliating :p I've had several messages not make it through. :( Same here ("Message has a suspicious header

Re: php to python code converter

2009-05-08 Thread J. Cliff Dyer
On Fri, 2009-05-08 at 17:19 +0200, Pascal Chambon wrote: > PS : Am I the only one having most of answers rejected by the > antispam > system of python-list ? That's humiliating :p > I've had several messages not make it through. :( -- http://mail.python.org/mailman/listinfo/python-list

Re: php to python code converter

2009-05-08 Thread Dotan Cohen
> I'm almost 100% sure it won't. The code is machine-generated, thus not easy > to the human eye, not idiomatic so you don't learn how to write good python > through it. You learn how to jump through hoops to code the same way in > python that you do in PHP. > I meant for single functions, not for

Re: php to python code converter

2009-05-08 Thread Diez B. Roggisch
Dotan Cohen wrote: >> I'm not a big fan of PHP but I don't understand the desireability of >> such a tool.  If you have a good PHP app just run it.  The point of >> Python in my mind is that it is a cleaner syntax and promotes better >> code.  Anything that converts PHP to Python is going to leave

Re: php to python code converter

2009-05-08 Thread D'Arcy J.M. Cain
On Fri, 8 May 2009 19:33:10 +0300 Dotan Cohen wrote: > It would be a great learning tool. I am pretty decent with PHP but > just getting started in Python. This might help such users flatten out > the learning curve. If there were such a tool available I would sugegst it come with huge warnings s

Re: php to python code converter

2009-05-08 Thread Dotan Cohen
> I'm not a big fan of PHP but I don't understand the desireability of > such a tool.  If you have a good PHP app just run it.  The point of > Python in my mind is that it is a cleaner syntax and promotes better > code.  Anything that converts PHP to Python is going to leave you with > some butt-ug

Re: php to python code converter

2009-05-08 Thread Pascal Chambon
D'Arcy J.M. Cain a écrit : On Fri, 08 May 2009 17:19:13 +0200 Pascal Chambon wrote: That's funny, I was precisely thinking about a php to python converter, some weeks ago. Such a tool, allowing for example to convert some CMS like Drupal to python, would be a killer app, when we consider t

Re: php to python code converter

2009-05-08 Thread Pascal Chambon
D'Arcy J.M. Cain a écrit : On Fri, 08 May 2009 17:19:13 +0200 Pascal Chambon wrote: That's funny, I was precisely thinking about a php to python converter, some weeks ago. Such a tool, allowing for example to convert some CMS like Drupal to python, would be a killer app, when we consider th

Re: php to python code converter

2009-05-08 Thread D'Arcy J.M. Cain
On Fri, 08 May 2009 17:19:13 +0200 Pascal Chambon wrote: > That's funny, I was precisely thinking about a php to python converter, > some weeks ago. > Such a tool, allowing for example to convert some CMS like Drupal to > python, would be a killer app, when we consider the amount of php code >

Re: php to python code converter

2009-05-08 Thread Pascal Chambon
Hello That's funny, I was precisely thinking about a php to python converter, some weeks ago. Such a tool, allowing for example to convert some CMS like Drupal to python, would be a killer app, when we consider the amount of php code available. But of course, there are lots of issues that'd

php to python code converter

2009-05-08 Thread bvidinli
if anybody needs: http://code.google.com/p/phppython/ -- http://mail.python.org/mailman/listinfo/python-list