Referencing outside sources to create geometry.

So I have some txt files that can also be saved as Excel docs so that the information is in seperate columns. The data right now represents 3 columns for xyz position, and 3 columns for RGB value. I havent seen anything on here so far but does anyone know of an existing script that would allow me to make sphere geometry where each xyz position is that is also the rgb value that is corresponding with that position? It would need to create thousands of spheres so id like it to give me the option of how many segments and radius of the spheres.

Im such a novice at scripting so I know its beyond my capabilities. Anyone know anything like that out there?