4 Replies - 2082 Views - Last Post: 02 March 2009 - 02:19 PM Rate Topic: -----

#1 Bunsky  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 07-September 08

Putting a Python Program on the web

Post icon  Posted 09 February 2009 - 01:42 PM

So I wrote a Python program to do some computations (cohomology of flag varieties) with a graphical interface using Tkinter. I knew next to nothing about python at the beginning of this project, and still don't know much.

Anyway, the program runs great now, on my home computer, but I'd like to make it available to the general (or at least mathematical) public. How can I put it on my website? Is it a problem that the program is broken up into several .py files?

Is This A Good Question/Topic? 0
  • +

Replies To: Putting a Python Program on the web

#2 girasquid  Icon User is offline

  • Barbarbar
  • member icon

Reputation: 108
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

Re: Putting a Python Program on the web

Posted 09 February 2009 - 01:59 PM

Do you mean embed it into a website, or distribute it?

If all you want to do is distribute it, you'd just package up a zip or a tarball or something and let users download it - they could then run it on their own systems.

If you want to embed it into your website, you'll have to do some serious rewriting of your code - Tk doesn't really translate to websites as far as I'm aware.
Was This Post Helpful? 0
  • +
  • -

#3 Bunsky  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 07-September 08

Re: Putting a Python Program on the web

Posted 09 February 2009 - 02:27 PM

View Postgirasquid, on 9 Feb, 2009 - 12:59 PM, said:

Do you mean embed it into a website, or distribute it?

If all you want to do is distribute it, you'd just package up a zip or a tarball or something and let users download it - they could then run it on their own systems.

If you want to embed it into your website, you'll have to do some serious rewriting of your code - Tk doesn't really translate to websites as far as I'm aware.



I meant embed it, so I guess that's bad news! Maybe the easiest thing to do is translate it to java....
Was This Post Helpful? 0
  • +
  • -

#4 numerical_jerome  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 167
  • Joined: 16-September 07

Re: Putting a Python Program on the web

Posted 09 February 2009 - 08:43 PM

Or port to Django
Was This Post Helpful? 0
  • +
  • -

#5 ptmcg  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 02-March 09

Re: Putting a Python Program on the web

Posted 02 March 2009 - 02:19 PM

If the interface is form-based, you can post your code to UtilityMill (http://utilitymill.com). Very easy to make your utility accessible to the world, and you automagically get a remote HTTP-callable API.

-- Paul
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1