Building Web Site Using Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roman

    #1

    Building Web Site Using Python

    I am new to python.

    I am looking to read in a 12mb csv file, parse it, generate web pages,
    summarize on a column and make drop down bottons.

    Where would I be able to find sample code that does something similar
    to this?

    Also, I know that microsoft has put out .net beta version of it. If I
    am using windows server, I am confined to use iron python? or are there
    alternatives? Perhaps, there are python web packages that have their
    own web server engine?

    Thanks in advance,

  • Simon Forman

    #2
    Re: Building Web Site Using Python


    Roman wrote:[color=blue]
    > I am new to python.
    >
    > I am looking to read in a 12mb csv file, parse it, generate web pages,
    > summarize on a column and make drop down bottons.
    >
    > Where would I be able to find sample code that does something similar
    > to this?
    >
    > Also, I know that microsoft has put out .net beta version of it. If I
    > am using windows server, I am confined to use iron python? or are there
    > alternatives? Perhaps, there are python web packages that have their
    > own web server engine?
    >
    > Thanks in advance,[/color]

    Google.

    Comment

    • Simon Forman

      #3
      Re: Building Web Site Using Python

      Roman wrote:[color=blue]
      > I am new to python.
      >
      > I am looking to read in a 12mb csv file, parse it, generate web pages,
      > summarize on a column and make drop down bottons.
      >
      > Where would I be able to find sample code that does something similar
      > to this?
      >
      > Also, I know that microsoft has put out .net beta version of it. If I
      > am using windows server, I am confined to use iron python? or are there
      > alternatives? Perhaps, there are python web packages that have their
      > own web server engine?
      >
      > Thanks in advance,[/color]

      *sigh*, sorry for the snarky answer.. but seriously ten minutes on
      google should answer all your questions.

      Meantime, for csv parsing you can use the csv module
      (http://docs.python.org/lib/module-csv.html); for generating HTML I
      recommend ElementTree (http://effbot.org/zone/element-index.htm) but
      there are lots of other packages that will do this too; as for windows
      server and python, I know nothing..; python comes with a web server
      (http://docs.python.org/lib/module-SimpleHTTPServer.html) but you'd
      probably want to use one of the aproximately dozen other python
      packages that have their own web server engine.. Zope, twisted, ...
      there are lots of them- search this news group, IIRC they've been
      mentioned recently.

      Google is your friend,


      Peace,
      ~Simon

      Comment

      Working...