Fix a small python script
- or -
Post a project like this2108
€10(approx. $11)
- Posted:
- Proposals: 3
- Remote
- #2045833
- Completed
Description
Experience Level: Entry
I have a Python script to transform some incoming *.csv files into new *.csv files with different structure.
But it gives me the following error:
Traceback (most recent call last):
File "I:\Ld\01_LL_import\reformat_os.py", line 113, in
main()
File "I:\Ld\01_LL_import\reformat_os.py", line 110, in main
format_and_save()
File "I:\Ld\01_LL_import\reformat_os.py", line 80, in format_and_save
if column.startswith('Artikel') and int(row[column]) != 0:
ValueError: invalid literal for int() with base 10: '0,,'
I need this fixed asap.
But it gives me the following error:
Traceback (most recent call last):
File "I:\Ld\01_LL_import\reformat_os.py", line 113, in
main()
File "I:\Ld\01_LL_import\reformat_os.py", line 110, in main
format_and_save()
File "I:\Ld\01_LL_import\reformat_os.py", line 80, in format_and_save
if column.startswith('Artikel') and int(row[column]) != 0:
ValueError: invalid literal for int() with base 10: '0,,'
I need this fixed asap.
Theodor D.
100% (18)Projects Completed
18
Freelancers worked with
10
Projects awarded
53%
Last project
12 Feb 2020
Germany
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies