This is to announce the second release candidate for pyFltk-1.1,
then Python bindings for the cross platform GUI toolkit fltk-1.1
This release candidate has been tested with fltk-1.1.6 and fltk-1.1.7
and requires Python2.4.
pyFltk and fltk is a lighweight, easy-to-use GUI toolkit for Python. It
GUIE (GUI Editor) provides a simple WYSIWYG GUI editor for wx.
The program was made in C# and saves the GUI that was created to a XML
format I called GUIML. This GUIML is a pretty standard representation
of the GUI created with the program. Next, GUIE takes these GUIML files
and translates it to
funkyj wrote:
I'm interested in the same sort of config file issues.
Unfortunately the restricted execution has fallen out of favor. My
preferred solution would be to have a configEval() function that is
just like the regular Python eval() but only accepts a subset of the
python language,
Leif K-Brooks wrote:
I'm running Python 2.3.5 and 2.4.1 under Debian Sarge. Instead of
deleting the character after the cursor, pressing my delete key in an
interactive Python window causes a system beep and inserts a tilde
character.
that's probably because the delete key can be set up to
Ido Yehieli wrote:
I'm sorry, but i don't see how this will solve the problem? It is
exactly the same, only now you've replaced everything in sys except
just sys.stdout?
In the solution above (which I haven't had a chance to test) you're
just chaning hte reference to sys to point to a
Prasanna wrote:
I am new to this group.I am willing to learn PYTHON can anyone suggest
me where to start.I have installed PYTHON 2.4 windows platform.Where
can I get books for beginners.How to go about?.It would be helpful if
anyone is will to guide me.
Here is something helpful for newbies:
Thanx for ur info.
Prasanna
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
The first few pages are a review of probability theory but I think
they assume you've seen it before. The book's subject matter is more
mathematical by nature than what most programmers deal with from day
to day, and as such, the book is not for everyone.
And so the cycle
In article [EMAIL PROTECTED],
Steven D'Aprano [EMAIL PROTECTED] wrote:
But the real question is why it is that American publishers believe
their readers are so lazy and ignorant that they require special
translations of British books. I don't know anyone who has said I'm
glad that I read
Steve Holden wrote:
Luiz Geron wrote:
I don't have experience on this, but I think that you can make the
script return the image contents directly to the img tag, without
passing it to a img file, so you can use something like this:
img src=script_that_return_image_contents
wich
Steve Holden wrote:
Luiz Geron wrote:
I don't have experience on this, but I think that you can make the
script return the image contents directly to the img tag, without
passing it to a img file, so you can use something like this:
img src=script_that_return_image_contents
wich
Fredrik Lundh wrote:
[snip..]
this page might help:
http://www.ibb.net/~anne/keyboard.html
or you could switch to a less lame operating system ;-) (duck).
Not like you to duck when sending flames Fredrik ;-)
Fuzzy
/F
--
http://mail.python.org/mailman/listinfo/python-list
Cameron Laird [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Bring back VMS.
That's creepy, I was just reminiscing about working on VAXen less than 12
hours ago!
One of my favorite bits of the VAX documentation was the book VAX/VMS
Internals. Each chapter started with a related
Hello All,
I have a tab separated input file (data.txt) in text format - the file
looks like this
SCHOOL DEPART1 DEPART2 DEPART3
Harvard Economics Mathematics Physics
StanfordMathematics Physics
BerkeleyPhysics
U.C.L.A Biology Genetics
I have to utilize Python and
oh, ok...
I guess people have to learn to use a logger instead of print in
production code...
--
http://mail.python.org/mailman/listinfo/python-list
Elezar Simeon Papo wrote:
Hello All,
I have a tab separated input file (data.txt) in text format - the file
looks like this
SCHOOLDEPART1 DEPART2 DEPART3
Harvard Economics Mathematics Physics
Stanford Mathematics Physics
Berkeley Physics
U.C.L.A
Alex Gittens schrieb:
I'm working on a final project for my EE degree that requires the use
of digital camera with high resolution. I'd like to do the image
capture with Python, preferably in a cross-platform manner, but if
necessary, we can limit ourselves to Windows. Any ideas on
appropriate platform-specific code. I'll be happy to answer
questions about the Posix parts of it, but I had the portion of
my brain containing Win32 knowledge cauterized.
I'm working on that. Last time I checked there was even some AMIGA
pre-AGA-stuff in there. Which I actually think is
Original Message
From: Matthias Kaeppler [EMAIL PROTECTED]
To:
Subject: Re:PyXML: SAX vs. DOM
Date: 20/1/2006 21:26
Oh and:
Where can I find an API reference for PyXML? Am I supposed to /guess/
which methods and attributes e.g. Sax2 supplies? :D
Thanks again,
Matthias
ncf This section is the cause of the problem:
ncf for browser in (mozilla-firefox, mozilla-firebird,
ncf mozilla, netscape):
ncf if _iscommand(browser):
ncf register(browser, None, Netscape(browser))
In SVN trunk
Jan Decaluwe wrote:
Michael wrote:
...
* http://article.gmane.org/gmane.comp.python.myhdl/19/match=mu0
One question I've got, mainly because it strikes me as very intriguing is
do you know if the MU0 processor as described is synthesisable or have a
feeling as to how much work would be
Grant Edwards wrote:
On 2006-01-21, Casey Bralla [EMAIL PROTECTED] wrote:
I'd like to use only standard built-in modules if possible.
Then there aren't going to be any basic level docs because
it's just not an easy thing to do. You pretty much have to do
exactly what you would do in C.
How about reading from the USB ports ?-- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~Runsun Pan, PhD[EMAIL PROTECTED]Nat'l Center for Macromolecular Imaging
http://ncmi.bcm.tmc.edu/ncmi/~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 18 Jan 2006 [EMAIL PROTECTED] wrote:
Is there a better way? Thoughts?
I was thinking along these lines:
class NamedTuple(tuple):
def __init__(self, indices, values):
indices should be a map from name to index
tuple.__init__(self, values)
Elezar Simeon Papo [EMAIL PROTECTED] wrote:
SCHOOL, DEPART1, DEPART2, DEPART3 = line.split('\t')
ValueError: need more than 3 values to unpack
How do I solve this problem and change the program so it does not stop
if a data record has less than three DEPART values.
The problem is that
On Fri, 20 Jan 2006, it was written:
[EMAIL PROTECTED] (Alex Martelli) writes:
How would you make a one-element list, which we'd currently write as
[3]? Would you have to say list((3,))?
Yep. I don't particularly like the mandatory trailing comma in the
tuple's display form, mind you,
J wrote:
Hi
I hope the title of this message indicates my question. I am looking
for basic
array functionality in Python and it turns out that there are all these
packages which
are somehow related. Some are allegedly discontinued but still seem to
get updated. Could we start a discussion
Ivan Herman wrote:
I know this is not the ideal answer, but maybe it helps...
It does, thanks Ivan.
Regards,
Matthias
--
http://mail.python.org/mailman/listinfo/python-list
I'm on .NET/CLR2.0 and would like to use some stuff from w/i Python. The
Python for .NET file name suggests that CLR1.1 is needed. Is that right?
Any known plans to change this?
Kind regards
Franz GEIGER
--
http://mail.python.org/mailman/listinfo/python-list
[Kay Schluehr]
I concur and I wonder why CAS like e.g. Maple that represent floating
point numbers using two integers [1] are neither awkward to use nor
inefficient.
My guess is that it's because you never timed the difference in Maple
-- or, perhaps, that you did, but misinterpreted the
datbenik schrieb:
How can i write a program that supports simultaneous multipart
download. So i want to open multiple connections to download one file.
Is this possible. If so, how?
In case of HTTP, the needed header is Range. So I guess its all a
matter of making n connections, and
Basically I have written a cgi script to automatically download TIFF
images of patents from the US patent office.
What I want is that the user can see what is happening when the images
are being downloaded, because it takes a while to download them and
there can be anything up to 30 individual
sophie_newbie schrieb:
Basically I have written a cgi script to automatically download TIFF
images of patents from the US patent office.
What I want is that the user can see what is happening when the images
are being downloaded, because it takes a while to download them and
there can be
Ok, I will look at NumPy ...
I have another question about performance. Are the array operations
such as matrix multiplication implemented in
python or in C ? I was under the impression that the function calls in
numarray are only wrappers to C code, but now I suspect that matrix
multiplicaiton
J wrote:
Ok, I will look at NumPy ...
I have another question about performance. Are the array operations
such as matrix multiplication implemented in
python or in C ? I was under the impression that the function calls in
numarray are only wrappers to C code, but now I suspect that matrix
I found a minor error in the Python documentation for 2.4 which I
thought I would report. But after a while I gave up. I wonder if this
sort of reporting which is less than a bug could be made easier? The
error was that the index entry to 'print statement' sent me to
peter I found a minor error in the Python documentation for 2.4 which I
peter thought I would report. But after a while I gave up. I wonder if
peter this sort of reporting which is less than a bug could be made
peter easier? The error was that the index entry to 'print statement'
To give you a better explaination of what I want, you could visit
www.pat2pdf.org.
Type in 123456 as the patent number, you see what it does? It tells the
user that it is requesting the various TIFF images and then displays
the link to the PDF file that it has created.
This is exactly what I
I will just jump in an use NumPy. I hope this one will stick and evolve
into the mother of array packages.
How stable is it ? For now I really just need basic linear algebra.
i.e. matrix multiplication, dot, cross etc
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
From http://www.python.org/doc/2.4.2/ go to the Library reference
http://www.python.org/doc/2.4.2/lib/lib.html from there to the index
(i) at http://www.python.org/doc/2.4.2/lib/genindex.html. In the index
select 'p' and click to reach
http://www.python.org/doc/2.4.2/lib/types.html#l2h-90 . At
Anton Vredegoor [EMAIL PROTECTED] writes:
And so the cycle repeats itself. We teach our students the world is all
about money, and sure enough, the world is all about money. If we would
continue to keep the interesting things away from most of the people,
by hiding it behind mathematical
Tom Anderson [EMAIL PROTECTED] writes:
listx/dictx/setx would be the display forms as well as the constructor
forms.
Could these even replace the current forms? If you want the equivalent
of list(sometuple), write list(*sometuple).
The current list function is supposed to be something
J wrote:
I will just jump in an use NumPy. I hope this one will stick and evolve
into the mother of array packages.
How stable is it ? For now I really just need basic linear algebra.
i.e. matrix multiplication, dot, cross etc
That stuff isn't going to change on you.
--
Robert Kern
[EMAIL
J wrote:
I will just jump in an use NumPy. I hope this one will stick and evolve
into the mother of array packages.
How stable is it ? For now I really just need basic linear algebra.
i.e. matrix multiplication, dot, cross etc
There is a new release coming out this weekend. It's closer to
On Sat, 21 Jan 2006, it was written:
Tom Anderson [EMAIL PROTECTED] writes:
listx/dictx/setx would be the display forms as well as the constructor
forms.
Could these even replace the current forms? If you want the equivalent
of list(sometuple), write list(*sometuple).
The current list
sophie_newbie schrieb:
To give you a better explaination of what I want, you could visit
www.pat2pdf.org.
Type in 123456 as the patent number, you see what it does? It tells the
user that it is requesting the various TIFF images and then displays
the link to the PDF file that it has
On Sat, 21 Jan 2006, Travis E. Oliphant wrote:
J wrote:
I will just jump in an use NumPy. I hope this one will stick and evolve
into the mother of array packages. How stable is it ? For now I really
just need basic linear algebra. i.e. matrix multiplication, dot, cross
etc
There is a
On Saturday 21 January 2006 20:42, sophie_newbie wrote:
To give you a better explaination of what I want, you could visit
www.pat2pdf.org.
Type in 123456 as the patent number, you see what it does? It tells the
user that it is requesting the various TIFF images and then displays
the link to
I'm playing with a sudoku GUI...just to learn more about python.
I've made 81 'cells'...actually small canvases
Part of my scheme to write the cells (all 81 of them in the gui) to a file
(using the the SAVE callback/button), then
restore the gui cells from the contents of the saved file, which
Hi!
I think two extensions to re could be really powerful in aiding to
match non regular strings -for example those containing parens nested
up to an arbitrary depth- but without a significative performance loss,
although I'm not at all sure at this last point. One of these features
is re nesting;
Slow and to the pointless, but ...
On Wed, 18 Jan 2006, Terry Hancock wrote:
On Mon, 16 Jan 2006 12:15:25 -0500
Tim Peters [EMAIL PROTECTED] wrote:
More Britishisms are surviving in the Scholastic editions as the
series goes on, but as the list for Half-Blood Prince shows the editors
Tom Anderson wrote:
Pardon my failure to RTFM, but does NumPy pick up the vecLib BLAS on Macs?
Yes.
--
Robert Kern
[EMAIL PROTECTED]
In the fields of hell where the grass grows high
Are the graves of dreams allowed to die.
-- Richard Harter
--
Christoph Haas [EMAIL PROTECTED] wrote:
On Saturday 21 January 2006 20:42, sophie_newbie wrote:
To give you a better explaination of what I want, you could visit
www.pat2pdf.org.
Type in 123456 as the patent number, you see what it does? It tells the
user that it is requesting the
Part of my scheme to write the cells (all 81 of them in the gui) to a file
(using the the SAVE callback/button), then
restore the gui cells from the contents of the saved file, which depends on
knowing the name of the cell with the
focus, or one (or more) which have a number.
The print
... [much page traversal deleted] ...
peter So you need to add a bug to the Python bug tracker -- at least so
peter it seems.
If you go to the top of the doc tree:
http://docs.python.org/
and look in the left-hand sidebar you'll see [EMAIL PROTECTED] under the
heading Email
[EMAIL PROTECTED] wrote:
I'm playing with a sudoku GUI...just to learn more about python.
I've made 81 'cells'...actually small canvases
Part of my scheme to write the cells (all 81 of them in the gui) to a file
(using the the SAVE callback/button), then
restore the gui cells from the
I can compile and install cx_Oracle fine by following the manta:
export ORACLE_HOME=...
python setup.py install
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
python
import cx_Oracle
My issue is the LD_LIBRARY_PATH. Is there a way to compile cx_Oracle,
or any Python extension for that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian Cole wrote:
I can compile and install cx_Oracle fine by following the manta:
export ORACLE_HOME=...
python setup.py install
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
python
import cx_Oracle
My issue is the
[EMAIL PROTECTED] wrote:
I'm playing with a sudoku GUI...just to learn more about python.
I've made 81 'cells'...actually small canvases
Part of my scheme to write the cells (all 81 of them in the gui) to a file
(using the the SAVE callback/button), then
restore the gui cells from the
After a successful but problematic experience with the QT Designer + python
combo, I decided that I needed something simpler (read completely in
python) for my lab applications with python linux-gpib bindings.
I am looking at PAGE, which while not pretty, seems simple and fast to work
with. How
On 2006-01-21, Diez B. Roggisch [EMAIL PROTECTED] wrote:
appropriate platform-specific code. I'll be happy to answer
questions about the Posix parts of it, but I had the portion of
my brain containing Win32 knowledge cauterized.
I'm working on that. Last time I checked there was even some
Steve Holden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ivan Shevanski wrote:
python way to detect if a variable exsists? Say I had a program that
needed a certain variable to be set to run and the variable was not
found when it came time to use it. . .Would I just have to
F. GEIGER [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm on .NET/CLR2.0 and would like to use some stuff from w/i Python. The
Python for .NET file name suggests that CLR1.1 is needed. Is that
right? Any known plans to change this?
Most responders here use CPython. The
On Sat, 21 Jan 2006 21:01:53 +, Tom Anderson wrote:
As Dave Hansen pointed out, Harry smiled vaguely back, means that the
direction Harry was smiling was vaguely back - might have been a bit to
the side or something.
That's an extremely artificial interpretation of the sentence, even if
On Sat, 21 Jan 2006 14:23:49 -0800, James Stroud [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I'm playing with a sudoku GUI...just to learn more about python.
I've made 81 'cells'...actually small canvases
Part of my scheme to write the cells (all 81 of them in the gui) to a file
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve Holden wrote:
Tim Golden wrote:
[Steve Holden]
| https://svn.python.org/www/trunk/beta.python.org
| but I don't know whether anonymous access is enabled. Maybe you can
let
|me know ...
Doesn't look like it. Asking me for authentication.
[EMAIL PROTECTED] wrote:
On Sat, 21 Jan 2006 14:23:49 -0800, James Stroud [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I'm playing with a sudoku GUI...just to learn more about python.
I've made 81 'cells'...actually small canvases
Part of my scheme to write the cells (all 81 of them
This seems ok...
import webbrowser
webbrowser._iscommand(firefox)
True
webbrowser.register(firefox,None,webbrowser.Netscape(firefox))
webbrowser._browsers
{'galeon': [None, webbrowser.Galeon instance at 0xb7d471cc],
'firefox': [None, webbrowser.Netscape instance at 0xb7d43bcc],
'mozilla':
i have a website which runs apache on linux. it supports python (i
think via cginot sure how else). anyway how can I go to a web page
and run a python script or something like that? for example say i make
a script which prints out all the links on another URLhow can i run
that?
py wrote:
i have a website which runs apache on linux. it supports python (i
think via cginot sure how else). anyway how can I go to a web page
and run a python script or something like that? for example say i make
a script which prints out all the links on another URLhow can i run
Carlos [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi!
I think two extensions to re could be really powerful in aiding to
match non regular strings -for example those containing parens nested
up to an arbitrary depth- but without a significative performance loss,
although I'm
I came across this while searching for a way to DIY partial(), until it
is available in 2.5
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/229472
However, when trying for the following, it doesn't work and is
wondering if it is a bug or intended :
import operator
import new
[EMAIL PROTECTED] wrote:
...
So it seems that instancemethod() don't like None as the instance.
bound methods and unbound methods are instance of the same type,
distinguished by one thing: the im_self of an unbound method is None,
the im_self of a bound method is anything else.
So, when you
Alex Martelli wrote:
[EMAIL PROTECTED] wrote:
...
So it seems that instancemethod() don't like None as the instance.
bound methods and unbound methods are instance of the same type,
distinguished by one thing: the im_self of an unbound method is None,
the im_self of a bound method is
In Python, it is possible to multiply a string with a number:
hello*3
'hellohellohello'
However, you can't multiply a string with another string:
'hello'*'world'
Traceback (most recent call last):
File interactive input, line 1, in ?
TypeError: can't multiply sequence by non-int
[EMAIL PROTECTED] wrote:
I've noticed that there's a few functions that return what appears to
be a tuple, but that also has attributes for each item in the tuple.
For example, time.localtime() returns a time.time_struct, which looks
like a tuple but also like a struct. That is, I can do:
Hi,
I'm having some problems getting weave to work correctly. For now,
I'm just testing how to
access Numeric arrays under weave. My test code is:
from Numeric import *
import weave
a = zeros((5,5,5,5,5),typecode=Int16)
a[4,3,2,2,1] = 55.0
code =
a[0,0,3,0,0] = 3.0;
Ulrich Hobelmann [EMAIL PROTECTED] wrote:
[ snip bait ]
I know, don't feed the troll. Sorry 'bout that.
To quote Space Balls:
Don't be sorry, be *quiet*! :)
Cheers,
Tim Hammerquist
--
http://mail.python.org/mailman/listinfo/python-list
Luiz Geron wrote:
I don't have experience on this, but I think that you can make the
script return the image contents directly to the img tag, without
passing it to a img file, so you can use something like this:
img src=script_that_return_image_contents
wich saves some processing and
Bugs item #1338995, was opened at 2005-10-26 18:08
Message generated for change (Comment added) made by montanaro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1338995group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1338995, was opened at 2005-10-27 01:08
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1338995group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1411674, was opened at 2006-01-21 13:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1411674group_id=5470
Please note that this message will contain a full copy of
Bugs item #1411674, was opened at 2006-01-21 20:50
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1411674group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1411695, was opened at 2006-01-21 15:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1411695group_id=5470
Please note that this message will contain a full copy of
Bugs item #1411097, was opened at 2006-01-20 20:26
Message generated for change (Comment added) made by jjlee
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1411097group_id=5470
Please note that this message will contain a full copy of the comment thread,
85 matches
Mail list logo