how to read comma separated values from text file in python code example Example: python input comma separated values lst = input().split(',')