Title: Signature.html
A fellow user of an application that I share with others may not have
installed Numeric-24.2.win32-py2.4.exe. If I tell him to try it, will
it replace the duplicate module if in fact he has already done it?
--
Wayne Watson (Watson Adventures, Prop., Nevada C
"spir" <[EMAIL PROTECTED]> wrote
Actually, my question is so trivial that it is difficult to let you
understand
what I want. Imagine you know there is a "char_range" function that
returns a
char string -- provided you properly inform it about the range you
want. But,
as you do not know exactly
Alan Gauld a écrit :
"spir" <[EMAIL PROTECTED]> wrote
How would you call this function? e.g.
digits = char_range(...)
In other words: which is, for you personly, the most practicle or
natural way of calling this func? Would you give me one or more
calling example(s)?
I'm not sure what yo
"Kent Johnson" <[EMAIL PROTECTED]> wrote
This works just as well:
s = '__import__("os").system("rm -rf /")'
I don' think it would since the eval would call tuple
which would return a tuple of characters which would
not unpack into x,y so throwing an error.
Care to try it? It does raise an e
Holà,
I forgot to ask for replies outside the list -- to avoid 'pollution' with
off-topic posts. [EMAIL PROTECTED]
Thank you,
denis
spir a écrit :
Hello pythonistas,
[...]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/li
--
Powered by Gentoo GNU/LINUX
http://www.linuxcrazy.com
--- Begin Message ---
Judith Flores wrote:
> Hello,
>
>A couple of weeks ago I posted a question about what documentation I
> should read in order to implement a way to communicate Python and R. I read
> about the module 'subprocess
On Wed, Nov 26, 2008 at 2:46 PM, Alan Gauld <[EMAIL PROTECTED]> wrote:
>
> "Kent Johnson" <[EMAIL PROTECTED]> wrote
>
> e = "tuple(" + s + ")"
>
> x,y = eval(e)# x -> 2.5, y -> 2.8
>>
>> This works just as well:
>> s = '__import__("os").system("rm -rf /")'
>>
>
> I don' think it
"spir" <[EMAIL PROTECTED]> wrote
How would you call this function? e.g.
digits = char_range(...)
In other words: which is, for you personly, the most practicle or
natural way of calling this func? Would you give me one or more
calling example(s)?
I'm not sure what you are asking for.
Do yo
Hello,
A couple of weeks ago I posted a question about what documentation I should
read in order to implement a way to communicate Python and R. I read about the
module 'subprocess', but have not been able to do something very simple. I was
wondering if you could tell me how to transfer a Py
"Kent Johnson" <[EMAIL PROTECTED]> wrote
e = "tuple(" + s + ")"
x,y = eval(e)# x -> 2.5, y -> 2.8
This works just as well:
s = '__import__("os").system("rm -rf /")'
I don' think it would since the eval would call tuple
which would return a tuple of characters which would
not unpack
On Wed, 26 Nov 2008 14:22:52 +0100
spir <[EMAIL PROTECTED]> wrote:
> Hello pythonistas,
>
> I need some information about a topic. A list like python tutor is
> the proper place to get it. Take this as a (stupid) game: would you
> like to answer the following question?
>
> Imagine you are writin
Hi Kent,
thanks for the valuable suggestion. to make it more clearer
here is my example...
Below is my input text file in dlg format. this dlg file contains 2
information.
one is for coordinate x=50, y=55 and another is for coordinate x=60, y=65.
**
Hello pythonistas,
I need some information about a topic. A list like python tutor is the proper
place to get it. Take this as a (stupid) game: would you like to answer the
following question?
Imagine you are writing code. Then, you realise you need a tool function you
have not yet written.
On Tue, Nov 25, 2008 at 6:50 PM, tchomby <[EMAIL PROTECTED]> wrote:
> It's a simple text-based program, the interaction would work perfectly in a
> terminal with the computer printing out lines of text to the user, and the
> user
> typing in lines of text and pressing return, and this is the kind
On Wed, Nov 26, 2008 at 06:48:52AM -0500, bob gailer wrote:
>
> See http://code.google.com/p/pythoninthebrowser/.
>
>> I'm looking for simplicity and ease of use for a python programmer.
I was just thinking that I'm sure I've seen Python and Ruby interpreters
implemented in javascript or somethin
On Wed, Nov 26, 2008 at 4:16 AM, Alan Gauld <[EMAIL PROTECTED]> wrote:
> "John Fouhy" <[EMAIL PROTECTED]> wrote
>
>>> e = "tuple(" + e + ")"
>>>
>>> x,y = eval(e)# x -> 2.5, y -> 2.8
>>>
>> If I, as an evildoer, can control e, it seems that I could set it to:
>>
>> ,), __import__('os').sys
tchomby wrote:
I have an idea for a python program I want to write. I want to make this
program accessible over the web for people to play with. And that's where I'm
stuck -- I don't know what module, framework, protocol, or whatever to use to
webify it.
It's a simple text-based program, the
"John Fouhy" <[EMAIL PROTECTED]> wrote
e = "tuple(" + e + ")"
x,y = eval(e)# x -> 2.5, y -> 2.8
If I, as an evildoer, can control e, it seems that I could set it
to:
,), __import__('os').system('rm -rf /'
I've never thought of myself as all that devious :-)
Sorry John, too fast
"John Fouhy" <[EMAIL PROTECTED]> wrote
s = "[2.5,2.8]" # your string from the file
e = "tuple(" + e + ")"
This should of course be
e = "tuple(" + s + ")"
If I, as an evildoer, can control e, it seems that I could set it
to:
,), __import__('os').system('rm -rf /'
Assuming you
19 matches
Mail list logo