Hi All,
PyDev - Python IDE (Python development enviroment for Eclipse) version
0.9.1 has just been released.
You can check the homepage (http://pydev.sourceforge.net/) or my blog
(http://pydev.blogspot.com/) for more details.
--
COMMENTS ON
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Roundup is a simple-to-use and -install issue-tracking system with
command-line, web and e-mail interfaces. It is based on the winning design
from Ka-Ping Yee in the Software Carpentry Track design competition.
This 0.8.2 release adds one feature and
WARNING: the last meeting of BayPIGgies at Stanford is currently
scheduled for March. Our host, Danny Yoo, is leaving Stanford, and we
need to find a new location. If you wish to assist with the search,
please join the BayPIGgies mailing list.
Meanwhile, let's all give hearty thanks to Danny
I am trying to make convert a directory tree in a list of list, but cant
find the algoritm =( ,for example a directory tree like :
+root
+doc
ele1
ele2
+doc3
ele3
+doc2
ele4
ele5
should convert into:
root[
doc,
[ele1,ele2,doc3,[ele3]],
doc2,
[ele4],
You mean like 'import'? :)
That's how I would do it. It's the simplest thing, that works.
exec(import %s as plugin % pluginName)
plugin.someMethod()
where pluginName is the name of the python file, minus the .py extension.
Sw.
--
http://mail.python.org/mailman/listinfo/python-list
Harlin Seritt wrote:
Roy, I like what you showed: nums = [a for a in range(100)] . My
mistake for not expressing my question as well as I should have. Not
only am I looking for a way to fill in 100 spots (more or less) in an
array er... list, but I'd like to be able to do it in intervals of
2,
Hallo,
PythonWin is really great and like to use it all the time.
But, I use to an us keyboard and get support strings (.__doc__).
On the other side, most of my colleges use German keyboards and
the do not get these strings at all.
We are using:
- Python 2.4
- PyWin32 203
Here is an example:
Op 2005-03-02, Joe schreef [EMAIL PROTECTED]:
I'm using Python 2.4 on Windows XP SP2.
I'm trying to receive a command line argument that is a newline (\n)
Here is the command line to use
sample.py \n
Are you sure this supplies a newline and not the string backslach n
Here is a sample.py
On Mar 3, 2005, at 9:33 PM, Simon Wittber wrote:
You mean like 'import'? :)
That's how I would do it. It's the simplest thing, that works.
exec(import %s as plugin % pluginName)
plugin.someMethod()
where pluginName is the name of the python file, minus the .py
extension.
A better method would be
Werner Merkl:
When we enter range with us keyboard we get:
range(
[range([start,] stop[, step]) - list of integers]
When we do this with German keyboard we get... nothing,
...
BTW: Changes to Python24\Lib\site-packages\pythonwin\pywin\default.cfg
didn't help.
It appears
Hello.
I am using Tkinter and Pmw.
I would like to build 2 canvases/frames that are scrollable together
horizontally, and independently vertically (so, the vertical
scrollbars should not be moved by the horizontal one).
So I built a Pmw.ScrolledFrame() containing the 2 canvases,
horizontally
i develop an application under zope with windows 2000
and i would like integrate graphs.
the problem is that the installation of matplotlib doesn't find the python of
zope
and so i can't make graph. Maybe a problem of register?
could you help me?
thanks
--
Seriously, if you're only interested in Windows, just use py2exe, or if
you want Linux+Windows, try cx_Freeze.
According to the command line help for cx_Freeze and py2exe, they
cannot pack my program with additional installation files into one
self-extracting .exe file (which is what I want to
On Wednesday 02 March 2005 11:28 pm, Tian wrote:
I am writing an audio game using Python. in this game you can apply
some sound effects for the clips you have recorded. I want to make this
function extensible. I want user to be able to add new sound effect
plug-ins in the future.
I want the
I guess what i am looking for is auto-completion but with a drop-down
list...
--
http://mail.python.org/mailman/listinfo/python-list
Tim Roberts wrote:
Hmmm, yes, but nearly 100% of Unix geeks have seen an inode number in their
programming adventures, whereas I'll bet not 1 in 10,000 Windows hardliners
has ever seen an MFT entry.
That is going to change. At my university, students learn what an MFT
record is and how it is
Since no-one's suggested this yet, I highly recommend
UnxUtils: http://unxutils.sourceforge.net/ which includes
a touch.exe. Obviously, this doesn't answer your call for
a Python version, but if you're happy with touch under
Unix, maybe this will work for you.
TJG
--
Oh well, the cool guys of GTK have just the thing i wanted called
EntryCompletion.
Here's the link in case someone else stumbles over here:
http://www.pygtk.org/pygtk2tutorial/sec-EntryCompletion.html
--
http://mail.python.org/mailman/listinfo/python-list
On 3 Mar 2005 01:06:48 -0800, Marion [EMAIL PROTECTED] wrote:
Hello.
I am using Tkinter and Pmw.
I would like to build 2 canvases/frames that are scrollable together
horizontally, and independently vertically (so, the vertical
scrollbars should not be moved by the horizontal one).
So I built a
Josef Albert Meile, James Stroud, Sean
Blakey,
Thank you very very much for your valuable
suggestions and kind encouragement.
Frederic
( No, I don't have any particular affection for
Microsoft stuff.Very muchon the contrary. I have a plan to start
using Unix. This plan is over twenty
Douglas Alan wrote:
Wouldn't
yield *(x for x in gen1(arg))
be sufficient, and would already be supported by the proposal at
hand?
It would, but, as Steven pointed out, the * in func(*args) results in
tuple(args) being passed to the underlying function.
So I see no reason to expect yield
Neil Hodgson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...
Michael:
Like I said, it's only supposed to run on linux; anyway, is it likely
that problems will arise when filenames I have to handle have
basically three sources:
...
3. filenames created by user input
Pardon a question I should already know the answer to, but what are the
*args in the:
def xscrollboth(*args):
c1.xview(*args)
c2.xview(*args)
Thanks,
Harlin
--
http://mail.python.org/mailman/listinfo/python-list
thx again, this code is nearly doing as we want and we think to have
figured out how to change it to meet our requirments. also thx for the
tip using a heap...
should there be more problems i'll post again!
[mx]
--
http://mail.python.org/mailman/listinfo/python-list
Hi everybody,
I used python to build a HTML file and now I would like to
automatically start my browser to display this file. I guess I could
use os.system(), but then I had to specify a specific path to the
browser.
I wonder if it is possible to tell windows to open myFile.html using
the
Hey Folks,
I've got some info in a bunch of files that kind of looks like so:
Gibberish
53
MoreGarbage
12
RelevantInfo1
10/10/04
NothingImportant
ThisDoesNotMatter
44
RelevantInfo2
22
BlahBlah
343
RelevantInfo3
23
Hubris
Crap
34
and so on...
Anyhow, these fields repeat several times in a given
Hi all,
I've been using the `pytone' tool for playing my mp3's for a while. Great
tool. However, after upgrading Python to version 2.4 it stopped working. The
traceback that I get is this:
-snip-
Traceback (most recent call last):
File
[EMAIL PROTECTED]
| I used python to build a HTML file and now I would like to
| automatically start my browser to display this file. I guess I could
| use os.system(), but then I had to specify a specific path to the
| browser.
|
| I wonder if it is possible to tell windows to open myFile.html
wrote:
I wonder if it is possible to tell windows to open myFile.html using
the program that is registered to open html files (similar to double
clicking on the file).
Any idea how to do that from python ??
import webbrowser
webbrowser.open('test.html')
--
Jeremy Bowers wrote:
At first I liked this, but the reason that is a syntax error is that it is
supposed to be
def f():
yield (x for x in gen1(arg))
which today on 2.4 returns a generator instance which will in turn
yield one generator instance from the genexp
And it would continue to do so in
Le lundi 28 fvrier 2005 17:08 +, Dennis Lee Bieber a crit :
On Mon, 28 Feb 2005 16:43:45 +0100, Olivier Ravard
[EMAIL PROTECTED] declaimed the following in
comp.lang.python:
Remark : This problem does not exist under Linux.
I think Linux just masks the situation. Windows
There are certain options for Tkinter widgets that have default values
that I don't much care for (borderwidth, font come to mind) and
continuously change when I'm building interfaces. With a bit of
tweaking I have been able to give the widgets a look that rivals the
best of them. However, I get
On 3 Mar 2005 02:38:59 -0800, Harlin Seritt [EMAIL PROTECTED] wrote:
Pardon a question I should already know the answer to, but what are the
*args in the:
def xscrollboth(*args):
c1.xview(*args)
c2.xview(*args)
Thanks,
Harlin
If your question is about the syntax, it's just the way of passing
Le 3 Mar 2005 02:53:51 -0800, [EMAIL PROTECTED] a écrit :
Hi everybody,
I used python to build a HTML file and now I would like to
automatically start my browser to display this file. I guess I could
use os.system(), but then I had to specify a specific path to the
browser.
I wonder if
On 3 Mar 2005 03:02:48 -0800, Harlin Seritt [EMAIL PROTECTED] wrote:
There are certain options for Tkinter widgets that have default values
that I don't much care for (borderwidth, font come to mind) and
continuously change when I'm building interfaces. With a bit of
tweaking I have been able to
Yatima wrote:
Hey Folks,
I've got some info in a bunch of files that kind of looks like so:
Gibberish
53
MoreGarbage
12
RelevantInfo1
10/10/04
NothingImportant
ThisDoesNotMatter
44
RelevantInfo2
22
BlahBlah
343
RelevantInfo3
23
Hubris
Crap
34
and so on...
Anyhow, these fields repeat several times
Thanks Steven and Kent, both of your suggestions look good to me. I'll
try both out and pick one.
Gary
Gary Ruben wrote:
OK, I've managed to get this to work with Rainer's method, but I
realised it is not the best way to do it, since the methods are being
added by the constructor, i.e. they
Roel Schroeven wrote:
(lambda x, y: x+y)(a, b)
Thanks. That's what i was looking for.
where in Pytho doc can one find this? or the lambda with multiple
params?
Most often the lambda is not used directly, but passed to a function.
That is because the IT morons has been throughly brainwashed
On 2005-03-03, Bas van Gils [EMAIL PROTECTED] wrote:
Hi all,
I've been using the `pytone' tool for playing my mp3's for a while. Great
tool. However, after upgrading Python to version 2.4 it stopped working. The
traceback that I get is this:
[ ... ]
Great, I found it myself. The problem was
'scale' puts the lower-right corner of a bounding box where the
pointer is, while keeping the upper-left corner where it was before
(or, if the relevant item's coordinates aren't of bounding-box type,
the function does nothing).
Thanks for the link.
Peace,
STM
[EMAIL PROTECTED] [EMAIL
Hi Steve,
I've been using Python for many years, just hadn't had to deal with an
escape sequence in the command line args. :-) and couldn't find the solution
in the docs.
It is easy to prove my assertion:
import sys
c = sys.argv[1]
print len(c)
print 'Line 1', c, 'Line 2'
Output:
2
Line 1 \n
H!
I do this to get a htmlTOtext file
class mvbHTMLParser(htmllib.HTMLParser):
def __init__(self, formatter, verbose=0):
htmllib.HTMLParser.__init__(self,formatter,verbose)
self.imglist = []
def handle_image(self,src,alt,*args):
self.imglist.append(src)
file =
Svein Brekke wrote:
Seriously, if you're only interested in Windows, just use py2exe,
or if you want Linux+Windows, try cx_Freeze.
According to the command line help for cx_Freeze and py2exe, they
cannot pack my program with additional installation files into one
self-extracting .exe file
Tim Roberts wrote:
Tom Willis [EMAIL PROTECTED] wrote:
rem = -*-Python-*- script
@echo off
rem DOS section
rem You could set PYTHONPATH or TK environment variables here
python %*
This should make it work:
python %0.bat %*
Only, among other issues, if you
Svein Brekke wrote:
Seriously, if you're only interested in Windows, just use py2exe, or if
you want Linux+Windows, try cx_Freeze.
According to the command line help for cx_Freeze and py2exe, they
cannot pack my program with additional installation files into one
self-extracting .exe file (which
Xah Lee wrote:
Roel Schroeven wrote:
(lambda x, y: x+y)(a, b)
Thanks. That's what i was looking for.
where in Pytho doc can one find this? or the lambda with multiple
params?
Most often the lambda is not used directly, but passed to a function.
That is because the IT morons has been throughly
In article [EMAIL PROTECTED],
Serge Orlov [EMAIL PROTECTED] wrote:
Svein Brekke wrote:
Seriously, if you're only interested in Windows, just use py2exe,
or if you want Linux+Windows, try cx_Freeze.
According to the command line help for cx_Freeze and py2exe, they
cannot pack my
[Svein]
According to the command line help for cx_Freeze and py2exe, they
cannot pack my program with additional installation files into one
self-extracting .exe file (which is what I want to do).
[Peter]
On the other hand, there are readily available utilities that
will do what you are
[EMAIL PROTECTED] wrote:
file = StringIO.StringIO()
f = formatter.AbstractFormatter(formatter.DumbWriter(file))
p = mvbHTMLParser(f)
p.feed(html)
p.close()
print file.getvalue()
But then the _ characters are away.
is it possible to keep that character in file.getvalue()
I consider this a defect in
This message contains the responses to two previous messages:
In response to Steven B.,the statements
Raw_packet_queue = enqueue(..., Raw_packet_queue, ...)
print 'Sort 1 Raw_packet_queue is', Raw_packet_queue
produce the output
Sort 1 Raw_packet_queue is [[(Pkthdr object at
Hi Steve,
Thanks, I find you get much better help when you provide the details needed
for your case instead of expecting others to invest alot of their time
before you did your homework.
Thanks for sending it over to Marc. Last time I found a bug in the mx stuff
(YEARS AGO) I sent it
PS sorry for the rude remarks out of nowhere.
Xah
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
We, the students of CEG, Anna University [1] are organizing an online
programming contest as part of aBaCus [2] 2005. The contest itself
will start on 6th March 2005 at 1:00 pm IST [3] and will end after 5
hours. You have to solve the problems posted at the start of the
contest. Teams
Peter Hansen wrote:
This should make it work:
python %0.bat %*
Only, among other issues, if you type the full path to the
batch file, or if it's in the current directory. This
approach fails if you put the batch file in a directory
somewhere along your path.
The simplest fix, assuming
Xah Lee wrote:
PS sorry for the rude remarks out of nowhere.
Xah
Wow, signs of developing inter-personal skills. I must assume that
c.l.py is having its benign influence on you too!
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005
mmm I'm a newbie with python.
I did this but don't work:
class mvbHTMLParser(htmllib.HTMLParser):
def __init__(self, formatter, verbose=0):
htmllib.HTMLParser.__init__(self,formatter,verbose)
self.imglist = []
def handle_image(self,src,alt,*args):
klappnase wrote:
Hello all,
I am trying to internationalize my Tkinter program using gettext and
encountered various problems, so it looks like it's not a trivial
task.
Considered that you decided to support old python versions, it's true.
Unicode support has gradually improved. If you
Hey all:
I am working on a little script that needs to pull the strings out of a
binary file, and then manipulate them with python.
The command line utility strings (part of binutils) has exactly the
functionality I need, but I was thinking about trying to implement this
in pure python.
I did
there a shorter way then:
datetime.fromtimestamp(time.mktime(time.strptime(20-3-2005,%d-%b-%y)))
thanks,
Mike
--
http://mail.python.org/mailman/listinfo/python-list
[your %b is supposed to be the abbreviated month name, not the
number. Try %m]
In [19]: datetime.datetime(*time.strptime(20-3-2005,%d-%m-%Y)[:6])
Out[19]: datetime.datetime(2005, 3, 20, 0, 0)
Cheers,
George
--
http://mail.python.org/mailman/listinfo/python-list
hello,
i have compiled and installed postgres8 --with-prefix=/usr/local/postgres8
( several other options) and have no other version of postgres on my
system. python is compiled and make'd --with-prefix=/usr.
i have added the libpath of postgres to /etc/ld.so.conf and a ldconfig -v
also told me
On 18 Feb 2005 19:10:36 -0800, rumours say that [EMAIL PROTECTED] might have
written:
It's really funny, I cannot send a unicode stream throuth socket with
python while all the other languages as perl,c and java can do it.
I don't know about perl. What I think you mean by unicode in C most
engsol [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
There is a number puzzle which appears in the daily paper.
Because I'm between Python projects, I thought it might be
fun to write a program to solve it20 minute job, max.
On closer inspection, it became apparent that it's
Downgrading???
I think the author of this pytone software should upgrade. I just
upgrade all my python stuff in my FreeBSD box to python 2.4 :(
I had this same problem before too.
--
http://mail.python.org/mailman/listinfo/python-list
Joe wrote:
Hi Steve,
I've been using Python for many years, just hadn't had to deal with an
escape sequence in the command line args. :-) and couldn't find the solution
in the docs.
It is easy to prove my assertion:
import sys
c = sys.argv[1]
print len(c)
print 'Line 1', c, 'Line 2'
Output:
2
Yeah, that was just an oversight while retyping the code. Thanks from
the prompt reply, it was just what I needed.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
I don't know anything about binutils strings, other than that a quick
google reveals that you can search binary files for printable strings
with it.
In python the following code will read a binary file into a single
string :
long_string = open(filename, 'rb').read()
You can then slice
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
Say a certain char is keyed in. Say
I notice in the event handler for key.
I don't want any more charactres to display or
be in the field until I handle a see, in the
event handler, another character. Say ?
Can the event handler
Sorry for the repost, but moderator
jeld the last one,
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
Say a certain char is keyed in. Say
I notice in the event handler for key.
I don't want any more charactres to display or
be in the field until I handle, in the
event
On Wed, Mar 02, 2005 at 04:58:03PM -0600, phil wrote:
Sorry for the repost, but moderator
jeld the last one,
We saw both posts.
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
create a binding on the widget for the particular character you want to
treat specially. If
[EMAIL PROTECTED] wrote:
I do this to get a htmlTOtext file
[...]
But then the _ characters are away.
is it possible to keep that character in file.getvalue()
Just to make sure: you did look into the HTML file and verified that there
are actually underscores and not spaces that are
Take a look at python's struct module in the standard library.
Many people use it to manipulate binary objects at the byte
level with great success.
Larry Bates
cjl wrote:
Hey all:
I am working on a little script that needs to pull the strings out of a
binary file, and then manipulate them
cjl wrote:
Hey all:
I am working on a little script that needs to pull the strings out of a
binary file, and then manipulate them with python.
The command line utility strings (part of binutils) has exactly the
functionality I need, but I was thinking about trying to implement this
in pure python.
Yatima wrote:
Hey Folks,
I've got some info in a bunch of files that kind of looks like so:
Gibberish
53
MoreGarbage
12
RelevantInfo1
10/10/04
NothingImportant
ThisDoesNotMatter
44
RelevantInfo2
22
BlahBlah
343
RelevantInfo3
23
Hubris
Crap
34
and so on...
Anyhow, these fields repeat several times
How do I use Tkinter from IDLE? Tkinter can be used from IDLE attached
(Bto python 2.2, IDLE 0.8. But I couldn't use from IDLE attached to
(Bpython 2.3, IDLE 1.0.3. When I execute the code below:
(Bfrom Tkinter import *
(Broot = Tk()
(Bthe window appears form IDLE 0.8, but not from IDLE
Hi,
I would like to request your help.
My problem is as follows. I want to match urls, and therefore I have a
group
of long valid domain names in my regex:
(?:com|org|net|biz|info|ac|cc|gs|ms|
sh|st|tc|tf|tj|to|vg|ad|ae|af|ag|
Kent Johnson wrote:
cjl wrote:
Hey all:
I am working on a little script that needs to pull the strings out of a
binary file, and then manipulate them with python.
The command line utility strings (part of binutils) has exactly the
functionality I need, but I was thinking about trying to implement
cjl wrote:
I am working on a little script that needs to pull the strings out of a
binary file, and then manipulate them with python.
The command line utility strings (part of binutils) has exactly the
functionality I need, but I was thinking about trying to implement this
in pure python.
On Tue, 1 Mar 2005 15:03:50 -0500, Tim Peters [EMAIL PROTECTED]
wrote:
[André Søreng]
Given a string, I want to find all ocurrences of
certain predefined words in that string. Problem is, the list of
words that should be detected can be in the order of thousands.
With the re module, this can
Hi.
With module parser it is possible to access Python parse trees.
But this only works for 'external' source.
I would like to known if, at least in theory, it can be possible to
access Python parse trees from 'inside' a script.
As a simple example:
def on_parsing(ast):
...
@parsing -
Hi.
Python allows to subclass builtin classes but the Python Interpreter
uses builtin types.
As an example keyword arguments are inserted in a dict but I would
like to use an user defined SortedDict.
There are plans to add such a feature in a future version?
Thanks and regards Manlio Perillo
Hi.
Python allows to subclass builtin classes but the Python Interpreter
uses builtin types.
As an example keyword arguments are inserted in a dict but I would
like to use an user defined SortedDict.
There are plans to add such a feature in a future version?
Thanks and regards Manlio Perillo
alexk wrote:
My problem is as follows. I want to match urls, and therefore I have a
group
of long valid domain names in my regex:
(?:com|org|net|biz|info|ac|cc|gs|ms|
sh|st|tc|tf|tj|to|vg|ad|ae|af|ag|
com\.ag|ai|off\.ai|al|an|ao|aq|
Simon Wittber [EMAIL PROTECTED] writes:
You mean like 'import'? :)
That's how I would do it. It's the simplest thing, that works.
exec(import %s as plugin % pluginName)
plugin.someMethod()
where pluginName is the name of the python file, minus the .py extension.
You'd better hope someone
Manlio Perillo wrote:
Python allows to subclass builtin classes but the Python Interpreter
uses builtin types.
As an example keyword arguments are inserted in a dict but I would
like to use an user defined SortedDict.
There are plans to add such a feature in a future version?
Note that it's
I'm a newbie at programmin. I've downloaded Python and am going through
How to think like a computer scientist. I've also downloaded py2exe
and I don't really know how to use it. For one what is the disutil?
thanks for the help yall.
--
http://mail.python.org/mailman/listinfo/python-list
Daniel Skinner [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If I have the following text
var = '1,2,3,4'
and I want to use the comma as a field delimeter and rearrange the
fields to read
'1,3,2,4'
How would I accomplish this in python?
Well, it kind of depends on how you
I'm using wxPython. My program has a loop where it puts data in a grid
cell, and then goes for some more processing. Well, some of the cells
are used to indicate progress, but their usefulness is hindered by the
fact that the grid refuses to change until the loop finishes, when it
shows the final
I have a wxPython program, and it has a loop. I want to be able to
break the loop by pushing a button. But it doesn't react to events
until the loop finishes, which is sort of pointless.
What's the best way to get it to work? Do I need threads? Or is there a
more convenient way?
--
take a look at os.walk, it is documented in the library documentation
--
http://mail.python.org/mailman/listinfo/python-list
Dennis Lee Bieber [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 2 Mar 2005 13:44:07 -0500, Russell Blau [EMAIL PROTECTED]
declaimed the following in comp.lang.python:
What you have is a set of 10 linear equations in 11 variables. Normally
Worse -- there are 12
I'm sure that you will get plenty of lambasting for this kind of post, but
since you are new...
(1) try google first
(2) read the how to be a hacker page:
http://www.catb.org/~esr/faqs/hacker-howto.html
(3) read the how to ask questions page:
I've noticed that the Perl camp has a very nice web/database environment
called Maypole. Ruby has the Rails environment which on the surface seems
similar to Maypole. I can't find anything in Python that ties a database
to a web interface anywhere near as well as Ruby on Rails or Maypole.
I see
This looks like a pretty quick introduction/instruction page for
py2exe:
http://starship.python.net/crew/theller/py2exe/
How did we ever live without Google?
[EMAIL PROTECTED] wrote:
I'm a newbie at programmin. I've downloaded Python and am going
through
How to think like a computer
Cousin Stanley wrote:
Alex
Thanks for posting your generalized numarray
eigenvalue solution
It's been almost 30 years since I've looked at
any characteristic equation, eigenvalue, eignevector
type of processing and at this point I don't recall
many of the particulars
No. I don't think it's possible to read the parse tree used by the
interpreter, especially as it is being created. Here are a couple of
kludgy ideas that might come close, though:
1. Use introspection to have your on_parsing function locate the and
parse the code being executed. I'm not sure if
Raymond L. Buvel wrote:
Alex Renelt wrote:
Alex Renelt wrote:
in addition:
I'm writing a class for polynomial manipulation. The generalization
of the above code is:
definitions:
1.) p = array([a_0, a_i, ..., a_n]) represents your polynomial
P(x) = \sum _{i=0} ^n a_i x^i
2.) deg(p) is its degree
Gary Nutbeam wrote:
(...)
Does anyone know of something similar to Rails or Maypole in Python?
you may want to take a look at subway:
http://subway.python-hosting.com/
it glues together cherrypy2, sqlobject
and cheetah using an MVC approach.
HTH,
deelan.
--
On Thu, 3 Mar 2005 14:57:13 -, Duncan Smith [EMAIL PROTECTED] wrote:
engsol [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
There is a number puzzle which appears in the daily paper.
Because I'm between Python projects, I thought it might be
fun to write a program to solve
Gensek wrote:
I have a wxPython program, and it has a loop. I want to be able to
break the loop by pushing a button. But it doesn't react to events
until the loop finishes, which is sort of pointless.
What's the best way to get it to work? Do I need threads? Or is there a
more convenient way?
You
1 - 100 of 208 matches
Mail list logo