On 02/02/16 17:46, Chelsea G wrote:
> ...but then in the def json_output instead of having the
> filename which i have now is 'test.txt' I want to have weekly_20160102.txt
> same naming convention as the csv file i am inputting.
Take a look at the os.path module documentation.
There are several
Chelsea G writes:
> import csvimport jsonimport sysimport osfrom collections import
> defaultdictfrom collections import Counter
Your email client has, probably without your consent, mangled the
content of your message.
Please ensure your email client does not attempt to apply pretty
formatting
Hi,
So what I am working on is taking a csv file and only taking 2 columns from
the spreadsheet and out putting that to a text file. Then taking those two
columns and organize them by product(key) and outputting the
description(values) that are associated. Some products have a lot of
duplicate desc