Am Mittwoch 24 Mai 2006 06:12 schrieb Tim Roberts:
> At one time, it was said that the "%" operator was the fastest way to
> concatenate strings, because it was implemented in C, whereas the +
> operator was interpreted. However, as I recall, the difference was hardly
> measurable, and may not eve
Am Mittwoch 24 Mai 2006 07:52 schrieb manstey:
> Hi,
>
> How do I convert a string like:
> a="{'syllable': u'cv-i b.v^ y^-f', 'ketiv-qere': 'n', 'wordWTS': u'8'}"
>
> into a dictionary:
> b={'syllable': u'cv-i b.v^ y^-f', 'ketiv-qere': 'n', 'wordWTS': u'8'}
b = eval(a)
(if a contains a dict-repr)
Thanks for the reply.
you are indeed right, they were included from different places.
from C:\Python24\Lib and D:\mydir
But the strange thing is:
anywhere on C: the file from C:\Python24\Lib was included.
in D:\mydir the one from that directory
BUT: anywhere else on D: apparantly the one from D:\
on Friday, May 19, 2006 11:26 PM
[EMAIL PROTECTED] wrote:
| All I would ask is what objective evidence does either of actually
| have? How can you know? What is a fair way to even count line
| numbers? From there how do we begin to objectively measure software
| quality? That's why this discu
> I'm new to python.
> I would like to know whether is it possible to access Java/C++ APIs from
> python.
> I have two applications written in Java and API, I wanted to call the APIs
> of these applications from Python.
> I'm developing web-based application using Zope.
CPython can access Java thr
i'am looking for some module and programs in ptyhon for making qrcode (special kind of barcode)But i only found documentation and programs in japanese.Does it exist program and documentation for python in qrcode in english ?
regardsBussiere
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm new to python.
I would like to know whether is it possible to access Java/C++ APIs from
python.
I have two applications written in Java and API, I wanted to call the APIs
of these applications from Python.
I'm developing web-based application using Zope.
Thanks in advance.
-Manoj-
"SAS
manstey wrote:
> Hi,
>
> How do I convert a string like:
> a="{'syllable': u'cv-i b.v^ y^-f', 'ketiv-qere': 'n', 'wordWTS': u'8'}"
>
> into a dictionary:
> b={'syllable': u'cv-i b.v^ y^-f', 'ketiv-qere': 'n', 'wordWTS': u'8'}
>
> Thanks, Matthew
>
> PS why in Python is it so often easy to conv
Hi,
How do I convert a string like:
a="{'syllable': u'cv-i b.v^ y^-f', 'ketiv-qere': 'n', 'wordWTS': u'8'}"
into a dictionary:
b={'syllable': u'cv-i b.v^ y^-f', 'ketiv-qere': 'n', 'wordWTS': u'8'}
Thanks, Matthew
PS why in Python is it so often easy to convert one way but not the
other?
--
ht
Yaron Butterfield wrote:
> What's the best way to on-the-fly graphs and charts using Python? Or
> is Python not really the best way to do this?
I quite enjoyed using Biggles for this:
http://biggles.sf.net
There are many different choices, though.
Cheers,
Terry
--
Terry Hancock ([EMAIL PROT
[Please provide some context when you respond in an existing
discussion, by quoting the original message and removing any parts
irrelevant to your reply.]
"Ju Hui" <[EMAIL PROTECTED]> writes:
> yes, we can change PYTHONPATH to add some path to sys.path value, but
> how to remove item from sys.pat
WIdgeteye <[EMAIL PROTECTED]> wrote:
>
>On Tue, 23 May 2006 12:40:49 +1000, Ben Finney wrote:
>
>Ok this is weird. I checked:
>/usr/local/lib/python2.3/lib-dynload/math.so
>
>Just as you have on your system and it's there.
>So why in the heck isn't it loading with:
>import math
>
>This is s
[EMAIL PROTECTED] wrote:
>
>Hello together::
>
>I have programmed this fuction:
>
>def OnNewMovie(self, event):
>""" Local user receives a new movie event from a user"""
>
>#self.log.debug( "Got OnNewMovie, " + `event`)
>if event.data[0] == self.pubId:
>fDep.writ
WERD is a phonetic transliterator that helps users write english text
but read the same in the chosen Devanagari (Indic) font. WERD is
expected to make it easy for Indians wanting to communicate over chat
or email in their native language.
Checkout http://werd.sourceforge.net/
WERD is written in
"oscartheduck" <[EMAIL PROTECTED]> wrote:
>
>It wasn't, but after seeing your success I discovered what was wrong.
>My destination directory didn't exist, and for some reason windows
>wasn't automatically creating it to dump the files in.
Right. The "copy" command never creates directories. It w
'''\[(.*?)\]'''
?-> when this char after(*, +, ?, {n}, {n,}, {n,m}), the match pattern
is not greedy
e.g.1
String: 512.16[3][b]]
Pattern:'''\[(.*)\]'''
This will match "[3][b]]"
e.g.2
String: 512.16[3][b]]
Pattern:'''\[(.*)?\]'''
This will match "[3]" and "[b]"
--
http://mail.python.org/mailman
> As for the code to actually make the application go, well,
> if there is some automatic way to make that happen it hasn't dawned on
> me yet.
why not execute 'python -u /pathto/module.py' I could be wrong but hope
I am not :)
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
MS-Office-2007 beta2, can downloaded here :
http://www.microsoft.com/office/preview/beta/getthebeta.mspx
(with a passport account).
Doc, for COM access, are include in the help-system.
@-salutations
MCI
--
http://mail.python.org/mailman/listinfo/python-list
>What are you building? I routinely do things like these by hand
>www.greschke.com/unlinked/images/changeo.jpg
>www.greschke.com/unlinked/images/pocus.jpg
>www.greschke.com/unlinked/images/pis.jpg
>www.greschke.com/unlinked/images/petm.jpg
>and I can't imagine using a builder for anything 'simpl
manstey wrote:
> But will this work if I don't know parts in advance.
Yes it will work as long as the highest part number in the whole file
is not very high. The algorithm needs only store N records in memory,
where N is the highest part number in the whole file.
> I only know parts
> by reading
The Excel docs are your best bet. The examples they give
are all MS-specific languages like VB, but most translate
fairly easily to Python.
You can also run makepy on the Excel typelib, which will
generate a file with all the methods, events etc available
thru the Excel object model.
Also, searc
Hi,
I am running a script that produces about 450,000 dictionaries. I tried
putting them into a tuple and then pickling the tuple, but the tuple
gets too big. Can I pickle dictionaries one after another into the same
file and then read them out again?
Cheers,
Matthew
--
http://mail.python.org/m
Iain King wrote:
> http://compoundthinking.com/blog/index.php/2006/03/10/framework-comparison-video/
>
> Thought this might be interesting to y'all. (I can't watch it 'cos I'm
> at work, so any comments about it would be appreciated :)
Indeed it was. The headache factor is 1, for some reason my
Edward Elliott <[EMAIL PROTECTED]> wrote:
>bruno at modulix wrote:
>
>> Edward Elliott wrote:
>>> You mean like this:
>>>
>>> s = "foo" + "bar"
>>> s = 'foo' + 'bar'
>>> s = 'foo' 'bar'
>>> s = '%s%s' % ('foo', 'bar')
>[snip]
>> The real mantra is actually :
>> "There should be one-- and preferab
Here's the revision I just made for pydb's documentation (in
CVS). I welcome suggestions for improvement.
set_trace([cmdfile=None])
Enter the debugger before the statement which follows (in
execution) the set_trace() statement. This hard-codes a call to
the debugger at a given point
good point
--
http://mail.python.org/mailman/listinfo/python-list
George Sakkis <[EMAIL PROTECTED]> wrote:
> Bruno Desthuilliers wrote:
>
> > George Sakkis a écrit :
> > > Although I consider dict(**kwds) as one of the few unfortunate design
> > > choices in python since it prevents the future addition of useful
> > > keyword arguments (e.g a default value or a
"Diez B. Roggisch" <[EMAIL PROTECTED]> writes:
> > the code works with no problem, I am playing around with the pdb, i.e
> >
> > from pdb import *
> > set_trace() for i in range(1,50):
> > print i
> > print "tired of this"
> > print "I am out"
> >
> > [EMA
Brian <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hi Brian,
> >
> > You may have already considered this, but since I didn't see it
> > mentioned in your post, I'll reply anyway.
> >
> > I believe the Python binaries that Apple includes with OS X are always
> > slightly behind the la
Gary Wessle <[EMAIL PROTECTED]> writes:
> Hi
>
> using the debugger, I happen to be on a line inside a loop, after
> looping few times with "n" and wanting to get out of the loop to the
> next line, I set a break point on a line after the loop structure and
> hit c, that does not continue out of
Grant Edwards <[EMAIL PROTECTED]> writes:
>
> On 2006-05-23, Yaron Butterfield <[EMAIL PROTECTED]> wrote:
>
>> What's the best way to on-the-fly graphs and charts using Python? Or is
>> Python not really the best way to do this?
>
> I like Gnuplot-py, but I've been a Gnuplot for 15+ years, so
> I
yes, we can change PYTHONPATH to add some path to sys.path value, but
how to remove item from sys.path?
--
http://mail.python.org/mailman/listinfo/python-list
ProvoWallis wrote:
> Hi,
>
> I'm looking for a little advice about regular expressions. I want to
> capture a string of text that falls between an opening squre bracket
> and a closing square bracket (e.g., "[" and "]") but I've run into a
> small problem.
>
> I've been using this: '''\[(.*?)\]''
In article <[EMAIL PROTECTED]>,
Ben Finney <[EMAIL PROTECTED]> wrote:
>"Joseph" <[EMAIL PROTECTED]> writes:
>
>> So I am looking more for a push technology than a pull from teh
>> browser (user hit Ctrl-R to refresh is a pull).
>
>Not necessarily; just write the web page so that it instructs the
>
4zumanga wrote:
> I have a bunch of really horrible hacked-up bash scripts which I would
> really like to convert to python, so I can extend and neaten them.
> However, I'm having some trouble mapping some constructs easily, and
> was wondering if anyone know of a guide to mapping simple uses of
>
Hi,
I'm looking for a little advice about regular expressions. I want to
capture a string of text that falls between an opening squre bracket
and a closing square bracket (e.g., "[" and "]") but I've run into a
small problem.
I've been using this: '''\[(.*?)\]''' as my pattern. I was expecting
th
[EMAIL PROTECTED] wrote:
> Hi Brian,
>
> You may have already considered this, but since I didn't see it
> mentioned in your post, I'll reply anyway.
>
> I believe the Python binaries that Apple includes with OS X are always
> slightly behind the latest that you can get from the official sources.
Lloyd Weehuizen wrote [top-posting, for which he should have his wrist
smacked]:
> Steve Holden wrote:
> > Lloyd Weehuizen wrote:
> >> Hey
> >>
> >> I'm trying to set up a WeakrefValueDictionary of callables however as
> >> soon as my method that adds the callable to the dictionary exits the
Hi,
I have tried to install MySQL-python-1.2.1_p2 under Windows XP with
Python 2.4.3 and I get some problems.
1- I get this warning when I run setup.py build:
C:\tools\Python\lib\distutils\extension.py:133: UserWarning: Unknown
Extension options: 'mysql_root'
warnings.warn(msg)
2- When I comp
David Socha wrote:
> I am looking for a way to determine the maxium array size I can allocate
> for arrays of Float32 values (or Int32, or Int8, ...) at an arbitrary
> point in the program's execution. This is needed because Python cannot
> allocate enough memory for all of the data we need to pro
Baurzhan Ismagulov wrote:
> Hello all,
>
> I want that each module has its own logger. I've defined the following
> config file:
>
> [logger_root]
> level=CRITICAL
> handlers=console
>
> [logger_l01]
> level=DEBUG
> qualname=l01
> handlers=console
>
> I want logger_root to go to /dev/null, so I'v
I am looking for a way to determine the maxium array size I can allocate
for arrays of Float32 values (or Int32, or Int8, ...) at an arbitrary
point in the program's execution. This is needed because Python cannot
allocate enough memory for all of the data we need to process, so we
need to "chunk"
Bruno Desthuilliers wrote:
> George Sakkis a écrit :
> > Although I consider dict(**kwds) as one of the few unfortunate design
> > choices in python since it prevents the future addition of useful
> > keyword arguments (e.g a default value or an orderby function), I've
> > been finding myself late
Oh, and, apologies for the "inpythonic" nature of this issue.On 5/24/06, Patrick M. Nielsen <[EMAIL PROTECTED]
> wrote:Hey guys.I have begun playing with the Simple MUD server example from the Stackless website
( http://www.stackless.com/Members/rmtew/code/mud.py )
and it's all good so far, however
Hey guys.I have begun playing with the Simple MUD server example from the Stackless website( http://www.stackless.com/Members/rmtew/code/mud.py )
and it's all good so far, however, I've come to notice something that I remember from backin the days (some old mud code), but I don't remember what I di
Bruno Desthuilliers <[EMAIL PROTECTED]> writes:
> Ju Hui a écrit :
> > what the relationship between it and the sys.path?
>
> Don't you guess ?
He's following sound Python philosophy :-)
--
\Hercules Grytpype-Thynne: "Well, Neddie, I'm going to be |
`\ frank." Ned Seagoon:
[EMAIL PROTECTED] a écrit :
> Shouldn't Idle have shown an error when trying to
> read the string constant if it's not interpretable as a normal string,
> then?
Yes. In my python shell, it raised an error. I don't know for sure why
this did not appear in IDLE, but there are far better tools anyw
But will this work if I don't know parts in advance. I only know parts
by reading through the file, which has 450,000 lines.
--
http://mail.python.org/mailman/listinfo/python-list
George Sakkis a écrit :
> Although I consider dict(**kwds) as one of the few unfortunate design
> choices in python since it prevents the future addition of useful
> keyword arguments (e.g a default value or an orderby function), I've
> been finding myself lately using it sometimes instead of dict
Ju Hui a écrit :
> yes, I mean I want change the sys.path value and save it for next
> using.
>
> I can change the value of sys.path, but I can't "save" it permanently.
No.
> There is no python_path environment on my pc,
sorry, I meant PYTHONPATH (all caps, no underscore). Like all
environnement
"Joseph" <[EMAIL PROTECTED]> writes:
> So I am looking more for a push technology than a pull from teh
> browser (user hit Ctrl-R to refresh is a pull).
Not necessarily; just write the web page so that it instructs the
browser to do the pull automatically, without refreshing the entire
page.
Thi
Kent Johnson wrote:
> Can anyone point me to a GUI program that allows viewing and browsing
> the output of the profiler? I know I have used one in the past but I
> can't seem to find it...
If you use KDE, then you can convert the output of the hotshot profiler to
into a format that KCachegrind c
Hi Brian,
You may have already considered this, but since I didn't see it
mentioned in your post, I'll reply anyway.
I believe the Python binaries that Apple includes with OS X are always
slightly behind the latest that you can get from the official sources.
I'm not infront of my Mac right now, s
John Salerno wrote:
> So does this mean that the code can be different each time, or is there
> still a pre-determined way to refer to things, such as opening Excel,
> reading a spreadsheet and working with it, etc.?
For a given version of Excel, there's a "pre-determinied way" of doing
those thin
Sybren Stuvel wrote:
> Dave Kuhlman enlightened us with:
>> For those who are beginners to using Python to process XML, I've
>> recently updated my Python XML FAQ (PyXMLFaq). It has a number
>> of code samples that may help you get started.
>
> You might want to include a list of things you assu
Joseph wrote:
> I know about writing CGI application using Perl and Apache to refresh a
> static webpage that displays on the browser. But now i have an
> application requirement that I hope someone can help me.
>
> The server side sits in another room down the factory plant, its
> monitoring som
Jarek Zgoda wrote:
> John Salerno napisał(a):
>
>>> yes, I mean I want change the sys.path value and save it for next
>>> using.
>>> I can change the value of sys.path, but I can't "save" it permanently.
>>> There is no python_path environment on my pc, what the relationship
>>> between it and the
Eli Gottlieb <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
[Snips]
> I correct: We live in a paradise where we finally have to processing
> power to realize all those ideas that were too inefficient 20 years
> ago.
That sounds more reasonable.
In my more jaundiced moments, I think that
"John A. Bailo" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
[Snips]
> What exciting new ideas exist in software that are both important and
> cannot be traced back to Doug Engbart's 1968 presentation at Xerox
> Parc?
The only two I would think worth mentioning are Nygaard et al's idea
Gerard Flanagan wrote:
> All
>
> would anyone happen to have code to generate Cutter Numbers:
>
> eg. http://www1.kfupm.edu.sa/library/cod-web/Cutter-numbers.htm
>
> or is anyone looking for something to do?-) (I'm under pressure!)
>
> def cutter(lname, fname, book_title):
>
> (maybe more to it
Le Tue, 23 May 2006 08:58:12 -0500, John D Salt a écrit :
>
> What exciting new ideas exist in software that are both important and
> cannot be traced back to 1986 or earlier?
Actually it looks like the latest breakthru was invention of LISP circa
1957. Well, Perhaps OO paradigm and Smalltalk,
python subprocess module docs:
http://docs.python.org/dev/lib/node517.html
--
http://mail.python.org/mailman/listinfo/python-list
Thanks!
I had no clue what that was (and searching for @ in the context of
python was returning hundreds of thousands of hits XD)
--
http://mail.python.org/mailman/listinfo/python-list
Hey python people,
I'm interested in using the try/finally clause to ensure graceful
cleanup regardless of how a block of code exits. However, I still am
interested in capturing the exception.
The scenario is that I have an object that accesses a global memory
space accessible via multiple th
Cloudthunder wrote:
> How can I set up method delegation so that I can do the following:
>
> A.run()
>
> and have this call refer to the run() method within the boo instance? Also,
> what if I have tons of functions like run() within the boo instance and I
> want all them to be directly accessib
John Salerno napisał(a):
>> yes, I mean I want change the sys.path value and save it for next
>> using.
>> I can change the value of sys.path, but I can't "save" it permanently.
>> There is no python_path environment on my pc, what the relationship
>> between it and the sys.path?
>
> In Windows,
barbaros wrote:
> Hello everybody,
>
> I need to put some dynamic drawings on my web page. More precisely, I
> need to draw a number of geometric figures (circles, rectangles) which
> evolve into a graphics windows according to some law (a little bit like
> the solar system). I need also to have se
Ken Tilton wrote:
> Is there any experiemntal macro package out there for Python? Maybe a
> preprocessor, at least? Or are there ways to actually hack Python to
> extend the syntax?
Yes. I've just released EasyExtend that does this kind of job:
http://www.fiber-space.de/EasyExtend/doc/EE.html
I
>
> What are you building? I routinely do things like these by hand
>
> www.greschke.com/unlinked/images/changeo.jpg
> www.greschke.com/unlinked/images/pocus.jpg
> www.greschke.com/unlinked/images/pis.jpg
> www.greschke.com/unlinked/images/petm.jpg
>
> and I can't imagine using a builder for anyth
John D Salt writes:
> What exciting new ideas exist in software that are both important and
> cannot be traced back to 1986 or earlier?
Automated spamming tools? ;-)
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> SamFeltus wrote:
> > Here is a visual argument,
> > http://samfeltus.com/swf/contact_globes.swf
>
> Here's a text-based argument.
>
> If I search Golge for "gardener, Athens, GA" then Google's spiders
> won't have recorded your contact page. So I don't find you as a loca
John D Salt writes:
> <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
>
> [Snips]
>> Wrong. We live in a paradise of ideas and possibilities well beyond the
>> wildest dreams of only 20 years ago.
>
> What exciting new ideas exist in software that are both important and
> cannot be traced b
"Joseph" <[EMAIL PROTECTED]> writes:
> What are the current technology that allows for this. I know its
> possible because I can use my browser sometimes to chat with people
> online, and I swear that I don't have to do a Control-R everytime to
> see that the other person's typing is updating cons
4zumanga wrote:
> Yes, there is a stupid mistake in that script, last line should be:
>
> diff new_out1 new_out2
>
> However, this is hopefully not important, what is important is the
> general kind of (very simple) things I'm trying to do.
I have been hoping for a good solution to this. An
easy
I know about writing CGI application using Perl and Apache to refresh a
static webpage that displays on the browser. But now i have an
application requirement that I hope someone can help me.
The server side sits in another room down the factory plant, its
monitoring some hardware environment, na
In the example:class Boo: def __init__(self, parent): self.parent = parent print self.parent.testme def run(): print "Yaho!"
class Foo: testme = "I love you!"
def __init__(self): test = Boo(self)A = Foo()How can I set up method delegation so that I can d
> So in this situation, when the file is being read, is that
> single space still determined to be a tab, or do you have to
> press tab twice to put a full tab between the names?
If there is a literal tab in the file, it will come in (to your
code) as a real tab.
Your editor may have settings yo
In the example:class Boo: def __init__(self, parent): self.parent = parent print self.parent.testme def run(): print "Yaho!"
class Foo: testme = "I love you!"
def __init__(self): test = Boo(self)A = Foo()How can I set up method delegation so that I can d
Alex Pavluck wrote:
> Hello. On page 124 of "Thinking like a Computer Scientist". There is
> an exercise to take the following code and with the use of TRY: /
> EXCEPT: handle the error. Can somone help me out? Here is the code:
>
> def inputNumber(n):
> if n == 17:
> raise 'BadNumb
Alex Pavluck wrote:
> Hello. On page 124 of "Thinking like a Computer Scientist". There is
> an exercise to take the following code and with the use of TRY: /
> EXCEPT: handle the error. Can somone help me out? Here is the code:
>
> def inputNumber(n):
> if n == 17:
> raise 'BadNumb
"vbgunz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thank you very much for the link and info. It looks promising but I am
> still on the lookout for a drag-n-drop Gui builder like vltc so if
> anyone has more links to new projects I am definitely interested!
>
> PS. I do love th
Hmm,
check your editor to see if it has an option to display non-printable
characters, or see if you can search for tabs in its find utility.
If you find that your editor has the ability to insert spaces instead
of tabs then turn it off.
Thats all that comes to mind...
- Pad.
--
http://mail.p
That is really strange, because PKey has had sign_init method since
2004. That code works for me (just tested). What version of M2Crypto
are you using? I'd advice you upgrade to 0.15 if possible. See
http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto
--
Heikki Toivonen
--
http://mai
When you're using tabs to separate values in a text file, what do you do
in the case where pressing the tab key doesn't really advance the cursor
a full tab space (but instead just one or two spaces) because that's
where the next tab stop is?
Example:
Joe Smith
JohnSalerno
So the second e
Is there anything better to read on how to use this module for working
with Office programs? This is not very heartening to read in the
official docs:
---
How do I know which objects are available?
Good question. This is hard! You need to use the documentation with the
pro
Yes, there is a stupid mistake in that script, last line should be:
diff new_out1 new_out2
However, this is hopefully not important, what is important is the
general kind of (very simple) things I'm trying to do.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> What's with code that has the @ symbol in front of classes or
> functions? This has probably already been asked but I can't find any
> info on it.
http://www.python.org/doc/2.4.2/whatsnew/node6.html
--
http://mail.python.org/mailman/listinfo/python-list
I have a bunch of really horrible hacked-up bash scripts which I would
really like to convert to python, so I can extend and neaten them.
However, I'm having some trouble mapping some constructs easily, and
was wondering if anyone know of a guide to mapping simple uses of
command line programs to p
Oh please, please, can I answer!
They are decorators.
Check-out http://zephyrfalcon.org/weblog2/arch_e10_00610.html#e610
(decorate this),
or http://paddy3118.blogspot.com/ " Python function attributes" and
then " Function Attributes assigned by decorator".
Of course there is also:
http://wiki.pyt
Oh please, please, can I answer!
They are decorators.
Check-out http://zephyrfalcon.org/weblog2/arch_e10_00610.html#e610
(decorate this),
or http://paddy3118.blogspot.com/ " Python function attributes" and
then " Function Attributes assigned by decorator".
Of course there is also:
http://wiki.pyt
On 2006-05-23, Yaron Butterfield <[EMAIL PROTECTED]> wrote:
> What's the best way to on-the-fly graphs and charts using Python? Or is
> Python not really the best way to do this?
I like Gnuplot-py, but I've been a Gnuplot for 15+ years, so
I'm biased.
http://gnuplot-py.sourceforge.net/
--
Gr
Alex Pavluck wrote:
> Hello. On page 124 of "Thinking like a Computer Scientist". There is
> an exercise to take the following code and with the use of TRY: /
> EXCEPT: handle the error. Can somone help me out? Here is the code:
> [ ... ]
What error?
Python 2.4.2 (#1, Jan 23 2006, 21:24:54)
[
Hi,
What's the best way to on-the-fly graphs and charts using Python? Or is
Python not really the best way to do this?
Thanks you!
Yaron
--
http://mail.python.org/mailman/listinfo/python-list
The reason i would like a different approach to the lambda function is
just a question of personal taste... i dont really like it.
thanx!
--
http://mail.python.org/mailman/listinfo/python-list
What's with code that has the @ symbol in front of classes or
functions? This has probably already been asked but I can't find any
info on it.
Here is a slice of code I found that uses this, can someone please
explain what the @'s for??
::
def option_error_decorator(func):
def wrapper(*a, **
baalbek wrote:
> David Cuthbert wrote:
>
> > This does not mean the design itself should be stored as an RDBMS. As
> > I've stated previously, CAD data (both electrical and, it appears,
> > mechanical) does not lend itself to RDBMS relationship modeling.
>
> I simply do not agree with this.
>
> A
"SamFeltus" <[EMAIL PROTECTED]> writes:
> > But your brain doesn't care. It's got a shortcut to your wallet, and
> > the information on the screen is accessing that.
> This was the most useful comment for me. I never fully considered that
> Flash was aiming at a different part of the brain. HT
Good question on new ideas vs old ideas. Seems to me the computer
industry needs some young brains, raised around the internet, to
generate some major new theoretical ideas for computers. Seems to me
it must already be occuring below the radar. When it happens, it
shouldn't be too hard to spot.
John D Salt wrote:
> <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
>
> [Snips]
>
>>Wrong. We live in a paradise of ideas and possibilities well beyond the
>>wildest dreams of only 20 years ago.
>
>
> What exciting new ideas exist in software that are both important and
> cannot be trace
Hello. On page 124 of "Thinking like a Computer Scientist". There is
an exercise to take the following code and with the use of TRY: /
EXCEPT: handle the error. Can somone help me out? Here is the code:
def inputNumber(n):
if n == 17:
raise 'BadNumberError: ', '17 is off limits.'
1 - 100 of 167 matches
Mail list logo