Python Forum
Deleting from a database...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deleting from a database...
#3
(Aug-20-2020, 07:46 PM)ndc85430 Wrote: Of course it does - "insert" means to insert a row. Should You be really using "update"? You don't have any constraints I the table either, so it guess you don't care about having duplicate rows? It might help if you said what the data are and what your end goal is.


Hi ndc85430,


Thanks for the help! Smile

The whole idea is to take the information I am sent (in the form of roughly 50 .csv files) and output the bits I need to a GUI (probably in Tkinter). It will need to update from the csv file so that when it appears in the interface it only shows the new data (currently being handled in the spreadsheet) that I need. I have to do this every 24 hours or so (currently manually) and it is a very boring task that I hope to automate.

The above code is literally my first attempt to learn how python works that isn't just a "copy someone else" type deal. It is also a pared down version of the first step, second step being to place it in the GUI and actually figure out how to lay it out so it is readable! I guess I will also try to write all the equations, currently handled by the speadsheets, into the program soon.

Next last step will be to import this all from a couple of seperate APIs but that is a bit more complex as this is my first go at coding anything at all and 3 days or youtube "training" is not going to get me there quite yet but everyone has to start somewhere, right?


Cheers,

Mort
Reply


Messages In This Thread
Deleting from a database... - by Mort101 - Aug-20-2020, 06:27 PM
RE: Deleting from a database... - by ndc85430 - Aug-20-2020, 07:46 PM
RE: Deleting from a database... - by Mort101 - Aug-20-2020, 11:12 PM
RE: Deleting from a database... - by jefsummers - Aug-22-2020, 06:52 PM
RE: Deleting from a database... - by ibreeden - Aug-23-2020, 08:14 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020