Ok, im convinced to that i need to get Amara, I just installed 4Suite
and now installed Amara. Still doesnt work because like i said before,
i use ActivePython from
http://www.activestate.com/Products/ActivePython/
And the requirements for Amara is Python 2.4 so Thats where we have
a problem,
Mike Meyer <[EMAIL PROTECTED]> wrote:
> Steven D'Aprano <[EMAIL PROTECTED]> writes:
> > Of course, the IT world is full of people writing code and not testing
> > it, or at least not testing it correctly. That's why there are frequent
> > updates or upgrades to software that break features that wo
[EMAIL PROTECTED] (Alex Martelli) writes:
> Mike Meyer <[EMAIL PROTECTED]> wrote:
>...
>> Except you haven't shown that the API was badly designed. You can't
>> show that it's badly designed, because you don't know the requirements
>> that the API is meeting.
> I can show that an API is badly d
Here's a more direct link:
http://www.manning.com/books/rappin
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 11 Dec 2005 09:46:33 -0800 (PST), Dimos <[EMAIL PROTECTED]> wrote:
>Hello All,
>
>I need some help with random number generation. What I
>need exactly is:
>
>To create a few thousand numbers, decimal and
>integers, between 5 and 90,
>and then to export them as a single column at a
>spread
I havet these 2 files in the same dir. This is code im writing to learn pythong
mkoneurl.py:
#! /usr/bin/env python
import make_ou_class
run = make_ou_class.makeoneurl()
make_ou_class.py:
class makeoneurl:
def __init__():
self.command
shawn a wrote:
> I havet these 2 files in the same dir. This is code im writing to learn
> pythong
> mkoneurl.py:
> #! /usr/bin/env python
>
> import make_ou_class
>
> run = make_ou_class.makeoneurl()
>
>
> make_ou_class.py:
>
> class makeoneurl:
> def
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> put "self" as the first argument in all instance methods of that class.
> "self" is just a convention, referring to the object instance, not a
> language feature as in other language like javascript. You can call it
> "me" too if you pref
shawn a <[EMAIL PROTECTED]> wrote:
...
> Ive looked around for this exeption but nothing ive read has help in
> this situation.
> Any of your thoughts are greatly apprectiated. THANK!!
Add "self" as the first or only parameters to all methods.
Re-read the tutorial -- you're missing very crucia
Ummm, my error conditions.
PythonWin 2.3.5 (#62, Feb 9 2005, 16:17:08) [MSC v.1200 32 bit
(Intel)] on win32.
Portions Copyright 1994-2004 Mark Hammond ([EMAIL PROTECTED]) -
see 'Help/About PythonWin' for further copyright information.
>>> import amara
Traceback (most recent call last):
File
Tom Anderson <[EMAIL PROTECTED]> wrote:
...
> Haskell is strongly and statically typed - very strongly and very
> statically!
Sure.
> However, what it's not is manifestly typed - you don't have to put the
> types in yourself; rather, the compiler works it out. For example, if i
> wrote code
On Mon, 12 Dec 2005 01:12:26 +, Tom Anderson <[EMAIL PROTECTED]> wrote:
>tom
>
>--
>ø¤º°`°º¤øø¤º°`°º¤øø¤º°`°º¤øø¤º°`°º¤ø
>---910079544-1780890058-1134349946=:30272--
[OT} (just taking liberties with your sig ;-)
[EMAIL PROTECTED] (Bengt Richter) writes:
> Theoretically, the chances of getting an integer from a uniformly
> random sample from an interval of real numbers is practically zero,
> and even allowing for IEEE 754 double representation,
Well, if we're going to be picky, the chances of getting a num
ActivePython is same as Standard Python distribution but with a few
extras.
"As far as it should work since their both transparent, umm, well its
not."
Why do you think it is not transparent? Did you try installing it on
both?
I have ActivePython 2.4 here and it loads amara fine.
"
Traceback (mo
newbie wrote:
[about some tkinter problems]
I'm running:
Python 2.3.4 (#4, Oct 25 2004, 21:40:10)
[GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] on linux2
With tcl/tk 8.3 and your first sample works as expected.
> I am running PYTHON and Tkinter on a windows' XP box.
This is probably your proble
> Alan Isaac wrote:
> >>> #evaluate polynomial (coefs) at x using Horner's rule
> >>> def horner(coefs,x): return reduce(lambda a1,a2: a1*x+a2,coefs)
> > It just cannot get simpler or more expressive.
"Peter Otten" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> But is it correct?
No, when i said
"As far as it should work since their both transparent, umm, well its
not."
I meant that only mine isnt, maybe urs is but for some reason it isnt.
And you said amara works fine for you, ok, then could you tell me what
package to install...
I have installed Amara 1.1.6 for Python
"Chris Mellon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> As someone who does a tremendous amount of event-driven GUI
> programming, I'd like to take a moment to speak out against people
> using us as a testament to the virtues of lamda. Event handlers are
> the most important
Peter Hansen <[EMAIL PROTECTED]> wrote:
>
>Well, it's a matter of interpretation, isn't it? Given his vague
>requirements above, it's quite valid to assume that he wants to avoid
>the effects of the browser loading a new page, even if that page looks
>like the previous one a lot. You may be qu
"""
No, when i said
"As far as it should work since their both transparent, umm, well its
not."
I meant that only mine isnt, maybe urs is but for some reason it isnt.
And you said amara works fine for you, ok, then could you tell me what
package to install...
I have installed Amara 1.1.6 for Pyt
h, i just tryed the same thing earlier today and it didnt work, but
now it does, i downloaded the standalone package and now it works in
activepython when it didnt before and i tryed the same thing.
And yes, last time i did type python setup.py install.
Thx anyway.
--
http://mail.python.org
Chris Mellon <[EMAIL PROTECTED]> writes:
> As someone who does a tremendous amount of event-driven GUI
> programming, I'd like to take a moment to speak out against people
> using us as a testament to the virtues of lamda. Event handlers are
> the most important part of event-driven code, and maki
Spoke too soon, i get this error when running amara in ActivePython
>>> import amara
>>> amara.parse("http://www.digg.com/rss/index.xml";)
Traceback (most recent call last):
File "", line 1, in ?
File "C:\Python23\Lib\site-packages\amara\__init__.py", line 50, in
parse
if IsXml(source):
Na
F. GEIGER wrote:
> I've def'ed a handler for EVT_IDLE in the app's main frame. There I'd like
> to call the nanothreads' __iter__ method, somehow.
>
> When I copy the __iter__ method into a, say, runOnce() method and call the
> next() method of the generator returned by runOnce(), it works. But I c
"""
Spoke too soon, i get this error when running amara in ActivePython
>>> import amara
>>> amara.parse("http://www.digg.com/rss/index.xml";)
Traceback (most recent call last):
File "", line 1, in ?
File "C:\Python23\Lib\site-packages\amara\__init__.py", line 50, in
parse
if IsXml(source
James Stroud said unto the world upon 2005-12-09 20:39:
> Brian van den Broek wrote:
>
>>Hi all,
>>
>>I've the following code snippet that puzzles me:
>>
>>class Base(object):
>>__v, u = "Base v", "Base u"
>>def __init__(self):
>>print self.__v, self.u
>>
>>class Derived(Base):
>>
Paul Rubin wrote:
> Chris Mellon <[EMAIL PROTECTED]> writes:
>
>>As someone who does a tremendous amount of event-driven GUI
>>programming, I'd like to take a moment to speak out against people
>>using us as a testament to the virtues of lamda. Event handlers are
>>the most important part of event
"Bermi" <[EMAIL PROTECTED]> wrote:
>i have this program
>===
>from sys import *
>import math
>import math, Numeric
>from code import *
>from string import *
>from math import *
>from dataSet import *
>from string import *
I know you said you are a newbie. That means there is stil
I am not completely knowledgable about the status of lexical scoping in
Python, but it was my understanding that this was added in a long time
ago around python2.1-python2.2
I am using python2.4 and the following code throws a "status variable"
not found in the inner-most function, even when I try
101 - 129 of 129 matches
Mail list logo