Very gently toss the entire colander of noodles in the air, this will get rid of excess water as steam.
BUT be very careful if you overwork the cooked noodles the gluten will start to break down the texture and change the flavor.
Unless you are using a straight tomato sauce you should never throw away all the pasta water. It imparts a silken texture to any sauce you are flavouring your spaghetti with ESPECIALLY if you are using butter or ricotta.