0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hi everyone! I'm trying to make a function in Python that converts a csv file into a xls file. I have to convert about 500 files so you understand that I need it to be as clean as possible. This is the code I wrote, just for one file later …
Hey, The code bsod1 gave you is much shorter dan mine but I want to give it anyway because it might help you out with future 'problems'... [ICODE]import os fpath = 'C:\\tmp\\Test\\TestText.txt' (filedir, filename) = os.path.split(fpath) (shortname,extension) = os.path.splitext(filename) print filedir print filename print shortname print extension[/ICODE]
The End.
Jehanneman