Python Forum
Hard time trying to have clean MySQL to CSV program
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hard time trying to have clean MySQL to CSV program
#3
Thank you ! :)

I've tried something like this:

#        region = str(region[0])
#        region = region.replace('(','')
#        region = region.replace(')','')
#        region = region.replace('\'','')
#        region = region.replace(',','')
but it's kinda uneficient.

Thank you!
Reply


Messages In This Thread
RE: Hard time trying to have clean MySQL to CSV program - by PierreSoulier - Jul-20-2018, 07:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can i clean this code ? BSDevo 8 958 Oct-28-2023, 05:50 PM
Last Post: BSDevo
  Mysql and mysql.connector error lostintime 2 693 Oct-03-2023, 10:25 PM
Last Post: lostintime
  Hard time trying to figure out the difference between two strings carecavoador 2 686 Aug-16-2023, 04:53 PM
Last Post: carecavoador
  Clean Up Script rotw121 2 1,023 May-25-2022, 03:24 PM
Last Post: rotw121
  Mysql error message: Lost connection to MySQL server during query tomtom 6 16,147 Feb-09-2022, 09:55 AM
Last Post: ibreeden
  How to clean UART string Joni_Engr 4 2,507 Dec-03-2021, 05:58 PM
Last Post: deanhystad
  First time with mysql pascal111 5 3,598 Sep-25-2021, 07:45 AM
Last Post: Pedroski55
  Program stuck at mysql.connector.connect zazas321 1 2,091 Jul-29-2021, 10:49 AM
Last Post: zazas321
  Having a hard time conceptualizing how to print something MysticLord 6 3,131 Sep-19-2020, 10:43 PM
Last Post: MysticLord
  Having hard time understanding the function self-returning itself twice jagasrik 2 2,505 Aug-15-2020, 08:50 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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