11 Replies - 402 Views - Last Post: 28 October 2013 - 01:52 PM Rate Topic: -----

#1 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

If someone types something in something happens

Posted 27 October 2013 - 12:24 PM

I am a total noob at python and was wondering how could i get something to happen when someone typed something in.

Basically what i want is when someone types something like hello it will reply back with how are you back.

Thanks in advance :)
Is This A Good Question/Topic? 0
  • +

Replies To: If someone types something in something happens

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9572
  • View blog
  • Posts: 36,244
  • Joined: 12-June 08

Re: If someone types something in something happens

Posted 27 October 2013 - 12:39 PM

So like raw_input?

http://docs.python.o....html#raw_input
Was This Post Helpful? 0
  • +
  • -

#3 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

Re: If someone types something in something happens

Posted 27 October 2013 - 12:44 PM

Maybe Im not sure :/
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9572
  • View blog
  • Posts: 36,244
  • Joined: 12-June 08

Re: If someone types something in something happens

Posted 27 October 2013 - 12:47 PM

... yes.
http://www.dreaminco...program-python/
Was This Post Helpful? 0
  • +
  • -

#5 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

Re: If someone types something in something happens

Posted 27 October 2013 - 12:54 PM

Could you give me an example please :)
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9572
  • View blog
  • Posts: 36,244
  • Joined: 12-June 08

Re: If someone types something in something happens

Posted 27 October 2013 - 12:56 PM

.. I gave you a tutorial that explains it.
Was This Post Helpful? 0
  • +
  • -

#7 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

Re: If someone types something in something happens

Posted 27 October 2013 - 12:58 PM

I am so sorry, that just proves how much of a noob i am. Sorry :/
Was This Post Helpful? 0
  • +
  • -

#8 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1363
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: If someone types something in something happens

Posted 27 October 2013 - 01:09 PM

How does 'being a noob' mean that you can't read through tutorials?
Was This Post Helpful? 0
  • +
  • -

#9 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

Re: If someone types something in something happens

Posted 28 October 2013 - 05:46 AM

Get of my back 'D.I.C Lover'
Was This Post Helpful? 0
  • +
  • -

#10 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9572
  • View blog
  • Posts: 36,244
  • Joined: 12-June 08

Re: If someone types something in something happens

Posted 28 October 2013 - 05:52 AM

Ah, what?
Was This Post Helpful? 0
  • +
  • -

#11 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

Re: If someone types something in something happens

Posted 28 October 2013 - 01:49 PM

sorry it was a reply to the other guy
Was This Post Helpful? 0
  • +
  • -

#12 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9572
  • View blog
  • Posts: 36,244
  • Joined: 12-June 08

Re: If someone types something in something happens

Posted 28 October 2013 - 01:52 PM

Yeah.. that's what I didn't understand - what/how/to what was that a reply?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1