well, after the help i have had already tonight, i thought i might come ask another issue i am having with saving the file with the .txt extention.

i can save each file as the car model first name for each entry, however it wont put the .txt extention on the end. it just saves it as the file name and i have to choose to open with notepad.

my code is

text_file = open(car_model, "w")

thanks for the help!!

Try:

text_file = open(car_model+".txt", "w")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.