Generate the Python code that calculates the numbers of characters in a given string.
"Hello, World!"
myString = "Hello, World!"

charCount = 0
for char in myString:
    charCount += 1
    
print("Number of characters:", charCount)