if (do_name() != 'Home') : ?>
endif ?>
Posted by anonymous on Dec 13, 2007
include("util/comment.php"); ?>
raw_input does not work in the NB development environment, since there is no stdin to read from. However, it should work in a console script. Look at "Console" in the tutorial on how to make your script ready. If you don't know how to use raw_input, here is an example:
in = raw_input("Enter a word: ")raw_input just returns whatever the user types in, as a string. Here is what you will need:
result = web.wikipedia.search(raw_input("Article name: "))Hope this helps.
raw_input
Posted by nobu on Dec 12, 2007hi, i was wondering if there is any way to run the nodebox script using raw_input? I wanted to make the program available for users to input a keyword on web.wikipedia.search(" "). I understand that I can run the scrip on console, but then how should I make the code like? Any suggestion will help. Thank you!