Human: Give me a Python code to get the character codes for the characters in the string. Assistant: 
Here is a Python code to get the character codes for the characters in the string

string = "hello"

# Calling the function
print((get_char_codes(string)))

#Example Output
# [104, 101, 108, 108, 111]

#Remember to inspect code for bugs.