Human: What is a good Python code to turn string to list commas. Assistant: 
Here is a Python code to turn string to list commas

import os

def string_to_list(string):
    """
    >>> string_to_list("1,2,3")
    [1, 2, 3]
    """
    return string.split(",")

# Enter the file name
file_name ="yellow submarine"

# Open the file
file_obj = open(file_name, "r")

# Calling the function
file_contents = string_to_list(file_obj.read())

# Print the file contents

#Remember to inspect code for bugs.