import io
import csv


def list_to_csv(list_data):
    """Converts a Python list into a CSV string"""
    output = io.StringIO()
    writer = csv.writer(output)
    writer.writerow(list_data)
    # Strip trailing newline
    return output.getvalue()[:-2]