I think you might want to start here:
http://download.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
I think you might want to start here:
http://download.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
Speaking of "lightweight", have a look at the Live CD linux page:
http://www.frozentech.com/content/livecd.php
Pick one with a small iso size, burn it to a cd, put it in your cd drive and boot up from it. You just have to make sure your machine's BIOS is configured to boot from the cd drive. This is a great way to get a taste of Linux, and of different distros before installing to the hard drive. You can download, "burn-'n-boot" until your fingers are numb!
I would agree with TheNNS. I currently run debian stable on both my desktop and notebook. Debian is very versatile. If your machine is connected to the internet via a high speed connection I would recommend that you do a Net install. The reason I say that is, this way you will have all of the security patches installed right from the git-go. Otherwise you would have to download and install them later.
I read somewhere about somebody importing the sys.py module. I can't find the bugger on my system! I have python 2.5.1 installed on this Waxows XP machine. I did a search for sys.py in the c:\python25 folder and sys.py isn't there! Isn't it supposed to be installed by default? If not, how do I install it?
When I import sys from the command line, I get:
>>> import sys
>>>
Cheers
Okay, I'll be honest right up front, I'm in a first year Python class and this is a question I'm supposed to write a program for. Here's the question:
"Write a program that continually reads in numbers from the user and adds them together until the sum reaches 100."
Here's what I have so far:
print "Now, we're going to add up some numbers."
print
number = input("Please enter a number: ")
if number < 100:
print input("Total is not yet over 100, enter another number: ")
else:
print ("That's it, you're done!")
I can't figure out how to capture what the user inputs, and then keep adding to it. Please, just give me a clue, or a hint where to look for the answer.
Thank you, I hope to find tolerance here for beginners.
Cheers,
Zorbie