Hello all, please correct me, if I do...
from ClientForm import ParseResponse
from urllib2 import urlopen
...
response=urlopen(url)
forms=ParseResponse(response)
I won't be able to
print response.read()
in order to see HTML source anymore. In other words I will see only an
empty string. Suggest
Exactly what I needed!
import StringIO from StringIO
...
content=response.read()
forms=ParseFile(StringIO(content), response.geturl())
...
Thank you all!
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > > > * C
> > > > * A static functional language (ML, Haskell, etc)
> > > > * Lisp or scheme Scheme
> > > > * A static class-oriented language (Java, C++,
Fredrik Lundh wrote:
> Mikael Olofsson wrote:
>
> > You probably mean
> >
> > http://www.pythonware.com/library/tkinter/introduction/
> >
> > which is copyrighted 1999. There is also
> >
> > http://effbot.org/tkinterbook/
> >
> > which I think is the most recent version of it. It states th
Hi,
String formatting can be used to converting an integer to its octal or
hexadecimal form:
>>> a = 199
>>> "%o" % a
'307'
>>> "%x" % a
'c7'
But, can string formatting be used to convert an integer to its binary
form ?
Thanks in advance.
xiaojf
--
http://mail.python.org/mailman/listinfo
Hi,
I want to write an 2d array in an ascii file using numpy. There's the -
tofile / fromfile - function but it doesn't work with nd array.
Thanks,
CH.
--
http://mail.python.org/mailman/listinfo/python-list
I'm a compiler newbie and curious if Python grammar is able to
be parsed by a recursive descent parser or if it requires
a more powerful algorithm.
Chris
--
http://mail.python.org/mailman/listinfo/python-list
I'm a compiler newbie and was curious if Python's language/grammar
can be handled by a recursive descent parser.
Well?
Chris
--
http://mail.python.org/mailman/listinfo/python-list
> Since the examples out of An Introduction to Tkinter work, what else
> could be useful to you is hard to guess.
Basically, any kind of program using Tkinter, and has some sort of
usefulness
btw, I DO look at signatures believe it or not, and already (as in
before I even read this post) I have
Patrick Smith wrote:
> Hi,
> I'm hoping someone here will be able to help as I've been struggling with
> this problem for a few days now.
>
> I'm working on an application that is creating a ProgressDialog, and then
> creating a thread that runs a function from another module in the program.
>
> Th
Patrick Smith wrote:
> Hi,
> Thanks for your reply.
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > [Re: cancelling a worker thread from the GUI thread]
> >
> > Have the main thread set a flag telling the worker thread to exit, an
"...from little towns with strange names like Smegma, Spasmodic, Frog,
and the far-flung Isles of Langerhans".
Someone on SourceForge has a project that includes the name
'spasmodic' so I'm using the name spasmoidal. But this code will
always be spasmodic to me.
Asynchronous I/O (and other tasks)
Patrick Smith wrote:
> > Well, the problem is that you can't simply kill a thread--it shares
> > memory with other threads that it could be leaving in an inconsistent
> > state. Imagine that it was, say, holding a lock when it was forceably
> > killed. Now any other thread that tries to acquire t
Ben Sizer wrote:
> [EMAIL PROTECTED] wrote:
> > I'm a compiler newbie and was curious if Python's language/grammar
> > can be handled by a recursive descent parser.
>
> I believe a recursive descent parser can handle any grammar; it just
> depends on how pure
thanks, it is useful.
but ,why this line "encoding = locale.getdefaultlocale()[1]" in
original file"IOBinding.py " ,
don't work?
it should be work
kazuo fujimoto wrote:
> Ricky,
>
> I found your message now, because I also would encounter the same
> problem.
>
>
> > A few unicode tutorials on
Sorry about that.
As far as I can tell, its not anything to do with your code. I think
its something with tkinter modules. Sorry about misleading you.
Thanks for the help, I'm sure you'll hear from me soon again. In
fact...
FlyingIsFun1217
--
http://mail.python.org/mailman/listinfo/python-list
Hey,
Sorry to bother everybody again, but this group seems to have quite a
few knowledgeable people perusing it.
Here's my most recent problem: For a small project I am doing, I need
to change numbers into letters, for example, a person typing in the
number '3', and getting the output 'Three'. So
I guess I'm just looking for a small code sample hooked up to the code
I gave, that would collect the input, compare it to code such as:
if x==5
print "Five"
elif x==6
print "Six"
elif x==7
print "Seven"
Something along those lines. That was actually like the code I used for
someth
Hi guys,
Well, here is my humble contribution to the community:
http://sourceforge.net/projects/erocket
I started that project to learn Python and wxWindows.
By all means, I am no Python Guru, but maybe someone could find
something useful.
Also please consider that it is under development and is
Hi,
it is a kind of nooby question. Is there a way to transfer a CGI python
script to mod_python without rewriting the code?
Thanks.
Bernhard
--
http://mail.python.org/mailman/listinfo/python-list
y hosting since then, but that can be fixed.
Good luck
Johan Lindberg
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
in one big XML file that could
be saved as wxPython source. But it's sure doable. I don't know which
is easier but either way, I'm guessing that you're going to have to
write some code of your own.
If you decide to extend/modify the wxBrowser, let me know, I might be
able
Giovanni Bajo wrote:
> Does this smell "Bitkeeper fiasco" to anyone else than me?
I can't understand why people waste time arguing this stuff.
Use whatever tool is best at it's job... if it's not written in Python
it doesn't mean that Python is not good for the task, only that there
hasn't been
I was looking at vpython and it would seem to be an easy thing to
add to boa-constuctors classes but I am not sure if that is possible
within the boa-constructor interface. Is it possible to do without
combining it with wxwindows?? Is there any examples besides the simple
one that comes with
I was able to fix (i.e., work around) this issue by using the import:
import xml.parsers.expat as expat
and then referring to:
expat.ExpatError
I have no idea why this makes it work, seems like a bug in Python to
me.
-Don
[EMAIL PROTECTED] wrote:
> Sorry, that should have b
After using numeric for almost ten years, I decided to attempt to
switch a large codebase (python and C++) to using numpy. Here's are
some comments about how that went.
- The code to automatically switch python stuff over just kind of
works. But it was a 90% solution, I could do the rest by hand.
Hi all,
I am going to generate a python wrapper of a C library, and I am
wondering which one is a better tool for me, SIP or SWIG ?
SWIG supports many scripting languages such as python, ruby, and perl,
while SIP is specific to python, so I think maybe SIP is more suitable
to generate better w
TonyHa wrote:
> Hello Josh,
>
> Thanks for the reply. But I am not sure I understand your reply, may be
> I need to explain my problem a bit more. I have a Python script which
> needs an input argument to run.
> e.g. python myscript.py xilinx. which run fine.
>
> My problem is this: When I start I
ronrsr wrote:
> very sorry, that was my error - len(result[0]) and len(result[1]) both
> return 1 --
>
> i think I'm misunderstanding what len() does - to me they appear to
> have 2 or 3 elements, or at least be composed of a string of some
> length.
One string composed of multiple data elements
Luis M. González wrote:
> [EMAIL PROTECTED] ha escrito:
>
> > Luis M. González wrote:
> > > OK. But since when has python been considered a viable alternative for
> > > web development?
> > > As a generalp purpose language, it's older.
> > &g
I have a simple assignment for school but am unsure where to go. The
assignment is to read in a text file, split out the words and say which
line each word appears in alphabetical order. I have the basic outline
of the program done which is:
def Xref(filename):
try:
fp = open(filename,
Chris wrote:
> This is just some dummy code to mimic what's being done in the real
> code. The actual code is python which is used as a scripting language in
> a third party app. The data structure returned by the app is more or
> less like the "data" list in the code below. The test for "ELEMENT"
work with .net and it is fun to see what other languages have
and what sytax they use.
Paul McGuire wrote:
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >I have a simple assignment for school but am unsure where to go. The
> > assignment is to read in a t
quot;.,!?:;")
if not dict.has_key(word):
dict[word] = []
dict[word].append(line_num)
fp.close()
keys = sorted(dict);
for key in keys:
print key," : ", dict[key]
return dict
Marc 'BlackJack' Rintsch wrote:
> In <[EM
Peter Otten wrote:
>
> # Norvitz/Lundh
> def writelines_data(out, data, map=map, str=str):
> SPACE_JOIN = ' '.join
> out.writelines(
> "ELEMENT %06d %s\n" % (i1, SPACE_JOIN(map(str, i2)))
>for i0, i1, i2 in data if i0 == 'ELEMENT'
> )
>
> def print_data
, etc...) I would be able to find
this? I am running this in Python 2.5
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] schrieb:
> > I have taken the coments and think I have implemented most. My only
>
> Unfortunately, no.
>
> > question is how to use the enumerator. Here is
, etc...) I would be able to find
this? I am running this in Python 2.5
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] schrieb:
> > I have taken the coments and think I have implemented most. My only
>
> Unfortunately, no.
>
> > question is how to use the enumerator. Here is
When I run this code in the pdb it works.
accountNbr = 1
for testLine in ftest.readlines():
acct = testLine[1:2] #there account number
if accountNbr == int(acct):
accountNbr = accountNbr + 1
When I run without the debugger I get this error.
File "./casco
I normaly try to be as resourceful as I can. I find that newgroups give
a wide range of answers and solutions to problems and you get a lot
responses to what is the right way to do things and different point of
views about the language that you can't find in help manuals. I also
want to thank every
Hi
Having a method:
def method(self,x,y):
is it possible to discover, from outside the method, that the methods
arguments are ['self', 'x', 'y']?
Thanks.
/Martin
--
http://mail.python.org/mailman/listinfo/python-list
t; [EMAIL PROTECTED] wrote:
> > > I need to do a quadratic optimization problem in python where the
> > > constraints are quadratic and objective function is linear.
> > >
> > > What are the possible choices to do this.
> >
> > Too bad these homework a
I'm pretty sure that GoogleReader keeps its own archive on their
servers to provide historical feed items - so you'd have to implement
your own archiving on your server to get the same functionality (unless
GoogleReader publishes any API you could use for this purpose).
In the general case, given
[EMAIL PROTECTED] wrote:
> While studying the SICP video lectures I have to twist my mind some to
> completely understand the lessons. I implement the programs shown there
> in both Python and Scheme, and I find the Python implementations
> simpler to write (but it's not a fair c
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED]:
> > No surprise to anyone who's ever tried to use MIT Scheme.
>
> Be careful, such assertions are often flamebait.
Well, yeah, it's a warning to everyone to not
bother with the MIT implementation of Scheme which
is comple
Tell us about it again when it is available as html. We will be glad to
read it. I am sorry but I almost never find a pdf worth the bother of
clicking on it.
Sorry
--
http://mail.python.org/mailman/listinfo/python-list
The adobe people have online conversion
http://www.adobe.com/products/acrobat/access_onlinetools.html
google seems to convert them when they end up in the engines
http://www.google.com/search?hl=en&q=pdf+to+html
has a list of converters
http://www.dexrow.com
[EMAIL PROTECTED] wrote:
&g
Paddy wrote:
> [EMAIL PROTECTED] wrote:
>
> > While studying the SICP video lectures I have to twist my mind some to
> > completely understand the lessons. I implement the programs shown there
> > in both Python and Scheme, and I find the Python implementations
> >
I'm running Python 2.5 on Windows XP. When I try to do this:
[code]
import select
select.select([], [], [])
[/code]
I get this:
[output]
Traceback (most recent call last):
File "C:/Documents and Settings/Grebekel/Desktop/s.py", line 2, in
select.select([],[],[])
error: (10022, 'An invalid
I'm using it for sockets, it works on linux but not on Windows. The
actual code is something like (server side):
r, w, e = select.select(self.clients, [], self.clients, 5)
where self.clients is a list of accepted sockets.
--
http://mail.python.org/mailman/listinfo/python-list
I patched the code to:
if self.clients:
r, w, e = select.select(self.clients, [], self.clients, 5)
It works now, thank you Thomas :)
--
http://mail.python.org/mailman/listinfo/python-list
http://www.tiobe.com/index.htm?tiobe_index
Python is the 7th most commonly used language, up from 8th.
The only one gaining ground besides VB in the top 10.
We're glad, our app is written in python.
It's free at http://pnk.com and it is a web timesheet for project
accounting
--
http://mail.pyth
Yes, it's true that you can't resell copies of The Python Papers for
personal profits, but you may derive from it, reproduce and propagate
it. You're quite right to point it out.
Licenses are too complicated. I don't believe a license exists which
meets the demands of all clients, however should I
[EMAIL PROTECTED] wrote:
> The adobe people have online conversion
>
> http://www.adobe.com/products/acrobat/access_onlinetools.html
>
> google seems to convert them when they end up in the engines
>
> http://www.google.com/search?hl=en&q=pdf+to+html
>
> ha
PROTECTED], indicating an acceptance of this
agreement.
Cheers,
-T
(Editor-In-Chief)
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
>
> > Yes, it's true that you can't resell copies of The Python Papers for
> > personal profits, but you may derive from it, reproduce and
> > propagate it. You're quite
> I thought I just had. In what way does the statement "Yes, it's true
> that you can't resell copies of The Python Papers for personal profits,
> but you may derive from it, reproduce and propagate it" not provide
> such a revision and clarification? Seriously, let me know what exact
> statement
robert wrote:
> I want to get the files and sizes and times etc. stats of a dir fast.
> os.listdir & iterating with os.stat seems not to run at optimal speed for
> network folders. Is there a faster possibility? (both for Win & *nix ; best
> platform independent)
>
>
> Robert
An alternative is
hat this
middleware is not a replacement for properly validating
input and quoting output.
This class can be downloaded from:
http://www.westpoint.ltd.uk/dist/wsgisecurity.zip
Author: Richard Moore, [EMAIL PROTECTED]
Copyright: (c) 2006 Westpoint Ltd
License: Released under the Python License
Version: 1.0
hi,
how can I install and start using CVXOPT. I have python 2.5 version
installed. what else do i need to download and install for CVXOPT.
thanks
amit
--
http://mail.python.org/mailman/listinfo/python-list
Hi list,
At the moment at work I have to maintain one Excel spreadsheet that has
plenty of VBA code that performs validation of the data the user
inserts, it must conform to certain business rules.
I would like to replace the VBA code for one InPoc COM server DLL made
in python.
I read the Python P
Commons slogan "some rights
reserved" in future communications, to the extent possible under human
fallibility :)
Those who have made comments here might wish to submit them for
publication if they would like them to be heard by The Python Papers
general readership. This may be done by ema
On Nov 24, 7:57 am, "Andre Meyer" <[EMAIL PROTECTED]> wrote:
>
> os.walk() is a nice generator for performing actions on all files in a
> directory and subdirectories. However, how can one use os.walk() for walking
> through two hierarchies at once? I want to synch
Alan J. Salmoni wrote:
> I heartily agree. pdf format has never been much of a problem for me.
> Now that you have an ISSN, has it been submitted to Google Scholar or
> other academic indexes?
>
> http://scholar.google.com/intl/en/scholar/about.html for Google Scholar
> http://citeseer.ist.psu.edu
Vincent Delporte wrote:
> Hi
>
> I'm a Python newbie, and would like to rewrite this Perl scrip
> to be run with the Asterisk PBX:
>
> http://www.voip-info.org/wiki/view/Asterisk+NetCID
>
> Anyone knows if those lines are necessary, why, and what their
> alternative is in Python?
> open STDO
I have a list of numbers and I want to build another list with every
second element multiplied by -1.
input = [1,2,3,4,5,6]
wanted = [1,-2,3,-4,5,-6]
I can implement it like this:
input = range(3,12)
wanted = []
for (i,v) in enumerate(input):
if i%2 == 0:
wanted.append(v)
else:
Wow, I was in fact searching for this syntax in the python tutorial. It
is missing there.
Is there a reference page which documents all possible list
comprehensions.
--
Suresh
Leo Kislov wrote:
> [EMAIL PROTECTED] wrote:
> > I have a list of numbers and I want to build another list w
[EMAIL PROTECTED] schrieb:
> Does anyone know of a way to read text labels from a Win32 application.
> I am familiar with using pywin32 and the SendMessage function to
> capture text from Buttons,text boxex, comboboxes, etc, however, the
> text I am would like to capture doesn'
Jeremy Moles wrote:
> I'm not sure if this is really the right place to ask this question, but
> since the implementation is in Python, I figured I'd give it a shot.
>
> I want to "wrap" a shell process using popen inside of python program
> rather than creating a new shell process for each line I
You would use try: and then on the next line except: I am not sure
what the best answer is but you could write your errors to a file and
then load them if all else fails.
https://sourceforge.net/projects/dex-tracker
Wolfram wrote:
> I have a problem with displaying errors in an embedded situat
Fredrik Lundh wrote:
> robert wrote:
>
> > I'm looking for a function which extracts a table of contents
> > of HTML file(s) from ...
> > and possibly auto-creates the ancors.
> > Maybe something already exists?
>
> that's the kind of stuff you'll write in approximately two minutes using
> Beaut
bullockbefriending bard wrote:
> (I apologise in advance for posting something slightly OT, but plead in
> mitigation that I'm trying to re-write an old, suboptimal VB6 (erk)
> brute-force attack in a shiny, elegant, pythonic manner. I would really
> appreciate some ideas about an appropriate algo
It seems straightforward:
1 / X / X ...
and
4 / X / X ...
becomes 1 + 4 / X / X
If there were a 6 / X / X it would become 1 + 4 + 6 / X / X
I think this means that all possible combinations for any particular
amount may be grouped together in a single ticket.
Cheers,
-T
--
http://mail.python
urls = [("/tmp/validate1.html", "http://www.theage.com.au";)]
for url, outputfile in urls:
commandString = 'wget -o %s http://validator.w3.org/check?uri=%s' %
(outputfile, url)
system.exec(commandString)
is one easy way.
yaru22 wrote:
> I'd like to create a program that validates bunch of
Leandro Ardissone wrote:
> Hi,
>
> I want to know what type is a variable.
> For example, I get the contents of an xml but some content is a list or
> a string, and I need to know what type it is.
You should try to treat it as a list, catch the exceptions raise when
it is a string (problably Valu
Norbert wrote:
> Hello all,
> i try to install ZSI under python 2.5 and windows 2000.
> I Downloaded the egg and tried the following
>
> c:\Python25\Scripts>easy_install.exe c:\download\ZSI-2.0_rc3-py2.5.egg
>
> The result is that pythonwin pops up and shows the file :
> c:\Python25\Scripts\easy_i
> Why? It doesn't seem intuitive to me. To me, it makes it harder, not
> easier, to work with slices than if indexing started at 1 and the
> above expression got you the 2nd throught the 5th character.
Zero-based indices and excluding last index often works nicer, it is
not the rule, but all m
Gheorghe Postelnicu wrote:
> Hi,
>
> I have a situation of the following type:
>
> for line in lineList:
> for item in line.split()
> myArray[counter, itemCounter]
> itemCounter = itemCounter + 1
> counter = counter +1
>
> Is there a way to get rid of the manual incrementat
Concerning #2, Microsoft has released a tool for XSD Inference. It
can't generate the exact XSD file, but it can guess what it was...
http://download.microsoft.com/download/8/0/f/80fca9f1-292e-4b50-b512-ccf004d4b58e/xsdinference.exe
Paddy wrote:
> (That is bloom as in http://www.wmhelp.com/xmlpad
How do you know which ones to use? Your best bet is to write a handler
for the TypeError and give a meaningful error message.
Fredrik Tolf wrote:
> I've been trying to get the string formatting operator (%) to work with
> more arguments than the format string requires, but I can find no way to
> d
Hi,
I am trying to send keystrokes to the NES emulator nester[1]. The idea
was to be able to use a standard NES controller whose "state" I can
read in using Python and then conveying that to the emulator.
Unfortunately, all the attempts I have made so far have failed. It
looks like the emulator is
John Machin wrote:
> Thomas Ploch wrote:
> > Is it defined behaviour that all files get implicitly closed when not
> > assigning them?
> >
> > Like:
> >
> > def writeFile(fName, foo):
> > open(fName, 'w').write(process(foo))
> >
> > compared to:
> >
> >
> > def writeFile(fName, foo):
> > f
>
> > I've been asking all over the place, namely different forums. I even
> > e-mailed [EMAIL PROTECTED] about my problem, but they couldn't assist me too
> > much.
> >
> > My problem is..the GUI for versions 2.3, 2.4, and 2.5 of Python run very
> >
Hello,
currently i am developing a very small cms using python and cheetah.
very early i have noticed that i was lacking the method to
extract/recover the contents (html,text) from the html that is
generated by cheetah and delivered to the site viewer.
to explain it further: during the output pro
hg wrote:
> Thomas Ploch wrote:
> > Yes, thats true, but since eclipse is resource monster (it is still
> > using java), and some people (like me) don't have a super fresh and new
> > computer
>
> If you compare eclipse to VS, it is not that memory hungry
And if you compare Saturn to Jupiter, it's
Wesley Henwood wrote:
> So I declare a variable named A in thread1, in script1.py. I assign
> the value of 2.5 to A. I then run script2.py in thread2. Script2.py
> assigns the value of 5.5 to a variable named A. Now, when thread1
> resums execution, I see that A = 5.5, rather than 2.5 as I expe
Amir Michail wrote:
> [EMAIL PROTECTED] wrote:
> > ...
> >
> > Is there anything _useful_ that it'll bring that a good editor doesn't?
> > e.g. in vim I do get
> > * automatic syntax checking (if I type "if a=1:" and hit enter, it'
I am writing out zero byte files with this (using python 2.5). I have
no idea why I am having that problem, I am also looking for an example
of readlines where I can choose a number of lines say lines 12 to 14
and then write them back to disk. any help would be apreaceted.
import sys as sys2
i
://www.dexrow.com
[EMAIL PROTECTED] wrote:
> I found this nice dialog on the internet:
> =
>
> > Well, if you want to convice me, just answer these questions:
>
> If you can prove that the official explanation is correct, what's
> ke
John Machin wrote:
> [EMAIL PROTECTED] wrote:
> > I am writing out zero byte files with this (using python 2.5). I have
> > no idea why I am having that problem
>
> Which output file(s) do you mean, temp.orc or temp.sco or both?
> Two possible causes outlined below.
>
I never see anything from print(data). The example I tried to adapt
using readlines may be a little old or something. I did close all the
files to prevent problems when I figure out what is wrong with what I
have.
John Machin wrote:
> You say "I am sure the readlines code is crashing it." I ca
It is left over from the example I stold it from, I remove it and see
if that helps.
Dennis Lee Bieber wrote:
> On 1 Dec 2006 17:24:18 -0800, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
> > data = sys2.stdin.readli
I changed that and the writelines and I am very close now. thanks.
Dennis Lee Bieber wrote:
> On 1 Dec 2006 17:24:18 -0800, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
> > data = sys2.stdin.readlines()
>
>
When I was playing around with adventure games using oop (in c++)
I had all charecters defined as a type, no need to seperate non-player
charecters with user defined charecters. Makes it easier to create a
party of charecters or monsters. I left it up to the logic of the
program to define be
[EMAIL PROTECTED] schrieb:
> Hope someone can steer me in the right direction.
>
> I am trying to use python to collect the values from a Win32
> application's control.
> I can successfull query an retreive the values ListBox, Edit and
> Buttons, however, the application
Tkinter is lame, but it works everywhere and is what I keep coming back
to despite my many complaints about it.
If youre application can be fit into a web porgramming framework, that
may well be the best way to go. Your browser can probably render a
better gui than any of the other frameworks can.
John Machin wrote:
> James Stroud wrote:
> > Russ wrote:
> > > Every Python programmer gets this message occasionally:
> > >
> > > IndexError: list index out of range
> > >
> > > The message tells you where the error occurred, but it doesn't tell you
> > > what the range and the offending index ar
One hack could be to reload the module on each pass.
Cheers,
-T
[EMAIL PROTECTED] wrote:
> Hi,
>
> I am using matplotlib with python to generate a bunch of charts. My
> code works fine for a single iteration, which creates and saves 4
> different charts. The trouble is that wh
John Machin wrote:
> [EMAIL PROTECTED] wrote:
> > John Machin wrote:
> > > Add "Syntax Error: invalid syntax" to the list ...
> >
> > But at least if you're using IDLE, the point of syntax error
> > is highlighted.
> >
>
> Same wh
ODT is an XML format, so you can use any XML library, including the one
in the default python distribution. It might be zipped XML in which
case you will need to uncompress it first.
-T
John Machin wrote:
> On 4/12/2006 10:18 AM, Jonathan Hunt wrote:
> > Hi all,
> >
> > I have had a look on goog
In the following code, I could not find out why the set and get methods
are not called once I set the property.
>>> class Test:
... def __init__(self):
... self._color = 12
... def _setcolor(self,value):
... print 'setting'
... self._color = value
... def _getc
2001 - 2100 of 4908 matches
Mail list logo