It's been a while since I've done anything, and I have finals, so if
anyone wants to look at some of the source, here's the somewhat cleaned
up source for bastille and modjelly. Bastille is just a
sort-of-more-secure equivalent of what the code module is, in case you
have no clue what it does
[EMAIL PROTECTED] (Alex Martelli) writes:
Mike Meyer [EMAIL PROTECTED] wrote:
For some reason, I couldn't see the links at the end of the page; now I
can, though they look sort of ragged, but, OK.
Probably the fonts I chose. I'm in no way a good visual designer. I'm
hoping someone who is will
Mike Meyer [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] (Alex Martelli) writes:
Mike Meyer [EMAIL PROTECTED] wrote:
For some reason, I couldn't see the links at the end of the page; now I
can, though they look sort of ragged, but, OK.
Probably the fonts I chose. I'm in no way a good
[EMAIL PROTECTED] (Alex Martelli) writes:
I'm finding it hard to arrange my own experiments with Safari (I'm using
a loaner machine since my normal one[s] are all having problems and
under repair) but I'm told the solution for cursor positioning is to set
the caretPos attribute of the
Mike Meyer [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] (Alex Martelli) writes:
I'm finding it hard to arrange my own experiments with Safari (I'm using
a loaner machine since my normal one[s] are all having problems and
under repair) but I'm told the solution for cursor positioning is to
[EMAIL PROTECTED] (Alex Martelli) writes:
Meanwhile, other JS/DOM experts have told me that there's NO way to set
cursor position within a textarea according to w3c standards. In this
case, what your site does now may be the least bad approach, and that
fact might be noted in the browsers
Mike Meyer wrote:
Xavier Morel [EMAIL PROTECTED] writes:
[Old message and Xavier's question]
[Mike's reply to Xavier]
Since Python doesn't have any way to secure the interface built-in,
i'd be interrested in that.
Devan apparently doesn't have as cooperative an ISP, and is working on
Mike Meyer [EMAIL PROTECTED] wrote:
And yes, I know about this. It's listed in Known Problems. Anything
What's the URL to Known Problems? There's a strange cursor-placement
bug on Apple's Safari browser (not in Firefox), but I don't want to add
a bug report if you already know about it -- 'Try
[EMAIL PROTECTED] (Alex Martelli) writes:
Mike Meyer [EMAIL PROTECTED] wrote:
And yes, I know about this. It's listed in Known Problems. Anything
What's the URL to Known Problems? There's a strange cursor-placement
bug on Apple's Safari browser (not in Firefox), but I don't want to add
a bug
Mike Meyer [EMAIL PROTECTED] wrote:
...
Known problems doesn't have URL (isn't urlable?) other than
http://www.mird.org/home/mwm/try_python/. It's on that page - click on
s/mird/mired/ -- the URL as given goes to some 'oxide' thing.
Known Problems to open up the section. That particular
Mike Meyer wrote:
After spending time I should have been sleeping working on it, the try
python site is much more functional. It now allows statements,
including multi-line statements and expressions. You can't create code
objects yet, so it's still more a programmable calculator than
Xavier Morel [EMAIL PROTECTED] writes:
Mike Meyer wrote:
The url is http://www.mired.org/home/mwm/try_python/. Reports of
problems would appreciated.
If you want to try an online P{ython tool that lets you save code,
try
Devan L's at http://www.datamech.com/devan/trypython/trypython.py.
Mike Meyer wrote:
The url is http://www.mired.org/home/mwm/try_python/. Reports of
problems would appreciated.
You're probably already aware of this, but the online help utility
doesn't work. It exits before you can type anything into it:
Steven Bethard [EMAIL PROTECTED] writes:
Mike Meyer wrote:
The url is http://www.mired.org/home/mwm/try_python/. Reports of
problems would appreciated.
You're probably already aware of this, but the online help utility
doesn't work. It exits before you can type anything into it:
Actually,
I think that the code constructor (types.CodeType) doesn't take
co_freevars or co_cellvars as an arg, so I can't directly create a new
code object from the attribute of the old one with co_freevars and
co_cellvars.
Yay for hidden documentation:
code(argcount, nlocals, stacksize, flags,
Bas [EMAIL PROTECTED] writes:
You could somehow combine the official tuturial (or any other good
introductory text) and make all the examples in the text 'live'. Maybe
use a split screen with the tutorial text on one side and the trypython
console on the other. The newbie could then
Hello
Thanks for trypython, it's a cool idea
I got TryPythonError after an IdentationError and i could not get rid
of it (other than refreshing the page):
Python 2.4.2 (#3, Dec 16 2005, 23:54:20)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type help, copyright, credits, or license for more
Szabolcs Nagy [EMAIL PROTECTED] writes:
Hello
Thanks for trypython, it's a cool idea
Thank you.
I got TryPythonError after an IdentationError and i could not get rid
of it (other than refreshing the page):
Python 2.4.2 (#3, Dec 16 2005, 23:54:20)
[GCC 2.95.4 20020320 [FreeBSD]] on
Very nice :)
I found this online Ruby tutorial:
http://tryruby.hobix.com/
I think it would be cool to have something similar for Python. Want to
go further and make a nice tutorial to accompany this :)
wy
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Very nice :)
I found this online Ruby tutorial:
http://tryruby.hobix.com/
That's what inspired me to create my version.
I think it would be cool to have something similar for Python. Want to
go further and make a nice tutorial to accompany this
I like the form, no matter what its limitations may be. Three notes:
It might be a good way to catch newbi mistakes (those are the kind I
make :P, thereby providing a feedback loop to improved error messages.
I had no trouble with from math import * followed by print pi, but
there was no
[EMAIL PROTECTED] writes:
I like the form, no matter what its limitations may be. Three notes:
It might be a good way to catch newbi mistakes (those are the kind I
make :P, thereby providing a feedback loop to improved error messages.
I'm doing almost no error catching. I think I catch two:
[EMAIL PROTECTED] wrote:
I like the form, no matter what its limitations may be. Three notes:
It might be a good way to catch newbi mistakes (those are the kind I
make :P, thereby providing a feedback loop to improved error messages.
I had no trouble with from math import * followed by
Mike Meyer wrote:
[EMAIL PROTECTED] writes:
[comments about Mike Meyer's try python, I think]
I had no trouble with from math import * followed by print pi, but
there was no prompt after the result appeared .. is that part of
the 'closures' thing mentioned earlier?
Hmm. Are you looking
After spending time I should have been sleeping working on it, the try
python site is much more functional. It now allows statements,
including multi-line statements and expressions. You can't create code
objects yet, so it's still more a programmable calculator than
anything real.
I've got some
Cool. I think its really a good thing. Could come in handy when one is
on a strange Windows machine with no Python installed, or when using a
PDA that doesn't have Python etc.
And its just a neat feat. ;-)))
Ron
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer wrote:
After spending time I should have been sleeping working on it, the try
python site is much more functional. It now allows statements,
including multi-line statements and expressions. You can't create code
objects yet, so it's still more a programmable calculator than
Devan L [EMAIL PROTECTED] writes:
If you want to try an online P{ython tool that lets you save code, try
Devan L's at http://www.datamech.com/devan/trypython/trypython.py.
My code uses one of the recipes from the Python Cookbook, 7.6 Pickling
Code Objects. It's limited to closures though, just
Mike Meyer wrote:
Devan L [EMAIL PROTECTED] writes:
If you want to try an online P{ython tool that lets you save code, try
Devan L's at http://www.datamech.com/devan/trypython/trypython.py.
My code uses one of the recipes from the Python Cookbook, 7.6 Pickling
Code Objects. It's limited
Devan L [EMAIL PROTECTED] writes:
On a side note, my brother has tinkered with the C internals and now
__subclasses__ is restricted and many, many os and posix commands are
restricted (not that you can get them anyways, since importing is
broken!)
I got import to work by pickling pairs of
30 matches
Mail list logo