Python Forum
.csv export, map and create new .csv
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.csv export, map and create new .csv
#6
Thanks for the replies!

I use Shopify and need to pass the orders to DPD Shipper.

In Shopify the header and columns are separated by comma (,), in DPD the header and columns are separated by semicolons (;) or pipes (|).

I'll have a play with csv.DictReader and csv.DictWriter and try to read the export file (that I can already do yay!), re-write the header according to the import format, add missing data in rows for header "recipient_type" and paste the relevant data.

Once I've got a few lines of /working/ code I'll post back ;)
Reply


Messages In This Thread
.csv export, map and create new .csv - by jtouchais - Jun-07-2018, 08:06 AM
RE: .csv export, map and create new .csv - by buran - Jun-07-2018, 08:20 AM
RE: .csv export, map and create new .csv - by buran - Jun-07-2018, 08:26 AM
RE: .csv export, map and create new .csv - by jtouchais - Jun-07-2018, 10:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create synonyms of a word and export them to csv in different columns vijaymadhu 1 3,137 Jun-23-2017, 06:31 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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