| | |
Export multiple csv files with Python
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2008
Posts: 6
Reputation:
Solved Threads: 0
Hello,
I am exporting 3 seperate Selects to a csv file. What i have is a button that when clicked I would like to have to export. The problem that I have is that I can only get one of the three to work. All three do work just not at the same time. So my question is:
Is there a way to do a multiple export of csv files with Python?
I am trying to avoid having to get the user to repeat the same action 3 times to get all of the information.
Thanks
I am exporting 3 seperate Selects to a csv file. What i have is a button that when clicked I would like to have to export. The problem that I have is that I can only get one of the three to work. All three do work just not at the same time. So my question is:
Is there a way to do a multiple export of csv files with Python?
I am trying to avoid having to get the user to repeat the same action 3 times to get all of the information.
Thanks
•
•
Join Date: Mar 2008
Posts: 6
Reputation:
Solved Threads: 0
Sure can.
What I have done since my last post is create a group of radio buttons (3) and a button. Now the user has to select a radio button and push Export. Once the user pushed export the file download screen pops up and they can save the csv file anywhere they want.
The problem I have is at no time would they only want one file, they will always want all 3. So I was trying to only have one button, when the user clicks it the file download will pop up and they will save it to a local drive, once the dl is complete the file download would pop up again and they would save the second file. Once the second file is saved the file download screen would again pop up and they would save the third and final csv file.
Thanks hope that explains it a bit better
What I have done since my last post is create a group of radio buttons (3) and a button. Now the user has to select a radio button and push Export. Once the user pushed export the file download screen pops up and they can save the csv file anywhere they want.
The problem I have is at no time would they only want one file, they will always want all 3. So I was trying to only have one button, when the user clicks it the file download will pop up and they will save it to a local drive, once the dl is complete the file download would pop up again and they would save the second file. Once the second file is saved the file download screen would again pop up and they would save the third and final csv file.
Thanks hope that explains it a bit better
![]() |
Other Threads in the Python Forum
- Previous Thread: PyQt Quit push button
- Next Thread: Weird file.write problem.
| Thread Tools | Search this Thread |
address anydbm app beginner changecolor cipher class conversion coordinates corners curves definedlines development dictionary dynamic events examples excel feet file float font format ftp function generator getvalue gui handling homework images import input ip java keycontrol line linux list lists loan loop maintain maze millimeter mouse mysqldb number numbers output parsing path permissions port prime programming projects py2exe pygame pymailer python queue random rational raw_input recursion recursive scrolledtext searchingfile shebang slicenotation split string strings table tails terminal text thread threading time tkinter tlapse tooltip tuple tutorial type ubuntu unicode url urllib urllib2 variable variables vigenere web windows wx.wizard wxpython xlwt





