Re: "Dreaming in Code"

2008-04-23 Thread alexelder
On Apr 23, 6:12 am, Paul McGuire <[EMAIL PROTECTED]> wrote: > Haven't seen anyone mention this book, it is a "Soul of a New Machine"- > style record of the Chandler project. Since Chandler uses Python and > Twisted, and employed a few Python celebs, I thought folks on this > list might have alread

Re: "Dreaming in Code"

2008-04-23 Thread alexelder
On Apr 23, 6:12 am, Paul McGuire <[EMAIL PROTECTED]> wrote: > Haven't seen anyone mention this book, it is a "Soul of a New Machine"- > style record of the Chandler project. Since Chandler uses Python and > Twisted, and employed a few Python celebs, I thought folks on this > list might have alread

Re: Calling Python code from inside php

2008-04-23 Thread alexelder
On Apr 23, 7:42 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > vijay schrieb: > > > Hi > > I have a python code performing some computation for me.I have a > > html page which passes certain argumnets to a php page.This php page > > needs to pass on the value to the Python class and get th

Re: Calling Python code from inside php

2008-04-25 Thread alexelder
On Apr 25, 4:02 pm, sturlamolden <[EMAIL PROTECTED]> wrote: > On Apr 23, 9:13 pm, [EMAIL PROTECTED] wrote: > > > A simple yet dangerous and rather rubbish solution (possibly more of a > > hack than a real implementation) could be achieved by using a > > technique described above: > > > > e

Re: Using Python to verify streaming tv/radio station links

2008-04-29 Thread alexelder
On Apr 29, 1:52 pm, [EMAIL PROTECTED] wrote: > Hi guys. I've put together a website (http://worldwidemediaproject.com > ) that is a database of internet streaming tv/radio stations from > around the world. I have built the site with all users in mind. The > site should be Linux, Unix, Mac, Win, etc

Re: How to pass a multiline arg to exec('some.exe arg')?

2008-05-05 Thread alexelder
On May 5, 10:25 am, n00m <[EMAIL PROTECTED]> wrote: > os:windows > ml = 'line1 \n line2 \n line3 \n' > exec('some.exe "' + ml + '"') > > and some.exe get only 'line1'... I think your problem lies with your "\n", escape chars. Assuming these are not arguments and are indeed separating statements, I