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 8 2063
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
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?
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...
> 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
> 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
John Mowbray <jm**********@h otmail.com> wrote in message news:<cl******* ***@sparta.btin ternet.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!
On Fri, 2004-10-22 at 18:30 -0700, Y2KYZFR1 wrote: EMBARSSINGLY INCORRECTLY!
Embarssingly indeedly.
--
Cliff Wells <cl************ @comcast.net>
Cliff Wells wrote: On Fri, 2004-10-22 at 18:30 -0700, Y2KYZFR1 wrote:
EMBARSSINGL Y 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 to understand code." Gordon McMillan
http://groups.google.com/groups?selm=90C65699Dgmcmhypernetcom%40199.171.54.194
Alan Kennedy introduces use of HTML-embedded Python as a scripting
plugin with the Windows Scripting Host for Internet...
|
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 to be flaky.
I want to run python scripts from this computer. At home I have a
multi-computer network (from better times) but no internet access
anymore, I could use this to try out solutions. I also have access to a
friends computer which has...
|
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 licensing
issues surrounding qt (fwiw, I think their license fee for commercial
use is eminently reasonable), so aside from that, I was wondering if
there was any feedback readers could provide on the following:
1) Which plays best with Python?...
|
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 literal which must
appear at the beginning of a warning message in order to match. The
treatment of -W in "python -h" makes no mention of the warnings module
(and I actually couldn't find any definitive documentation on command
line switches),...
|
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 which seems
to be more more mature and usable.
From my perspective, the relative immaturity of setuptools and its
simultaneous widespread use is a clear python weakness and can make
python less easy to absorb than it should be.
A few...
| |
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 1-day
Internet programming course coming up in November in beautiful
Northern California! I look forward to meeting you!
(Comprehensive) Introduction to Python
Mon-Wed, 2008 Nov 10-12, 9am-5pm
Internet Programming with Python
|
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
~/Documents/Code/Python/src/jester/service.py -m jester
then I did : make
|
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 straight days of learning in the
San Francisco Bay Area!!
***
---------- Forwarded message ----------
From: wesley chun <wescpy@gmail.com>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |