Python Forum
Validating information from .csv file before executemany
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validating information from .csv file before executemany
#4
When you say it's not reading anything, what exactly do you mean? Is it going to the error in the else clause no matter what, or is it just not outputting anything? Also, where did you move the sql code to when you added the if/else? And please post a few lines of your name file we can test with.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: Validating information from .csv file before executemany - by ichabod801 - Apr-15-2019, 12:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] formula for validating monetary values? kakos_k9 1 1,408 Dec-17-2022, 09:28 PM
Last Post: woooee
  Command error - cursor.executemany(comandoSQL,valoresInserir) TecInfo 2 2,688 Nov-18-2022, 01:57 PM
Last Post: TecInfo
  getting information from a text file Nickd12 8 4,753 Nov-17-2020, 01:29 AM
Last Post: bowlofred
  MERGE SQL in oracle executemany kaladin 0 4,289 Oct-12-2020, 11:48 AM
Last Post: kaladin
  Validating user input WJSwan 2 3,038 Jul-06-2020, 07:21 AM
Last Post: menator01
  Validating the functionality of the application rpalakodety 1 2,466 Dec-30-2019, 07:58 PM
Last Post: ndc85430
  Extracting information from a file lokhtar 6 4,194 Dec-09-2019, 09:44 PM
Last Post: snippsat
  Errors to get information of multiple files into a single file csv Clnprof 3 3,541 Aug-30-2019, 04:59 PM
Last Post: ThomasL
  Using executemany to import the data Sandy7771989 1 3,669 Jun-11-2019, 07:45 AM
Last Post: Sandy7771989
  MySQL executemany - Failed executing the operation; Could not process parameters josh_marchant 1 9,746 May-16-2019, 04:22 PM
Last Post: woooee

Forum Jump:

User Panel Messages

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