473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Can Python run on the Internet

I'd like to use Python in my classes, but some students do not have a
pc. They do have access to Internet-connected systems, though. Is
there a site someplace on the Internet (preferably a web server) where
someone can submit a Python program to be run? Telnet may be possible
to use, but a browser would be ideal.

John
Jul 18 '05 #1
8 2049
John,

Yes, python can run from the command prompt on a remote computer. I do this
all the time by developing prototypes of my programming assignments in
Python or Jython for my computer science classes. I then translate the
working prototypes into the target language of the course (Java, C++, C,
etc.).

Some of the free Unix shell providers may have Python installed:

http://www.leftfoot.com/freeshells.html
http://www.ductape.net/~mitja/freeunix.shtml

You could also install Linux on an old PC, hook it up to your LAN, and set
up shell accounts for your students so they can have access to Python from
the command prompt.

In either case, in lieu of telnet, I'd recommend using secure shell (ssh)
because it's more secure.

Putty is a program for Windows that provides ssh capabilities.

http://www.chiark.greenend.org.uk/~sgtatham/putty/

Rick

John Mowbray wrote:
I'd like to use Python in my classes, but some students do not have a
pc. They do have access to Internet-connected systems, though. Is
there a site someplace on the Internet (preferably a web server) where
someone can submit a Python program to be run? Telnet may be possible
to use, but a browser would be ideal.

John


Jul 18 '05 #2
John Mowbray wrote:
I'd like to use Python in my classes, but some students do not have a
pc.
Python can run on any many operating systems.
They do have access to Internet-connected systems, though.
So they can run python there.
Is
there a site someplace on the Internet (preferably a web server) where
someone can submit a Python program to be run?
You will need unix shell to do that - hard thing to find such for free,
but you can try at metawire.org.
Telnet may be possible
to use,
Forget telnet, use ssh. Noone allows telnet connections today.
but a browser would be ideal.


You would have to write web application that passes code from webpage to
python.

--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl

In the course of a lifetime, what does it matter?
Jul 18 '05 #3
Maciej Dziardziel wrote:
John Mowbray wrote:

I'd like to use Python in my classes, but some students do not have a
pc.
Python can run on any many operating systems.


I didn't know that 'pc' was an OS !-)

I guess that the point is that some students does not have any computer
at all.
They do have access to Internet-connected systems, though.

(snip)
but a browser would be ideal.

You would have to write web application that passes code from webpage to
python.


Zope may be of some help here. It wont really replace the Python
top-level, but...

Jul 18 '05 #4
> I'd like to use Python in my classes, but some students do not have a
pc. They do have access to Internet-connected systems, though. Is
there a site someplace on the Internet (preferably a web server) where
someone can submit a Python program to be run? Telnet may be possible
to use, but a browser would be ideal.


1. Find some machine that is connected to the internet; windows, mac or
linux.
2. Set up an SSH server on the machine (it is like telnet, only secure),
there are free SSH servers and clients for all platforms (there is a
great java SSH client which can be embedded in a web page called
MindTerm).
3. Install Python on the machine.
4. Give students a/some login(s).

Now, this will get it running; deciding whether you trust your students
in a situation like this is another question.

- Josiah

Jul 18 '05 #5
> Zope may be of some help here. It wont really replace the Python
top-level, but...

The only problem with Zope is that its python is restricted, so, you
won't be able to import some modules. However, there is a solution: look
for a file called "module_access_examples.py", located on
<ZopeHome>/lib/python/Products/PythonScripts, and enable the modules
like is described there (with the allow_module function). Then place the
file on a product folder (this is also described there), start zope and
you will have a functional python. Then you can create users on the
built-in acl_users folder, or if you have an LDAP Server, then you can
install the LDAPUserFolder. If you have other authentication method,
then look zope.org for more user folders (there are plenty of them). And
the best of all is that you can access it with a browser.

Regards,
Josef
Jul 18 '05 #6
John Mowbray <jm**********@hotmail.com> wrote in message news:<cl**********@sparta.btinternet.com>...
I'd like to use Python in my classes, but some students do not have a
pc. They do have access to Internet-connected systems, though. Is
there a site someplace on the Internet (preferably a web server) where
someone can submit a Python program to be run? Telnet may be possible
to use, but a browser would be ideal.

John


dude I really feel sorry for your students, you don't even have a
basic understanding of technical terms, you use them like a politician
or a hollywood screen writer, EMBARSSINGLY INCORRECTLY!
Jul 18 '05 #7
On Fri, 2004-10-22 at 18:30 -0700, Y2KYZFR1 wrote:
EMBARSSINGLY INCORRECTLY!


Embarssingly indeedly.

--
Cliff Wells <cl************@comcast.net>

Jul 18 '05 #8
Cliff Wells wrote:
On Fri, 2004-10-22 at 18:30 -0700, Y2KYZFR1 wrote:
EMBARSSINGLY INCORRECTLY!

Embarssingly indeedly.

Yup, people who live in grass houses shouldn't stow thrones.

regards
Steve
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
Jul 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cameron Laird | last post by:
QOTW: "Rule of thumb: if you can't find it, it's in section 2 of the library docs." John J. Lee http://groups.google.com/groups?selm=87he1wxfxs.fsf%40pobox.com "Monte Carlo sampling is no way...
23
by: anton.vredegoor | last post by:
Here's my situation: I'm typing this in a public library on a computer with OS windows 2000 server. I can run Internet explorer, word, excel and powerpoint, that's it. Maybe java, but it seems...
47
by: Kenneth McDonald | last post by:
Is there any emerging consensus on the "best" UI for toolkit. Tk never quite made it but from what I can see, both qt and wxWin are both doing fairly well in general. I'm already aware of the...
1
by: Clarence | last post by:
It appears that the -W option on starting python doesn't work the same as the warnings module. In particular, the "message" parameter is not treated as a regular expression, but rather a string...
4
by: Alia Khouri | last post by:
Can we open up the discussion here about how to improve setuptools which has become the de facto standard for distributing / installing python software. I've been playing around with ruby's gems...
0
by: wesley chun | last post by:
Need to get up-to-speed with Python as quickly as possible? Come join me, Wesley Chun, author of Prentice-Hall's bestseller "Core Python Programming," for another comprehensive intro course plus a...
2
by: Gabriel Rossetti | last post by:
Hello everyone, I'm trying to use python's freeze utility but I'm running into problems. I called it like this : python /usr/share/doc/python2.5/examples/Tools/freeze/freeze.py...
0
by: wesley chun | last post by:
*** FINAL REMINDER also, the course begins on monday immediately following the *free* CodeCamp conference http://siliconvalley-codecamp.com (click Program => Sessions to see all the talks)... 5...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.