python 2.7. how to use user input for url?

This is the place for queries that don't fit in any of the other categories.

python 2.7. how to use user input for url?

Postby lfcpaul » Tue May 21, 2013 8:18 pm

Heres what i tried (im a total noob to programming).im trying to do all my scripting on android with sl4a and py4a.

Code: Select all
import android

droid = android.Android()
message = raw_input("search:")
droid.webViewShow("www.google.co.uk/",message)


Is it any where near being right?
Also if anyone could point me to a good tutorial for making apps with python 2.x would be much appreciate as that is what i would like to learn to do(iv tried searching but all i get is pygame tutorials i want to do apps and be able to do in on my android) kivy maybe, i dont know what it is but iv heard its something to do with apps.

So basically is that code anywhere near being right?
Is kivy a different language if not a tutorial on using it?
I think thats it. Thanks anyone who answers
Last edited by stranac on Wed May 22, 2013 3:50 am, edited 1 time in total.
Reason: Added code tags
lfcpaul
 
Posts: 7
Joined: Tue May 21, 2013 8:05 pm

Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 2 guests