Python on a public library computer

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

    #1

    Python on a public library computer


    This is about how to start a Python interpreter on a very locked down
    library computer.

    Some time ago I started a thread about it.(Google won't let me reply to
    older topics so I'm starting a new topic with the same title) A few
    days ago I found a Jython console applet that can be run from a
    webpage:



    This opens a webpage (well, maybe after some editing, I can't get
    google to display this link on the same line) which after some time aks
    the user to sign an applet which then turns out to be a complete Jython
    editor and interpreter!

    I'm looking for the sourcecode of a project like this so that I can
    host such a page myself and include more modules. Can anyone reach the
    author or has anyone written something like it and is willing to share
    the code? Alternatively can someone give me some tips about how to
    write it myself? Currently I'm at the stage where I can compile and run
    the examples (and the applets!) on the Jython homepage. I'm still
    wondering about how to sign applets.

    Maybe the interpreter could be done by using the code.py module from
    Jython itself and just redirect stdin and stdout to an applet?

    Anton

    p.s. John Lee: You remembered correctly, such a thing exists.

  • Sybren Stuvel

    #2
    Re: Python on a public library computer

    Anton Vredegoor enlightened us with:[color=blue]
    > Some time ago I started a thread about it.(Google won't let me reply
    > to older topics so I'm starting a new topic with the same title)[/color]

    Why not use a proper Usenet client?
    [color=blue]
    > A few days ago I found a Jython console applet that can be run from
    > a webpage:[/color]

    Nice! For giggles, try "raise SystemExit()" ;-)

    Sybren
    --
    The problem with the world is stupidity. Not saying there should be a
    capital punishment for stupidity, but why don't we just take the
    safety labels off of everything and let the problem solve itself?
    Frank Zappa

    Comment

    • Robert Kern

      #3
      Re: Python on a public library computer

      Sybren Stuvel wrote:[color=blue]
      > Anton Vredegoor enlightened us with:
      >[color=green]
      >>Some time ago I started a thread about it.(Google won't let me reply
      >>to older topics so I'm starting a new topic with the same title)[/color]
      >
      > Why not use a proper Usenet client?[/color]

      Because he's on a public computer without one installed?

      --
      Robert Kern
      rkern@ucsd.edu

      "In the fields of hell where the grass grows high
      Are the graves of dreams allowed to die."
      -- Richard Harter

      Comment

      • Sybren Stuvel

        #4
        Re: Python on a public library computer

        Robert Kern enlightened us with:[color=blue]
        > Because he's on a public computer without one installed?[/color]

        Guess it's time someone wrote a good Usenet client in a Jython applet
        ;-)

        Sybren
        --
        The problem with the world is stupidity. Not saying there should be a
        capital punishment for stupidity, but why don't we just take the
        safety labels off of everything and let the problem solve itself?
        Frank Zappa

        Comment

        Working...