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
  Schedule exit a program at a specific time 4 am every day. chubbychub 3 1,721 May-17-2024, 03:45 PM
Last Post: chubbychub
  Can i clean this code ? BSDevo 8 2,633 Oct-28-2023, 05:50 PM
Last Post: BSDevo
  Mysql and mysql.connector error lostintime 2 1,839 Oct-03-2023, 10:25 PM
Last Post: lostintime
  Hard time trying to figure out the difference between two strings carecavoador 2 1,598 Aug-16-2023, 04:53 PM
Last Post: carecavoador
  Clean Up Script rotw121 2 1,965 May-25-2022, 03:24 PM
Last Post: rotw121
  Mysql error message: Lost connection to MySQL server during query tomtom 6 22,203 Feb-09-2022, 09:55 AM
Last Post: ibreeden
  How to clean UART string Joni_Engr 4 4,020 Dec-03-2021, 05:58 PM
Last Post: deanhystad
  First time with mysql pascal111 5 5,660 Sep-25-2021, 07:45 AM
Last Post: Pedroski55
  Program stuck at mysql.connector.connect zazas321 1 2,899 Jul-29-2021, 10:49 AM
Last Post: zazas321
  Having a hard time conceptualizing how to print something MysticLord 6 4,553 Sep-19-2020, 10:43 PM
Last Post: MysticLord

Forum Jump:

User Panel Messages

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