R0b0t1
10-28-2007, 06:03 PM
http://www.python.org
Lookie: I found a language more powerful and more simple than Visual Basic.
Its called Python, and you may have heard of it. I've been using it for a while as a 'scripting' language.
Here are the main reasons I like it:
It has a very good standard library, with tonnes of other add ons to it made by other people
You don't have to compile it into an executable. This makes it good for testing.
You can't forget something like "end;", because it doesn't have any! It uses some thing where it looks at the tabs, etc.
It is harder to be mixed up with types: there is no type declarations, and casting is simple.
Any platform! Just send over the *.py files, and your done!
Heres a simple sample that returns the amount of players playing.
import urllib2
for line in urllib2.urlopen('http://www.runescape.com/title.ws'):
if 'There are currently' in line and 'playing!' in line:
print line
Output:
There are currently ***** people playing!
P.S.: Be careful when typing http://www.python.org in, as the .com site is porn.
Lookie: I found a language more powerful and more simple than Visual Basic.
Its called Python, and you may have heard of it. I've been using it for a while as a 'scripting' language.
Here are the main reasons I like it:
It has a very good standard library, with tonnes of other add ons to it made by other people
You don't have to compile it into an executable. This makes it good for testing.
You can't forget something like "end;", because it doesn't have any! It uses some thing where it looks at the tabs, etc.
It is harder to be mixed up with types: there is no type declarations, and casting is simple.
Any platform! Just send over the *.py files, and your done!
Heres a simple sample that returns the amount of players playing.
import urllib2
for line in urllib2.urlopen('http://www.runescape.com/title.ws'):
if 'There are currently' in line and 'playing!' in line:
print line
Output:
There are currently ***** people playing!
P.S.: Be careful when typing http://www.python.org in, as the .com site is porn.