How to generate bitcoin address? I'm currently studying Bitcoin and I followed Bitcoin wiki's instructions to make an address.

But my program never responds as the site above does.

Supposedly, the ECDSA key 0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6's SHA-256 should be 600FFE422B4E00731A59557A5CCA46CC183944191006324A447BDB2D98D4B408, but my code returns 32511e82d56dcea68eb774094e25bab0f8bdd9bc1eca1ceeda38c7a43aceddce and I don't think it's wrong because alot of online SHA-256 service returns the same.

Need I convert the hex into something else like binary to generate the hash?
The hashes are computed on the raw byte value of the key, not the hex-encoded string:

from hashlib import sha256
key = '0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6'
sha256(key).hexdigest()
# Output: '32511e82d56dcea68eb774094e25bab0f8bdd9bc1eca1ceeda38c7a43aceddce'
sha256(key.decode('hex')).hexdigest()
# Output: '600ffe422b4e00731a59557a5cca46cc183944191006324a447bdb2d98d4b408'


So the trick is to hex-decode the string into its original form before hashing it.