User Profile

Collapse

Profile Sidebar

Collapse
shigehiro
shigehiro
Last Activity: Mar 19 '08, 09:52 AM
Joined: Oct 30 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Jlm,
    Thanks for your codes, they are really helpful. :)
    Just that I still didn't manage solve the problem, but you already helped much by replying to my questions...
    I guess I will keep this problem on the shelf for meantime, & ll come back to look around for the solution again later.

    Shige
    See more | Go to post

    Leave a comment:


  • Visited the website and I tried out the suggestion given, but it didn't help much, still get the same old problem huh..

    container.REQUE ST.RESPONSE.set Header('Content-Type','text/csv')
    container.REQUE ST.RESPONSE.set Header('Content-Disposition', 'attachment;fil ename=outputFil e.csv')
    container.REQUE ST.RESPONSE.set Header('Pragma' , 'public')
    container.REQUE ST.RESPONSE.set Header('Cache-Control', 'max-age=0')
    ...
    See more | Go to post

    Leave a comment:


  • Thanks, jlm699 for your fast reply (as usual)...
    :)

    For meantime, I will take a look at website you gave.

    Shige
    See more | Go to post

    Leave a comment:


  • shigehiro
    started a topic Export data to .csv format in Internet Explorer?

    Export data to .csv format in Internet Explorer?

    Hi all,

    I tried to export the data into .csv format.. and the below is how I do it:

    container.REQUE ST.RESPONSE.set Header('Content-Type','text/csv')
    container.REQUE ST.RESPONSE.set Header('Content-Disposition', 'attachment;fil ename=outputFil e.csv')
    container.REQUE ST.RESPONSE.wri te(outputString )

    The above works completely fine when I tested it in Firefox, but when I used IE, it will prompt user...
    See more | Go to post

  • Ah Ok,

    I agree with you guys, will prefer simpler method, of course.

    Thanks!
    See more | Go to post

    Leave a comment:


  • How to create csv file format using the list of dictionaries

    Hi all,

    Further to my 'list of dictionaries' question yesterday, I would to ask how to write data to csv file format using 'list of dictionaries' as a source:

    data to be written to .csv file:
    dictList = [ {'FirstName': 'Michael', 'LastName': 'Kirk', 'SSID': '224567'},
    {'FirstName': 'Linda', 'LastName': 'Matthew', 'SSID': '123456'},
    {'FirstName': 'Sandra', 'LastName': 'Parkin', 'SSID': '123456'},...
    See more | Go to post

  • shigehiro
    replied to How to create a list of dictionaries?
    Cool! Thank you so much for the replies!

    I ll try it out, shall post again if I have any further doubt.

    Shige
    See more | Go to post

    Leave a comment:


  • shigehiro
    started a topic How to create a list of dictionaries?

    How to create a list of dictionaries?

    Hi,

    I am quite new to Python & recently I have been given an assignment to create a list of dictionaries.
    Can anyone give me an idea of how to do so?

    Let say, my dictionary will have 3 keys: "FirstName" , "LastName" , and "SSID".

    So the expected output would be:
    dictList = [ {'FirstName': 'Michael', 'LastName': 'Kirk', 'SSID': '224567'},
    ...
    See more | Go to post
No activity results to display
Show More
Working...