Re: True of False

2007-09-27 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > I tried writing a true and false If statement and didn't get > anything? I read some previous posts, but I must be missing > something. I just tried something easy: > > a = ["a", "b", "c", "d", "e", "f"] > > if "c" in a == True: > Print "Yes" > > When I run t

Creating Table using Tkinter

2007-09-27 Thread Ankit
Hi guys i need to make a table to store a certain data using Tkinter..I have searched on the group but i have not been able to find a solution that would work for me..The thing is that i want my table to be scrollable both horizontally and vertically and i also want to transmit the data from the ta

Re: An Editor that Skips to the End of a Def

2007-09-27 Thread Bruno Desthuilliers
Neil Cerutti a écrit : (snip) > > Vim has Python integration if you want to control it with Python > scripts. Cool! Of course, Vim needs such a capability more than > Emacs, which has the very cool elisp scripting language. FWIW, emacs is programmable in Python too IIRC. -- http://mail.python.or

Re: ValueError: too many values to unpack,>>>

2007-09-27 Thread Shawn Minisall
Fredrik Lundh wrote: > Shawn Minisall wrote: > > >> Sorry, it looks like it's on the fourth line with the 3 values on line >> 4...its reading line 3 fine >> >> Traceback (most recent call last): >> File "", line 1, in >> main() >> File "I:\COMPUTER PROGRAMMING CLASS\PROJECT #1\project1

Re: Launching command on windows

2007-09-27 Thread kyosohma
On Sep 27, 10:46 am, Alexandre Badez <[EMAIL PROTECTED]> wrote: > On Sep 27, 4:20 pm, [EMAIL PROTECTED] wrote: > > > > > I got it to work using subprocess.Popen > > > Not sure why it doesn't work with os.system though. > > > Mike > > Thanks Mike and Mauro, > > Mauro, your solution do not seems to w

Re: getopt with negative numbers?

2007-09-27 Thread Nanjundi
On Sep 27, 1:34 pm, Peter Otten <[EMAIL PROTECTED]> wrote: ... > >>> args > > ['-123'] > > Without the "--" arg you will get an error: > > >>> parser.parse_args(["-123"]) > > Usage: [options] > > : error: no such option: -1 > $ > > Peter Passing -a-123 works >>> options, args = parser.parse_args(

How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread [EMAIL PROTECTED]
I have a pretty simple XMLRPCServer, something along the lines of the example: server = SimpleXMLRPCServer(("localhost", 8000)) server.register_function(pow) server.register_function(lambda x,y: x+y, 'add') server.serve_forever() Now what I want to do is catch any errors that happen on requests,

Re: Script to extract text from PDF files

2007-09-27 Thread Svenn Are Bjerkem
On Sep 26, 11:50 pm, [EMAIL PROTECTED] wrote: > On Sep 26, 4:49 pm, Svenn Are Bjerkem <[EMAIL PROTECTED]> > wrote: > > > I have downloaded this package and installed it and found that the > > text-extraction is more or less useless. Looking into the code and > > comparing with the PDF spec show a v

Re: How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > I have a pretty simple XMLRPCServer, something along the lines of the > example: > > server = SimpleXMLRPCServer(("localhost", 8000)) > server.register_function(pow) > server.register_function(lambda x,y: x+y, 'add') > server.serve_forever() > > Now what I want to do

Re: ValueError: too many values to unpack,>>>

2007-09-27 Thread Bruno Desthuilliers
Shawn Minisall a écrit : > Fredrik Lundh wrote: > >> Shawn Minisall wrote: >> >> >> >>> Sorry, it looks like it's on the fourth line with the 3 values on >>> line 4...its reading line 3 fine >>> >>> Traceback (most recent call last): >>> File "", line 1, in >>> main() >>> File "I:\COMP

Re: ValueError: too many values to unpack

2007-09-27 Thread George Sakkis
On Sep 27, 12:46 pm, Shawn Minisall <[EMAIL PROTECTED]> wrote: > I am trying to read a few lines of a file with multiple values, the rest > are single and are reading in fine. > > With the multiple value lines, python says this "ValueError: too many > values to unpack" > > I've googled it and it sa

Re: How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread Jeff McNeil
Instead of register_function, use register_instance and provide a _dispatch method in that instance that handles your exception logging. Pseudo: class MyCalls(object): def _dispatch(self, method, args): try: self.getattr(self, method)(*args) except: han

Re: ValueError: too many values to unpack,>>>

2007-09-27 Thread J. Clifford Dyer
On Thu, Sep 27, 2007 at 09:50:26PM +0200, Bruno Desthuilliers wrote regarding Re: ValueError: too many values to unpack,>>>: > > Shawn Minisall a ?crit : > > Fredrik Lundh wrote: > > > >> Shawn Minisall wrote: > >> > >> > >> > >>> Sorry, it looks like it's on the fourth line with the 3 values

Re: Cross-platform time out decorator

2007-09-27 Thread Hrvoje Niksic
Joel <[EMAIL PROTECTED]> writes: >> Note that, unlike the original alarm code, it doesn't really interrupt >> the timed-out method, it just returns the control back to the caller, >> using an exception to mark that a timeout occurred. The "timed out" >> code is still merrily running in the backgr

Re: How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread Jeff McNeil
getattr, not self.getattr. On 9/27/07, Jeff McNeil <[EMAIL PROTECTED]> wrote: > Instead of register_function, use register_instance and provide a > _dispatch method in that instance that handles your exception logging. > > Pseudo: > > class MyCalls(object): > def _dispatch(self, method, args):

Re: ValueError: too many values to unpack,>>>

2007-09-27 Thread Steve Holden
Shawn Minisall wrote: > Fredrik Lundh wrote: >> Shawn Minisall wrote: >> >> >>> Sorry, it looks like it's on the fourth line with the 3 values on line >>> 4...its reading line 3 fine >>> >>> Traceback (most recent call last): >>> File "", line 1, in >>> main() >>> File "I:\COMPUTER PRO

Re: Cross-platform time out decorator

2007-09-27 Thread Chris Mellon
On 9/27/07, Hrvoje Niksic <[EMAIL PROTECTED]> wrote: > Joel <[EMAIL PROTECTED]> writes: > > >> Note that, unlike the original alarm code, it doesn't really interrupt > >> the timed-out method, it just returns the control back to the caller, > >> using an exception to mark that a timeout occurred.

Re: How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread [EMAIL PROTECTED]
On Sep 27, 3:55 pm, "Jeff McNeil" <[EMAIL PROTECTED]> wrote: > Instead of register_function, use register_instance and provide a > _dispatch method in that instance that handles your exception logging. > > Pseudo: > > class MyCalls(object): > def _dispatch(self, method, args): > try: >

Re: How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread Jeff McNeil
Yeah, that code was out of memory and I didn't test it, my apologies. Need to actually return a value from _dispatch. class MyCalls(object): def _dispatch(self, method, args): try: return getattr(self, method)(*args) except: handle_logging() server = SimpleX

Re: Creating Table using Tkinter

2007-09-27 Thread Ron Provost
Ankit, Have you tried the HList (or one of the descendant widgets) in Tix? The Tix library includes quite a few additional widgets and it's part of the standard python distribution. Ron - Original Message - From: "Ankit" <[EMAIL PROTECTED]> Newsgroups: comp.lang.python To: Sent: Thur

RE: A question on python performance.

2007-09-27 Thread Joe Goldthwaite
[EMAIL PROTECTED] wrote: >Makes perfect sense to me! Think about it: > >method 1: looks up the method directly from the object (fastest) >method 2: looks up __class__, then looks up __dict__, then gets the >element from __dict__ >method 3: looks up caller, looks up __class__, looks up __dict__, ge

Re: Cross-platform time out decorator

2007-09-27 Thread Hrvoje Niksic
"Chris Mellon" <[EMAIL PROTECTED]> writes: > You can use ctypes and the Python API to raise a Python exception in > the thread. How, by changing the thread's exception state? -- http://mail.python.org/mailman/listinfo/python-list

Importing Module To Use Variables In A Second Module

2007-09-27 Thread rshepard
I'm stymied by what should be a simple Python task: accessing the value of a variable assigned in one module from within a second module. I wonder if someone here can help clarify my thinking. I've re-read Chapter 16 (Module Basics) in Lutz and Ascher's "Learning Python" but it's not working for

Re: getopt with negative numbers?

2007-09-27 Thread Casey
On Sep 27, 2:21 pm, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote: > If you can access the argument list manually, you could scan it for a > negative integer, > and then insert a '--' argument before that, if needed, before passing it to > getopt/optparse. > Then you wouldn't have to worry about i

Re: Importing Module To Use Variables In A Second Module

2007-09-27 Thread Steve Holden
[EMAIL PROTECTED] wrote: > I'm stymied by what should be a simple Python task: accessing the value of > a variable assigned in one module from within a second module. I wonder if > someone here can help clarify my thinking. I've re-read Chapter 16 (Module > Basics) in Lutz and Ascher's "Learning

Streaming files from python cgi

2007-09-27 Thread Salil Kulkarni
Hello, I am trying to create a cgi which downloads a pdf/tiff file from an ftpserver using ftplib. Everything works until this point. But, once the file has been retrieved, I want to be able to stream the file to the browser so that the user gets an option to save it, or open it with the necessary

developing an application

2007-09-27 Thread yadin
hi! i was buiding an application using python...a program this was my first one...now that i got it working perfectly how can i put the bunch of files into one package? the user of the appliation will not know where to start? that is which file to click on in oder to start the program? thanks a lot

Re: getopt with negative numbers?

2007-09-27 Thread Casey
On Sep 27, 2:21 pm, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote: > If you can access the argument list manually, you could scan it for a > negative integer, and then insert a '--' argument before that, > if needed, before passing it to getopt/optparse. Then you wouldn't have to > worry about it

Re: making run time changes..

2007-09-27 Thread Gabriel Genellina
En Thu, 27 Sep 2007 13:52:39 -0300, Piyush Jain <[EMAIL PROTECTED]> escribi�: >> I am new(almost) to python. I wish to making a server in which I can >> make changes at run time. For example , add a method to a >> class/attribute to object etc. by sending it messages. To add a new attribute wit

Re: getopt with negative numbers?

2007-09-27 Thread Steven Bethard
Casey wrote: > Is there an easy way to use getopt and still allow negative numbers as > args? [snip] > Alternatively, does optparse handle this? Peter Otten wrote: > optparse can handle options with a negative int value; "--" can be used to > signal that no more options will follow: > import

Python 3.0 migration plans?

2007-09-27 Thread Steve Holden
I wondered if a straw poll could get some idea of readers' thoughts about when they will be migrating to 3.0 on, so I used the new widget on Blogger to add a poll for that. I'd appreciate if if you would go to http://holdenweb.blogspot.com/ and register your vote on your intended migration

Re: How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread Jeff McNeil
Cool.. glad it works. Just be careful not to expose methods you may not want to; use decorators, attributes, or perhaps a custom method naming scheme to flag methods as exposed if you do it this way. On 9/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Sep 27, 5:08 pm, "Jeff McNeil" <[

Re: Python 3.0 migration plans?

2007-09-27 Thread James Stroud
Steve Holden wrote: > I wondered if a straw poll could get some idea of readers' thoughts > about when they will be migrating to 3.0 on, so I used the new widget on > Blogger to add a poll for that. > > I'd appreciate if if you would go to > > http://holdenweb.blogspot.com/ > > and register

Re: Creating Table using Tkinter

2007-09-27 Thread Zentrader
Two existing solutions are TableList + TableListWrapper (Google for it), and MultiListBox http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52266 In both cases you send the program the titles and data and the program takes care of all of the details. BTW, you can attach a scrollbar to any

Re: Python 3.0 migration plans?

2007-09-27 Thread Richard Jones
Steve Holden wrote: > I wondered if a straw poll could get some idea of readers' thoughts > about when they will be migrating to 3.0 on, so I used the new widget on > Blogger to add a poll for that. > > I'd appreciate if if you would go to > >http://holdenweb.blogspot.com/ > > and register y

Re: Python 3.0 migration plans?

2007-09-27 Thread Paul Rubin
Steve Holden <[EMAIL PROTECTED]> writes: > So what we need is a poll on what the questions should be. I *love* c.l.py. One of the offered answers to the current question should be "never". That is, I'm hoping to skip 3.0 and switch directly to PyPy. -- http://mail.python.org/mailman/listinfo/pyth

Re: getopt with negative numbers?

2007-09-27 Thread Casey
On Sep 27, 7:57 pm, Neal Becker <[EMAIL PROTECTED]> wrote: > One person's "brilliant" is another's "kludge". Well, it is a hack and certainly not as clean as having getopt or optparse handle this natively (which I believe they should). But I think it is a simple and clever hack and still allows ge

Re: Python 3.0 migration plans?

2007-09-27 Thread TheFlyingDutchman
It seems that Python 3 is more significant for what it removes than what it adds. What are the additions that people find the most compelling? -- http://mail.python.org/mailman/listinfo/python-list

Numeric command-line options vs. negative-number arguments (was: getopt with negative numbers?)

2007-09-27 Thread Ben Finney
Steven Bethard <[EMAIL PROTECTED]> writes: > In most cases, argparse (http://argparse.python-hosting.com/) > supports negative numbers right out of the box, with no need to use > '--': > > >>> import argparse > >>> parser = argparse.ArgumentParser() > >>> parser.add_argument('-a', typ

Re: ValueError: too many values to unpack

2007-09-27 Thread Pablo Ziliani
Zentrader wrote: > On Sep 27, 9:46 am, Shawn Minisall <[EMAIL PROTECTED]> wrote: > >> line 3 - 19.1829.1578.75212.10 >> line 4 - 10020410.29 >> And this is the code I'm using: >> >>#read withdrawls from file on line3 >>line = infile.readline() >> #split withdrawl

Re: Python 3.0 migration plans?

2007-09-27 Thread Steve Holden
James Stroud wrote: > Steve Holden wrote: >> I wondered if a straw poll could get some idea of readers' thoughts >> about when they will be migrating to 3.0 on, so I used the new widget on >> Blogger to add a poll for that. >> >> I'd appreciate if if you would go to >> >> http://holdenweb.blogs

Re: ValueError: too many values to unpack

2007-09-27 Thread Zentrader
On Sep 27, 9:46 am, Shawn Minisall <[EMAIL PROTECTED]> wrote: > I am trying to read a few lines of a file with multiple values, the rest > are single and are reading in fine. > > With the multiple value lines, python says this "ValueError: too many > values to unpack" > > I've googled it and it say

Re: Python 3.0 migration plans?

2007-09-27 Thread Aahz
In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: > >I wondered if a straw poll could get some idea of readers' thoughts >about when they will be migrating to 3.0 on, so I used the new widget on >Blogger to add a poll for that. > >I'd appreciate if if you would go to > >

Re: Importing Module To Use Variables In A Second Module

2007-09-27 Thread rshepard
On 2007-09-27, Steve Holden <[EMAIL PROTECTED]> wrote: > Self-evidently you are *not* creating the variables you think you are in > the variablePage module. Have you tried an interactive test? Try this at > the interpreter prompt: > > >>> import variablePage > >>> dir(variablePage) > > and you wil

Re: mod_python preprocess/filter before proxy

2007-09-27 Thread Graham Dumpleton
Yes, use PythonInputFilter directive to specify an input filter. http://www.modpython.org/live/current/doc-html/dir-filter-if.html Input filters which modify the length of the data may be an issue though when doing proxying however. If you cant work it out, possibly more appropriate to take yo

Re: getopt with negative numbers?

2007-09-27 Thread Neal Becker
Casey wrote: > On Sep 27, 2:21 pm, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote: >> If you can access the argument list manually, you could scan it for a >> negative integer, and then insert a '--' argument before that, >> if needed, before passing it to getopt/optparse. Then you wouldn't have >>

Re: How to Catch Errors in SimpleXMLRPCServer

2007-09-27 Thread [EMAIL PROTECTED]
On Sep 27, 5:08 pm, "Jeff McNeil" <[EMAIL PROTECTED]> wrote: > Yeah, that code was out of memory and I didn't test it, my apologies. > Need to actually return a value from _dispatch. > > class MyCalls(object): >def _dispatch(self, method, args): >try: >return getattr(self, m

Re: Importing Module To Use Variables In A Second Module

2007-09-27 Thread Steve Holden
[EMAIL PROTECTED] wrote: > On 2007-09-27, Steve Holden <[EMAIL PROTECTED]> wrote: > >> Self-evidently you are *not* creating the variables you think you are in >> the variablePage module. Have you tried an interactive test? Try this at >> the interpreter prompt: >> > import variablePage >

Re: developing an application

2007-09-27 Thread timaranz
On Sep 28, 10:06 am, yadin <[EMAIL PROTECTED]> wrote: > hi! > i was buiding an application using python...a program > this was my first one...now that i got it working perfectly > how can i put the bunch of files into one package? > the user of the appliation will not know where to start? that is w

cute use of lambda

2007-09-27 Thread Simon Forman
class FakeQueue(list): put = list.append get = lambda self: self.pop(0) ;] -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 migration plans?

2007-09-27 Thread TheFlyingDutchman
> > - Abstract Base Classes > http://www.python.org/dev/peps/pep-3119/> > I like how someone here characterized decorators - those silly @ things. They remind me of Perl. Not adding keywords for abstract and static is like Perl not adding a keyword for class. But I know all such additions a

Re: Traveling Europe

2007-09-27 Thread Eric Sosman
[EMAIL PROTECTED] wrote: > World's most popular traveling destinations > > http://... "Nobody goes there any more; it's too crowded." -- LPB -- Eric Sosman [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 migration plans?

2007-09-27 Thread Ben Finney
TheFlyingDutchman <[EMAIL PROTECTED]> writes: > It seems that Python 3 is more significant for what it removes than > what it adds. That's certainly the focus of an explicitly backward-incompatible upgrade, yes. > What are the additions that people find the most compelling? Most of the addition

Re: developing an application

2007-09-27 Thread Benjamin
On Sep 27, 5:06 pm, yadin <[EMAIL PROTECTED]> wrote: > hi! > i was buiding an application using python...a program > this was my first one...now that i got it working perfectly > how can i put the bunch of files into one package? > the user of the appliation will not know where to start? that is wh

Re: getopt with negative numbers?

2007-09-27 Thread Ben Finney
Casey <[EMAIL PROTECTED]> writes: > Well, it is a hack and certainly not as clean as having getopt or > optparse handle this natively (which I believe they should). I believe they shouldn't because the established interface is that a hyphen always introduced an option unless (for those programs t

Re: cute use of lambda

2007-09-27 Thread Paul Rubin
Simon Forman <[EMAIL PROTECTED]> writes: > class FakeQueue(list): > put = list.append > get = lambda self: self.pop(0) from collections import deque class FakeQueue(deque): put = deque.append get = deque.popleft -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 migration plans?

2007-09-27 Thread Steve Holden
Paul Rubin wrote: > Steve Holden <[EMAIL PROTECTED]> writes: >> So what we need is a poll on what the questions should be. I *love* c.l.py. > > One of the offered answers to the current question should be "never". > That is, I'm hoping to skip 3.0 and switch directly to PyPy. Well, "No current pl

Re: Python 3.0 migration plans?

2007-09-27 Thread Eduardo O. Padoan
On 9/27/07, TheFlyingDutchman <[EMAIL PROTECTED]> wrote: > It seems that Python 3 is more significant for what it removes than > what it adds. > > What are the additions that people find the most compelling? - dict.items(), .values() and .keys() returns "dict views", and the .iter*() removal h

Re: Asynchronous Messaging

2007-09-27 Thread wink
> > That't not the reason. A Queue is built around a container, and it happens > to be a deque in the default implementation. But the important thing is > that a Queue is a synchronized object - it performs the necesary > synchronization to ensure proper operation even from multiple threads > attem

Re: Guitars for 0$ !!!!!

2007-09-27 Thread hg
[EMAIL PROTECTED] wrote: > http://free-guitars.blogspot.com/ And the chicks for free ! -- http://mail.python.org/mailman/listinfo/python-list

Re: Emailing the attachment created with the Quick Screenshots Script (Python + PIL)

2007-09-27 Thread Gabriel Genellina
En Thu, 27 Sep 2007 10:37:05 -0300, Mark Bratcher <[EMAIL PROTECTED]> escribi�: > The Quick Screenshots Script (Python + PIL) is a "dream come true", and > yet > so simple to use reliably. Does anyone have a suggestion or know how to > include in the script, the ability to email the attachmen

Re: comparing elements of a list with a string

2007-09-27 Thread Gabriel Genellina
En Thu, 27 Sep 2007 07:44:08 -0300, Shriphani <[EMAIL PROTECTED]> escribi�: > def listAllbackups(filename): > list_of_backups = glob(home+'/Desktop/backupdir/*%s*'%filename) > for element in list_of_back: > if element.find(file) != -1: > date_compo

Re: GUI for viewing/editing python data structures?

2007-09-27 Thread Paddy
On Sep 26, 11:23 pm, "Joshua J. Kugler" <[EMAIL PROTECTED]> wrote: > A while back, I seem to remember coming across a small program that could > view and edit python data structures via a nice expanding tree view. I'm > now in need of something like that (to verify data is imported correctly > int

Re: Numeric command-line options vs. negative-number arguments

2007-09-27 Thread Steven Bethard
Ben Finney wrote: > Steven Bethard <[EMAIL PROTECTED]> writes: > >> In most cases, argparse (http://argparse.python-hosting.com/) >> supports negative numbers right out of the box, with no need to use >> '--': >> >> >>> import argparse >> >>> parser = argparse.ArgumentParser() >> >>> p

ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS4_Decode

2007-09-27 Thread Amal
When I am compiling some code, I am getting the following the above mentioned error. So how can i go about solving this issue. Should I recompile python using -enable-unicode=UCS4 option. Is there no other way to solve this issue. Amal. -- http://mail.python.org/mailman/listinfo/python-list

Re: Asynchronous Messaging

2007-09-27 Thread Gabriel Genellina
En Fri, 28 Sep 2007 00:52:57 -0300, wink <[EMAIL PROTECTED]> escribi�: > Interesting, from the documentation for deque says; > "Deques support thread-safe, ..." which would seem to > imply a mutex of some sort would be used. But in > looking at collectionsmodule.c for 2.5.1 I don't see > any mutex

ANNOUNCE: wxPython 2.8.6.0

2007-09-27 Thread Robin Dunn
Announcing -- The 2.8.6.0 release of wxPython is now available for download at http://wxpython.org/download.php. This release is mostly about fixing a number of bugs and inconsistencies in wxWidgets and wxPython. Source code is available, as well as binaries for Python 2.3, 2.4 and 2.5,

Re: Python 3.0 migration plans?

2007-09-27 Thread John Nagle
TheFlyingDutchman wrote: > It seems that Python 3 is more significant for what it removes than > what it adds. > > What are the additions that people find the most compelling? I'd rather see Python 2.5 finished, so it just works. All the major third-party libraries working and available with

Python and SSL

2007-09-27 Thread Johny
I need to use Python with SSL comunication betweeen servers. (I use hhtplib but I think urllib2 can also be used ) I think I need to use SSL root certificate and tell a program to trust this certificate. But how can I tell my Python program to trust my SSL certificate? When I tried before I rece

marshal bug?

2007-09-27 Thread Anurag
I have been chasing a problem in my code since hours and it bolis down to this import marshal marshal.dumps(str(123)) != marshal.dumps(str("123")) Can someone please tell me why? when str(123) == str("123") or are they different? it also means that if s = str(123) marshal.dumps(s) != marshal.dum

Re: GUI for viewing/editing python data structures?

2007-09-27 Thread David
On 9/27/07, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > A while back, I seem to remember coming across a small program that could > view and edit python data structures via a nice expanding tree view. I'm > now in need of something like that (to verify data is imported correctly > into a shelve

<    1   2