Re: How to invoke the Python idle

2008-06-29 Thread John Henderson
Only-Trouble wrote: > Hi all > I am running openSUSE 10.3 > I am learning python on my own, it seems like the system has > already installed a python IDLE > The question is how to invoke it? If it's anything like my Red Hat system, I had to find the command first. In my case, at: /usr/lib/pyth

Re: SMS sending and receiving from website?

2008-05-31 Thread John Henderson
globalrev wrote: > i want to build a service where you can send an SMS with your > cellphone to my website and then the site will collect the > data you asked for and SMS it back. > > so what components would i need for that? Arguably the simplest route is to use a phone with a serial connection

Re: SMS sending and receiving from website?

2008-05-30 Thread John Henderson
globalrev wrote: > can i send and receive messages from a website using python? Absolutely. But I'm not clear what you mean by "from a website". Do you mean to use SMPP protocol to lodge and receive messages? Or do you want access to your own cellular hardware from a web interface? > how woul

Re: question

2008-05-29 Thread John Henderson
Gandalf wrote: > how do i write this code in order for python to understand it > and print me the x variable > > x=1 > def (): > x++ > if x > 1: > print "wrong" > else : > print x > > () Example: x=1 def (x): x += 1 if x > 1: return "wron

Re: Python, are you ill?

2008-05-10 Thread John Henderson
[EMAIL PROTECTED] wrote: > If you are in the interactive prompt of the Python interpreter > and you do this > > print """Testing\""" or print '''Testing\''' > > you get three dots [...] as if Python expects a code block. If > you press Enter, you get three dots again, and again, and > again.

Re: Python Math libraries - How to?

2008-04-28 Thread John Henderson
[EMAIL PROTECTED] wrote: > Hi, I am a very newbie who would very much appreciate some > hints. > > Python 2.52. on Windows XP for now. Soon on Ubuntu 8 > > I am teaching myself Python following free tutorials. I can > solve problems using arithmetic, but when I try to upgrade the > programs usin