This question already has an answer here:

Is there a way to pull the EVM bytecode of a given contract address? Using Web3 perhaps?

I believe using the web3.eth.Contract command may get access to the contract, but I am specifically looking for the EVM bytecode, which I haven't seen this command explain how to do.

marked as duplicate by Richard Horrocks, Community Sep 15 at 18:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.