Hello!
In Visual Basic, there is a piece of code that can be used to see if a command starts with a certain text. For example, if I had a textbox, and I wanted to see if the user had started it with an "A" then I would use (not exactly, but):
if Text1.Text.StartsWith "A" then
MsgBox ("Your message started with A!")
else
MsgBox ("You message did not start with A!")
end if
Is there a way to do with with raw_input in python? Such as:
text = raw_input("Enter your text: ")
if text.StartsWith "A"
...
Another question is graphics. Is there a way to create GUIs in Python? I don't mean default GUIs like in Linux or UNIX or Windows, what I am asking is custom GUIs, such as if you were to create your own operating system (not that I am taking this task under my arm, but I know that UUU was created in Python). For example, in iTunes, and in the Avant browser, they both have really interesting GUIs.
How do you call functions? Do you just "print" the function and then break it?
print function(x,y,z)
break
?
And finally:
If I needed to call another Python file (another application) how would I go about doing this? If I were to make on application but have it call a bunch of different apps to help it (like having one app be the "Queen" program, and have all of the little worker programs jump up at her every will).
:cheesy: Sorry for so many questions! Thanks in advance!!!