Aug-09-2021, 09:54 AM
Hello mate,
I would recommend you look into Pandas as that can help a lot with file reading and comprehension.
You'd be best making a new function as you'd need your code to run in a specific way based on your file layout.
Can I just ask what the file looks like? Is it multiple sheets? How many columns are there? What type of database are you trying to add the data to?
cheers,
Jamie
I would recommend you look into Pandas as that can help a lot with file reading and comprehension.
You'd be best making a new function as you'd need your code to run in a specific way based on your file layout.
Can I just ask what the file looks like? Is it multiple sheets? How many columns are there? What type of database are you trying to add the data to?
cheers,
Jamie
while dad_has_cigs == True: happiness = True if dad_has_cigs == False: print("Dad come home!") happiness = not happiness break