Greetings!
The next New York City Python Users Group meeting is this Tuesday, May 8th,
6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd St.
and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who are
interested in Python to attend. However, we need a list of
Hi folks,
EasyExtend is a grammar based preprocessor generator and
metaprogramming system for Python written in Python. After reworking
an initial release for 11 months (!) it's time to present now
EasyExtend 2.0-alpha1.
You find EasyExtend on the projects homepage:
Hi all,
I'm proud to announce that TurboGears has just been updated to 1.0.2.2!
Main new features:
* This release is the first one that supports Python 2.5.
* Validators now support localized error messages.
To upgrade your install:
easy_install -U TurboGears
The CHANGELOG:
1.0.2 (May 2,
Hi all,
I've just uploaded bbfreeze 0.93.0 to python's cheeseshop.
bbfreeze creates standalone executables from python scripts. It's similar
in functionality to py2exe or cx_Freeze.
It offers the following features:
easy installation
bbfreeze can be installed with setuptools' easy_install
I'm happy to announce that ActivePython 2.5.1.1 is now available for
download from:
http://www.activestate.com/products/activepython/
This is a patch release that updates ActivePython to core Python 2.5.1.
This release also fixes a couple problems with running pydoc from the
command line on
IMDbPY 3.0 is available (tgz, deb, rpm, exe) from:
http://imdbpy.sourceforge.net/
IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database about both movies and people.
With this release the new design of the IMDb site is supported;
moreover, the
On 4/30/07, Leo Jay [EMAIL PROTECTED] wrote:
i have a development board based on s3c2410 arm cpu. and i want to
port python on it.
after googling some threads, i successfully cross compiled python.
but i still encountered a weird issue that when i ran
/lib/python2.5/test/testall.py,
the
On May 4, 1:17 am, Leo Kislov [EMAIL PROTECTED] wrote:
On May 3, 2:54 pm, Martin v. Löwis [EMAIL PROTECTED] wrote:
import site failed
OverflowError: signed integer is greater than the maximum.
- what is the value of ival?
ival: 4294967295
I see. This is 0x, which would
Nameless wrote:
Why should I keep on learning lisp when there are python and perl?
The more programing languages you know the better programer you will
be. Lisp can teach you a number of key things that are required to
be a good programmer in any of the P* lanuages.
--
On 3 May 2007 23:36:11 -0700, Michael [EMAIL PROTECTED] wrote:
On May 2, 6:08 am, Carsten Haese [EMAIL PROTECTED] wrote:
On Tue, 2007-05-01 at 22:21 -0700, Michael wrote:
Is there a reason for using the closure here? Using function defaults
seems to give better performance:[...]
It
DISCUSSION IN
USER nappie writes:
Hello, I'm Peter and I'm new in python codying and I'm using parsying
to extract data from one meteo Arpege file. This file is long file and
it's composed by word and number arguments like this: GRILLE EURAT5
Coin Nord-Ouest : 46.50/ 0.50 Coin Sud-E
Hello,
I'm
-Original Message-
From: Chris
Subject: Re: Strange terminal behavior after quitting Tkinter
application
Clicking 'Quit' or on the window's 'x' causes the application to quit
without messing up the terminal. With root.mainloop() commented out,
though, no combination of root.quit(),
how to find out the present working directory using python.
Try this:
import os
os.getcwd()
It returns the current working directory.
Thanks,
- Isaac.
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I've just downloaded scipy v 0.5.2 and I would like to be able to draw
plots. I've tried:
import scipy.gplt
import scipy.plt
import scipy.xplt
and none of them work. Are these modules still included in scipy ? If
not, where can I find them ?
Thanks for your answers,
Cédric
--
On Fri, 4 May 2007 15:05:46 +0300, Maxim Veksler [EMAIL PROTECTED] wrote:
On 5/4/07, Maxim Veksler [EMAIL PROTECTED] wrote:
On 5/4/07, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Fri, 4 May 2007 13:04:41 +0300, Maxim Veksler [EMAIL PROTECTED]
wrote:
Hi,
I'm trying to write a non
On 5/4/07, Leo Jay [EMAIL PROTECTED] wrote:
i want to compile a python by myself, but after configure and make, it
seems that md5 is not built by default.
what should i do to compile md5 as an module?
md5 module was deprecated, now it functions are in hashlib.
(see
Matimus wrote:
On May 3, 5:20 am, hg [EMAIL PROTECTED] wrote:
Hi,
I have started to work on a python-based robot, and am interested in your
feedback:
http://realtimebattle.sourceforge.net/www.snakecard.com/rtb
hg
This is not necessarily a response to your effort, but just a note
On 4 май, 09:08, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Fri, 04 May 2007 01:34:20 -0300, [EMAIL PROTECTED] escribio:
I'm not against 'dir(MyClass)'; the question is, what should I 'dir()'
to get methods of 'pyuno' type instance?
Usually instances don't have its own methods, they get
EuGeNe Van den Bulke [EMAIL PROTECTED] wrote:
Duncan Booth wrote:
However, the decoded text looks as though it is utf16 encoded so it
should be written as binary. i.e. the output mode should be wb.
Thanks for the wb tip that works (see bellow). I guess it is
experience based but how
Paul Boddie wrote:
I'm sorry to hear about that. If by macho you mean people who insist
that things are good enough as they are, and that newcomers should
themselves adapt to whatever they may discover, instead of things
being improved so that they are more intuitive and reliable for
Hullo!
I have several questions about this problem. Do you have more test scripts
using the unittest framework?
My blind idea would be the following: run test b first, and go forward when no
errors are found. To do this you could change the TestRunner component. The
official documentation is
On Fri, 04 May 2007 03:26:17 -0700, James Stroud
[EMAIL PROTECTED] wrote:
default wrote:
On 2 May 2007 20:10:20 -0700, Midex [EMAIL PROTECTED] wrote:
LIES LIES LIES LIES LIES
Trying to understand the World Trade Center events is like waking up
to act fifteen of a long Greek Tragedy. It
Joshua J. Kugler wrote:
I realize that in today's MVC-everything world, the mere mention of
generating HTML in the script is near heresy, but for now, it's what I ened
to do. :)
That said, can someone recommend a good replacement for HTMLGen? I've found
good words about it
On 5/4/07, Ben Collver [EMAIL PROTECTED] wrote:
Paul Boddie wrote:
I'm sorry to hear about that. If by macho you mean people who insist
that things are good enough as they are, and that newcomers should
themselves adapt to whatever they may discover, instead of things
being improved so
Terry Reedy wrote:
Three days after you posted, 'gagenellina' explained that he thought your
complaint was invalid.
py -531560245 0x
3763407051L
It's the same number (actually, the same bit pattern). ...
A few weeks later, noticing that you had not challenged his explanation, I
On 5/3/07, Brian Blais [EMAIL PROTECTED] wrote:
Carlos Hanson wrote:
It looks like you need __init__.py in MyPackage. Then you can import
starting with MyPackage. For example, you might use one of the
following:
import MyPackage
from MyPackage.Common import *
etc
that
Thorsten Kampe wrote:
He was using /Windows/ Python in Cygwin *chuckle*... Windows Python
says Ctrl-Z because it doesn't know that it's been run from bash where
Ctrl-Z is for job control.
And the lesson we learn from that: if you're using Windows Python use
a Windows shell. If you're
On May 4, 1:55 am, Eric Brunel [EMAIL PROTECTED] wrote:
On Fri, 04 May 2007 05:26:56 +0200, [EMAIL PROTECTED] wrote:
I will give a simplified example of the problem at hand --
I have a case in which I have two listboxes - listbox1 and listbox2,
if I click on an item in listbox1 the item
On May 3, 4:08 pm, quasi [EMAIL PROTECTED] wrote:
On Fri, 04 May 2007 09:37:37 +1200, Gib Bogle
[EMAIL PROTECTED] wrote:
Ah, so the firefighters were in on the conspiracy!
No, but the firefighters are very much aware that there is more to
9/11 than has been officially revealed.
This is
In article [EMAIL PROTECTED],
redcic [EMAIL PROTECTED] wrote:
Hi all,
I've just downloaded scipy v 0.5.2 and I would like to be able to draw
plots. I've tried:
import scipy.gplt
import scipy.plt
import scipy.xplt
and none of them work. Are these modules still included in scipy ? If
I've already got this package. I just wanted to try something new.
However, since you talk about it, I've got a question regarding this
package. The execution of the code stops after the line:
pylab.show()
which is off course the last line of my code. My problem is that I
have to close the figure
Thanks Peter and 7stud. That is the solution that really works for
me.
--
http://mail.python.org/mailman/listinfo/python-list
Chris Mellon wrote:
#python is one of the most accepting communities around. If the bug
reports here and the way you've presented them in this thread (vs the
way that they appear to an outside observer) are any indication,
though, I'm not surprised that you might have left in a huff.
Bear
I want to generate all the fractions between 1 and limit (with
limit1) in an orderly fashion, without duplicates.
def all_ratios(limit):
s = set()
hi = 1.0
lo = 1.0
while True:
if hi/lo not in s:
s.add(hi/lo)
yield (hi,lo)
hi += 1
if
Ben Collver wrote:
Chris Mellon wrote:
Code like this is working directly against Python philosophy. You
probably got told this on #python, too. There's hardly any
circumstance where you should need to validate the exact class of an
object, and as long as they have the same interface theres
On 5/4/07, Ben Collver [EMAIL PROTECTED] wrote:
Ben Collver wrote:
Chris Mellon wrote:
Code like this is working directly against Python philosophy. You
probably got told this on #python, too. There's hardly any
circumstance where you should need to validate the exact class of an
On May 4, 3:17 pm, Ben Collver [EMAIL PROTECTED] wrote:
Chris Mellon wrote:
...
Code like this is working directly against Python philosophy. You
probably got told this on #python, too. There's hardly any
circumstance where you should need to validate the exact class of an
object, and as
On May 4, 7:59 am, [EMAIL PROTECTED] wrote:
On 4 ÍÁÊ, 09:08, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Fri, 04 May 2007 01:34:20 -0300, [EMAIL PROTECTED] escribio:
I'm not against 'dir(MyClass)'; the question is, what should I 'dir()'
to get methods of 'pyuno' type instance?
James Stroud wrote:
Méta-MCI wrote:
Any plan to integrate Tcl 8.5 in standard Python?
Better would be to outegrate it and instead use another gui kit as the
standard.
This statement puzzles me, as you are something of a Tkinter expert (you
have helped me with some Tk issues). What is
Chris Mellon wrote:
You should check for the methods by calling them. If the object
doesn't support the method in question, you will get a runtime
exception. Premature inspection of an object is rarely useful and
often outright harmful.
That makes sense, thank you for the response.
What
Chris Mellon [EMAIL PROTECTED] wrote:
I am unqualified to comment on the Python philosophy, but I would like
for my function to do some basic error checking on its arguments.
By basic error checking I mean verify that the file argument actually
is a file-like object. By same
Thomas Nelson [EMAIL PROTECTED] wrote:
I want to generate all the fractions between 1 and limit (with
limit1) in an orderly fashion, without duplicates.
def all_ratios(limit):
s = set()
hi = 1.0
lo = 1.0
while True:
if hi/lo not in s:
s.add(hi/lo)
Ben Collver [EMAIL PROTECTED] wrote:
Chris Mellon wrote:
You should check for the methods by calling them. If the object
doesn't support the method in question, you will get a runtime
exception. Premature inspection of an object is rarely useful and
often outright harmful.
That makes
On May 4, 8:52 pm, Hamilton, William [EMAIL PROTECTED] wrote:
-Original Message-
From: Chris
Subject: Re: Strange terminal behavior after quittingTkinter
application
Clicking 'Quit' or on the window's 'x' causes the application to quit
without messing up the terminal. With
Alex Martelli wrote:
Type-switching in this way is a rather dubious practice in any
language (it can't respect the open-closed principle). Can't you have
those objects wrapped in suitable wrappers with a copyorwrite method
that knows what to do? For example, StringIO.StringIO is a standard
In [EMAIL PROTECTED], Thomas Nelson
wrote:
On May 4, 7:59 am, [EMAIL PROTECTED] wrote:
Let me retype my question: what I 'dir()' in case of 'pyuno' type
instance?
Or in case of 'dict' type instance? Or in case of any other new python
type?
class Foo:
... def f(self,x):
...
It is worth noting that eager, statically-typed languages like OCaml and F#
are many times faster than the other languages at this task. This is
precisely the forte of OCaml and F#, manipulating trees and graphs.
To be fair, it is also worth noting that both the OCaml and F#
implementations
Mark Tarver [EMAIL PROTECTED] writes:
See my remarks on the Lisp for the Twenty First Century
http://www.lambdassociates.org/lC21.htm
Anyone who didn't love lisp in the 20th century has no heart.
Anyone who still loves it in the 21st, has no head.
--
On May 4, 9:50 am, [EMAIL PROTECTED] (Alex Martelli) wrote:
Thomas Nelson [EMAIL PROTECTED] wrote:
I want to generate all the fractions between 1 and limit (with
limit1) in an orderly fashion, without duplicates.
def all_ratios(limit):
s = set()
hi = 1.0
lo = 1.0
You might be trying to write to a section that is currently off
screen.
Bingo. I *thought* I was okay, but I wasn't refreshing until the
end of the display loop, so I never saw all the addstr() calls that
had succeeded but which had yet to be painted. Adding a refresh()
call in the loop
On May 4, 3:21 pm, Thomas Nelson [EMAIL PROTECTED] wrote:
I want to generate all the fractions between 1 and limit (with
limit1) in an orderly fashion, without duplicates.
def all_ratios(limit):
s = set()
hi = 1.0
lo = 1.0
while True:
if hi/lo not in s:
I'm happy to announce that ActivePython 2.5.1.1 is now available for
download from:
http://www.activestate.com/products/activepython/
This is a patch release that updates ActivePython to core Python 2.5.1.
This release also fixes a couple problems with running pydoc from the
command line on
Michael wrote:
On May 2, 6:08 am, Carsten Haese [EMAIL PROTECTED] wrote:
On Tue, 2007-05-01 at 22:21 -0700, Michael wrote:
I agree the performance gains are minimal. Using function defaults
rather than closures, however, seemed much cleaner an more explicit to
me. For example, I have been
On May 2, 5:19 pm, sturlamolden [EMAIL PROTECTED] wrote:
On May 3, 2:15 am, Kaz Kylheku [EMAIL PROTECTED] wrote:
Kindly refrain from creating any more off-topic, cross-posted threads.
Thanks.
The only off-topic posting in this thread is your own (and now this
one).
You are making a very
Paul McGuire wrote:
Does set membership test for equality (==) or identity (is)?
As Alex said, equality:
a = 0.0
b = -0.0
a is b
False
a == b
True
set([a, b])
set([0.0])
Peter
--
http://mail.python.org/mailman/listinfo/python-list
krishnakant Mane a écrit :
hello all,
I am trying a very complex kind of a task in a project.
I have a knowledge management system where I need to store a lot of
objects (pickled). I have to store mostly lists and dictionaries into
a rdbms.
Which totally defeats the purpose of a rdbms.
--
Does that mean if I am not "in the NYC area", I am not welcomed? Not
even if I frequently visit NYC (Manhattan)? If I were born and raised
in NYC (not necessarily Manhattan), would I be granted the opportunity
to attend? Hmm...
DPD.
John Clark wrote:
Greetings!
The next New
On May 4, 5:04 pm, Paul McGuire [EMAIL PROTECTED] wrote:
Does set membership test for equality (==) or identity (is)? I
just did some simple class tests, and it looks like sets test for
identity.
Sets are like dictionaries, they test for equality:
a=1,2
b=1,2
a is b
False
a in set([b])
mosscliffe a écrit :
I am very new to this python world, but I do like the look of the
language / syntax, though I have had some problems with indenting
using a text editor.
There's no shortage of smart code editor having a decent support for
Python.
I have managed to get my ISP to
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
the simplest way to launch the user's standard mail client from a
Python program is by creating a mailto: URL and launching the
webbrowser:
def mailto_url(to=None,subject=None,body=None,cc=None):
encodes the
On May 4, 11:50 am, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On May 4, 5:04 pm, Paul McGuire [EMAIL PROTECTED] wrote:
Does set membership test for equality (==) or identity (is)? I
just did some simple class tests, and it looks like sets test for
identity.
Sets are like dictionaries,
On May 3, 10:34 pm, Peter Otten [EMAIL PROTECTED] wrote:
The problem is not that you are decorating a method but that you are trying
to use a callable class instance as a method. For that to work the class
has to implement the descriptor protocol, see
On May 3, 11:25 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Thu, 03 May 2007 16:52:55 -0300, Mike [EMAIL PROTECTED] escribió:
I was messing around with adding methods to a class instance at
runtime and saw the usual code one finds online for this. All the
examples I saw say, of
Mike wrote:
staticmethod makes the function available to the whole class according
to the docs. What if I only want it to be available on a particular
instance? Say I'm adding abilities to a character in a game and I want
to give a particular character the ability to 'NukeEverybody'. I don't
Bruno,
Many thanks for your very helpful reply.
I am trying WingIDE Personal as an editor, up to now it seems OK.
My ISP is running Python 2.4.3 and does not know about mod_python.
I do not want to run a framework yet. I would like to understand
python at script level, before adding more
On May 4, 5:02 am, Jaswant [EMAIL PROTECTED] wrote:
This is a simple way to do it i think
s=hello
if(len(s)==0):
... print Empty
... else:
... print s
...
hello
But you are still making the assumption that s is a string.
(BTW, you need quotes around your example.)
For
Paul McGuire wrote:
Just to beat this into the ground, test for equality appears to be
implemented as test for equality of hashes. So if you want to
implement a class for the purposes of set membership, you must
implement a suitable __hash__ method. It is not sufficient to
implement
-Original Message-
From: [EMAIL PROTECTED]
On May 4, 5:02 am, Jaswant [EMAIL PROTECTED] wrote:
This is a simple way to do it i think
s=hello
if(len(s)==0):
... print Empty
... else:
... print s
...
hello
But you are still making the assumption that s
* Ben Collver (Fri, 04 May 2007 06:40:50 -0700)
Thorsten Kampe wrote:
He was using /Windows/ Python in Cygwin *chuckle*... Windows Python
says Ctrl-Z because it doesn't know that it's been run from bash where
Ctrl-Z is for job control.
And the lesson we learn from that: if you're
On May 2, 4:15 pm, minitotoro [EMAIL PROTECTED] wrote:
On May 2, 3:46 pm, Larry Bates [EMAIL PROTECTED] wrote:
minitotoro wrote:
On May 2, 3:07 pm, Larry Bates [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I have a script that runs fine in Windows 2003 (32-bit). It basically
Hi,
I am a new user on Python and I really love it.
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data as
xx=uu.readlines()
In xx, it contains the list of each
The following script dumps all objects allocated since the last time it was
called. It suppresses the dump if more than 200 new objects were allocated.
g.app.idDict is a dict whose keys are id(obj) and whose values are obj.
(g.app.idDict will persist between invocations of the script). This
default wrote:
On Fri, 04 May 2007 03:26:17 -0700, James Stroud
[EMAIL PROTECTED] wrote:
default wrote:
On 2 May 2007 20:10:20 -0700, Midex [EMAIL PROTECTED] wrote:
LIES LIES LIES LIES LIES
Trying to understand the World Trade Center events is like waking up
to act fifteen of a long
I haven't used it myself, but I'm pretty sure you're going to get a lot of
pointers to
http://pyparsing.wikispaces.com/
Also you may want to start naming your variables something more descriptive.
IE
testResultsFile = open('test.txt','r')
testLines=testResultsFile.readlines()
for line in
On May 4, 5:49 am, Chris Mellon [EMAIL PROTECTED] wrote:
You aren't getting bit by any problem with closures - this is a
syntax problem.
I understand that it is not closures that are specifically biting me.
However, I got bit, it was unplesant and I don't want to be bit
again;-)
Thus, whenever
On May 4, 9:19 am, John Nagle [EMAIL PROTECTED] wrote:
... def g():
... x = x + 1
Too cute. Don't nest functions in Python; the scoping model
isn't really designed for it.
How can you make generators then if you don't nest?
Python probably isn't the right language
On 4 May 2007 12:55:03 -0700, Michael [EMAIL PROTECTED] wrote:
On May 4, 5:49 am, Chris Mellon [EMAIL PROTECTED] wrote:
You aren't getting bit by any problem with closures - this is a
syntax problem.
I understand that it is not closures that are specifically biting me.
However, I got bit,
wang frank wrote:
Hi,
I am a new user on Python and I really love it.
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data as
xx=uu.readlines()
In xx,
Alex Martelli wrote:
Steven D'Aprano [EMAIL PROTECTED] wrote:
On Wed, 02 May 2007 21:19:54 -0400, Roy Smith wrote:
for c in s:
raise it's not empty
String exceptions are depreciated and shouldn't be used.
http://docs.python.org/api/node16.html
They're actually deprecated, not
On 4 May 2007 12:59:39 -0700, Michael [EMAIL PROTECTED] wrote:
On May 4, 9:19 am, John Nagle [EMAIL PROTECTED] wrote:
... def g():
... x = x + 1
Too cute. Don't nest functions in Python; the scoping model
isn't really designed for it.
How can you make generators
On May 4, 4:13 am, Dustan [EMAIL PROTECTED] wrote:
On May 4, 1:36 am, Michael [EMAIL PROTECTED] wrote:
... def g(x=x):
... x = x + 1
... return x
... return g
g = f(3)
g()
4
g()
4
g()
4
g() # what is going on here
4
Okay, so it is a bad
Hello Frank,
I am a new user on Python and I really love it.
The more you know, the deeper the love :)
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data
On May 4, 2:05 pm, Peter Otten [EMAIL PROTECTED] wrote:
Mike wrote:
staticmethod makes the function available to the whole class according
to the docs. What if I only want it to be available on a particular
instance? Say I'm adding abilities to a character in a game and I want
to give a
wang frank [EMAIL PROTECTED] wrote:
Hi,
I am a new user on Python and I really love it.
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data as
mosscliffe a écrit :
Bruno,
Many thanks for your very helpful reply.
I am trying WingIDE Personal as an editor, up to now it seems OK.
My ISP is running Python 2.4.3 and does not know about mod_python.
Few ISPs want to deploy mod_python...
I do not want to run a framework yet. I
This is more for my education and not so much for practicality.
I have a structure that sort of looks like this:
mdict = {33:{'name': 'Hello0',
'fields':'fields0',
'valid': 'valid0'
55:{'name': 'Hello1',
'fields':'fields1',
'valid':
In article [EMAIL PROTECTED],
Kaz Kylheku [EMAIL PROTECTED] wrote:
On May 2, 5:19 pm, sturlamolden [EMAIL PROTECTED] wrote:
On May 3, 2:15 am, Kaz Kylheku [EMAIL PROTECTED] wrote:
Kindly refrain from creating any more off-topic, cross-posted threads.
Thanks.
The only off-topic
Hello Richard,
I do not want to run a framework yet. I would like to understand
python at script level, before adding more aspects to learn, like
frameworks.
The way CGI works is that your script is called every time the
corresponding HTML is loaded. You can access all the parameters sent
to
On May 4, 5:27 pm, Kaz Kylheku [EMAIL PROTECTED] wrote:
On May 2, 5:19 pm, sturlamolden [EMAIL PROTECTED] wrote:
On May 3, 2:15 am, Kaz Kylheku [EMAIL PROTECTED] wrote:
Kindly refrain from creating any more off-topic, cross-posted threads.
Thanks.
The only off-topic posting in this
On May 3, 8:33 pm, [EMAIL PROTECTED] wrote:
Hello!
If I do
import uno
localContext=uno.getComponentContext()
dir(type(localContext))
Perhaps ?
Fuzzyman
http://www.voidspace.org.uk/ironpython/index.shtml
then localContext is of type type 'pyuno'
I guess it's a new type provided by
Hi,
Can anyone explain the following:
Python 2.5 (r25:51908, Apr 9 2007, 11:27:23)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type help, copyright, credits or license for more information.
def foo():
... x = 2
...
foo()
def bar():
... x[2] = 2
...
bar()
Traceback (most recent
Fuzzyman wrote:
On May 4, 5:27 pm, Kaz Kylheku [EMAIL PROTECTED] wrote:
On May 2, 5:19 pm, sturlamolden [EMAIL PROTECTED] wrote:
On May 3, 2:15 am, Kaz Kylheku [EMAIL PROTECTED] wrote:
Kindly refrain from creating any more off-topic, cross-posted threads.
Thanks.
On May 4, 10:39 pm, Steven Howe [EMAIL PROTECTED] wrote:
Fuzzyman wrote:
[snip ...]
You are childishly beckoning Usenet etiquette to be gone so that you
may do whatever you wish. But I trust that you will not, out of spite
for being rebuked, turn a few small mistakes into a persistent
Mike wrote:
I just realized in working with this more that the issues I was having
with instancemethod and other things seems to be tied solely to
What you describe below is a function that happens to be an attribute of an
instance. There are also real instance methods that know about their
On May 4, 6:12 pm, Fuzzyman [EMAIL PROTECTED] wrote:
On May 4, 5:27 pm, Kaz Kylheku [EMAIL PROTECTED] wrote:
On May 2, 5:19 pm, sturlamolden [EMAIL PROTECTED] wrote:
On May 3, 2:15 am, Kaz Kylheku [EMAIL PROTECTED] wrote:
Kindly refrain from creating any more off-topic, cross-posted
On May 4, 6:23 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
On May 4, 11:34 am, Peter Otten [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
It is not possible to index set objects. That is OK.
But, what if I want to find some element from the Set.
from sets import Set
s =
[EMAIL PROTECTED] wrote:
Hi,
Can anyone explain the following:
Python 2.5 (r25:51908, Apr 9 2007, 11:27:23)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type help, copyright, credits or license for more information.
def foo():
... x = 2
...
foo()
def bar():
...
On Fri, 2007-05-04 at 14:30 -0700, [EMAIL PROTECTED] wrote:
Hi,
Can anyone explain the following:
Python 2.5 (r25:51908, Apr 9 2007, 11:27:23)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type help, copyright, credits or license for more information.
def foo():
... x = 2
...
Luis M. González wrote:
Indeed, the subject is absolutely on-topic.
If can't talk about a so called Dynamic Languages Runtime in a
pyhton mailing list, I wonder what it takes to be considered on-topic.
Frankly, this on-topic/off-topic fascism I see in this list is pissing
me off a little
Hello Everyone
I am receiving an error in an application I am working on. The
application when its done will be a Dungeons and Dragons Network game. I
am having problems with the Networked Canvas basically for drawing the
dungeon maps
If I initialize two of the Tkinter Canvas widgets with in
1 - 100 of 192 matches
Mail list logo