the official kick thread...

  • Thread starter Thread starter 1still_waters
  • Start date Start date
  • Christian Chat is a moderated online Christian community allowing Christians around the world to fellowship with each other in real time chat via webcam, voice, and text, with the Christian Chat app. You can also start or participate in a Bible-based discussion here in the Christian Chat Forums, where members can also share with each other their own videos, pictures, or favorite Christian music.

    If you are a Christian and need encouragement and fellowship, we're here for you! If you are not a Christian but interested in knowing more about Jesus our Lord, you're also welcome! Want to know what the Bible says, and how you can apply it to your life? Join us!

    To make new Christian friends now around the world, click here to join Christian Chat.
It's ok Adrian, as long as she doesn't do it literally, it's all good.

*kicks Adrian*
 
kitsumi-kick.jpg
Fail_kick.jpg
why would i want to kick someone? I mean its not like I have ever been kicked for no reason, WHATEVER!
*secretly wants to kick Rae*
KICKS BILLY
 
most of it works (I think :p) :D

need some more error handling though to keep the user from f.ex entering numbers as names
guess I could just use a try.....ValueError around the input? - and make the input str(input ('blabla:' )?
 
most of it works (I think :p) :D

need some more error handling though to keep the user from f.ex entering numbers as names
guess I could just use a try.....ValueError around the input? - and make the input str(input ('blabla:' )?

in my test program i dealt with that

if you wanted text but got numbers it converts them

if you want numbers but get text it deals with that - either gets the value or returns 0


def GetInteger(i): #if input is NOT numeric then a value of 0 is returned
try:
return int(i) #if input IS numeric it is rounded down
except:
return 0

also

name = str(raw_input("Name of student to Add?:"))
 
ok... that made no sense whatwoever.

*kicks Adrian again*