How are the numbers generated by random.rand() made?
You can hook computer randomness up to truly random* quantum processes with fairly simple specialized chips. Building your argument on such an easily avoided technical detail isn't wise, because the question can very easily just be asked for a computer that does have access to a source of true randomness. Then it can be nondeterministic-- so what does that have to do with its consciousness or lack thereof?
* unless the entire universe is secretly deterministic, I guess.