Thread: Pyhton as ASP

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    Canada
    Posts
    185
    Rep Power
    0

    Pyhton as ASP


    Just wondering if anyone here has ever used python to process form submissions. Kinda like as an alternative to ASP. I'm assuming i'd have to have python and the script installed on the server right?


    Please let me know if you have or know of any links to doing this. Thanks a lot.
    "In theory, there is no difference between theory and practice.
    But, in practice, there is."

  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2004
    Location
    London, England
    Posts
    1,585
    Rep Power
    1373
    If you have the Win32All extensions installed then Python can be used as a ActiveScripting language, which means that it can be used directly in ASP as an alternative to VBScript.

    There are a large number of alternative ways of using Python on the server side. These range from using it to process CGI requests using the standard cgi module all the way up to Zope which is a full blown web application framework.

    A couple of good places to start are:

    http://www.python.org/topics/web/

    http://www.python.org/cgi-bin/moinmoin/WebProgramming

    Hope this helps

    Dave - The Developers' Coach
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    38
    Rep Power
    11
    I use python for all my web development. mod_python is what I use with apache to create web applications.

    Really easy and has greater flexibility then ASP. If you add cheetah then web page substitutions are simple.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    Canada
    Posts
    185
    Rep Power
    0
    Originally Posted by penngray
    I use python for all my web development. mod_python is what I use with apache to create web applications.

    Really easy and has greater flexibility then ASP. If you add cheetah then web page substitutions are simple.
    Thanks alot. I'll be sure to check it out
    "In theory, there is no difference between theory and practice.
    But, in practice, there is."

  8. #5
  9. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Actually the latest version of mod_python comes with PSP (Python Server Pages) which i surpose is as similar to ASP as your gonna get without actually using ASP .

    Pretty excited to see this tech' in action.

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo