Paul Rubin wrote:
> "Fuzzyman" <[EMAIL PROTECTED]> writes:
> > The sourceforge bug tracker *is* the single right place to post
such
> > issues. The py-dev mailing list would be a second *useful* place to
> > post such a comment, although not really the righ
The following two passages from the python documentation *appear* to
contradict each other. Equally possible (or more likely !) is that I
misunderstand it :
eval :
This function can also be used to execute arbitrary code objects (such
as those created by compile()). In this case pass a code object
Pierre Barbier de Reuille wrote:
> Fuzzyman a écrit :
> > The following two passages from the python documentation *appear*
to
> > contradict each other. Equally possible (or more likely !) is that
I
> > misunderstand it :
> >
> > eval :
> > This functio
Not that funny ! ;-)
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
What does the error log report ?
It is *possible* that you are getting an error 500 because your are
not emitting valid headers.
Try this instead :
#!/usr/bin/python
print 'Content-Type: text/plain\r'
print '\r'
import os
print os.getcwd()
Regards,
Fuzzy
http://www.voidspace.org.uk/python/in
Can your dictionaries contain dictionaries ?
If not you can read the file and cut at the first '}' and the last '{'.
The two chunks will then be a single dictionary which can be eval'd.
*However* your example above does not show ',' between all of the
pairs... but only some. This will bugger you
Steve Holden wrote:
> Fuzzyman wrote:
>
> > The following two passages from the python documentation *appear*
to
> > contradict each other. Equally possible (or more likely !) is that
I
> > misunderstand it :
> >
> > eval :
> > This function can also
Pierre Barbier de Reuille wrote:
> Fuzzyman a écrit :
> >
> >
> > Yes.. but that would mean that eval could only run code objects
that
> > "consist[s] of a single expression".. which I doubt is the reality
or
> > the intention.
> >
> > Regar
What about the syntax ? Will it have commas in the right place ?
(never, always, or sometimes ? - sometimes is much worse than never or
always).
*damn* - problem is that '{' might appear as one of the values
*So*... read the file in as a list of lines and strip each line.
Dictionaries will alw
Doesn't work if '{' or '}' can appear in the values.
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
If you use IPython for your interactive mode stuff, you'll have a nice
history...
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
That's neater than my suggestion.
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
rd=value), but
is very easy to use. http://www.voidspace.org.uk/python/configobj.html
Regards,
Fuzzyman
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
Are you really using the readline module from newcenturycomputers ?
I've got a feeling that's broken and you need to use the Gary Bishop
one with IPython
Sorry if this is spurious... (restricted internet access, so I can't
check for you... but the correct one is linked to from the IPython
site
[EMAIL PROTECTED] wrote:
[snip..]
> results. Now, I was thinking today, I'd really like to create a program that
> can go to a specific directory and upload all the files in the directory to a
> specific url for backup purposes, and I have the feeling that the python
> implementation would be ruthl
Hmmm... the page is a *bit* out of date (which is to be expected I
suppose).
There is a port of Python 2.3 for Pocket PC.
I think pippy is pretty dead and wasn't that useable. On this newsgroup
not long ago someone announced they were working on a new PalmOS port.
To the best of my knowledge jyt
The behaviour with the browser is what is known as a 'session cookie'
-the site sets it when you login and the browser keeps it until you end
the session by closing the browser.
You handle the cookie using ClientCookie (Python 2.3) or cookielib
(Python 2.4). You need to create a cookiejar instance
Answer to 2 - ``hasattr(module, name)``
--
http://mail.python.org/mailman/listinfo/python-list
You can assign to a slice in place, but referencing a slice creates a
copy.
I think you understand it quite well :-)
a = ll[2:]
a.sort()
ll[2:] = a
To do a partial sort, in place, you'll have to subclass list - but
you'll still end up doing something similar unless you delve into C or
write your
> If so please guid me a bit here.
I aaume you mean 'guido' here ?
;-)
Anyway - you probably want to be using urllib2 as the other poster
points out.
Regards,
Fuzzy
--
http://mail.python.org/mailman/listinfo/python-list
Hello all (well, some of you I guess),
Is it true that you can't configure a proxy handler for urllib2 to
fetch https URLs through a proxy ?
I know that you pass a dictionary, keyed by protocol, to the proxy
handler - but when we get an exception when we fetch an https URL.
Fetching the same URL
anyone explain any tangible benefit of inheriting from
object, when not explicitly using any features of new style classes ?
Thanks :-)
Fuzzyman
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
So theres no actual advantage that you know of ;-)
Surely when they are removed :
class foo:
pass
won't become invalid syntax, it will just automatically inherit from
object ?
That's what I assumed, anyway
Regards,
Fuzz
http://www.voidspace.org.uk/python
--
http://mail.python.org/ma
The reason I ask is that I often (well... a couple of times anyway) see
cryptic omments like :
and if you inherit from object you get all the benefits of new
style classes
Now I know about the advantages of inheriting from the built in types
(if that's what you want to do) -but am a bit fuzzi
[EMAIL PROTECTED] wrote:
> Hi !
>
> I want to get the WMI infos from Windows machines.
> I use Py from HU (iso-8859-2) charset.
>
> Then I wrote some utility for it, because I want to write it to an XML file.
>
> def ToHU(s,NoneStr='-'):
> if s==None: s=NoneStr
> if not (type(s) in [type(
At some point you have to convert - esp. when writing data out to file.
If you receive data as a byte string and have to store it as a byte
string, it is sometimes convenient to *not* convert in the middle.
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman
So Lisp is for really good programmers, and Python is for mediocre
programmers ?
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Simon Brunning wrote:
[snip..]
>
> The online Python Journal is posted at pythonjournal.cognizor.com.
> [EMAIL PROTECTED] and [EMAIL PROTECTED]
> welcome submission of material that helps people's understanding
> of Python use, and offer Web presentation of your work.
>
Does the 'p
Wax has a brilliant prebuilt dialog/handler. It's a wrapper over
wxPython - so you still use wxPython objects, it's jsut all a lot
easier.
http://zephyrfalcon.org/labs
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
A book that will stay useful as a referene *after* you've used it to
learn is 'Programming Python'.
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Fair enough ;-)
I'd like to discover the power of Lisp, but I have a limited amount of
time to sink into programming... so maybe I'm better off putting my
energies and imagination into Python.
*A language is a medium of expression.* - Paul Graham
All the best.
Fuzzy
http://www.voidspace.org.uk/
Do you have an exception handling dialog ?
Can you use the UI layer without being tied to the rest of the
framework ? They seemed pretty integrated to me.
Best Regards,
Fuzzy
http://www.voidspace.org.uk/pythonhave an
--
http://mail.python.org/mailman/listinfo/python-list
Ed Leafe wrote:
> On Jul 7, 2005, at 7:27 AM, Fuzzyman wrote:
>
> > Do you have an exception handling dialog ?
>
> Not per se, as there hasn't been a request for one; we have several
> dialogs ranging from simple messages to alerts to interactive dialogs,
>
Hello John,
John Abel wrote:
> harold fellermann wrote:
>
> >Hi,
> >
> >
> >
> >>I have a list of variables, which I am iterating over. I need to set
> >>the value of each variable. My code looks like:
> >>
> >>varList = [ varOne, varTwo, varThree, varFour ]
> >>
> >>for indivVar in varList:
> >
Sounds like the sort of project that could work as a plugin to
chandler.
There's a Python interface to TWAIN (the scanner protocol) - but I'm
not *aware* of anything built on top of it. google may have a better
idea though.
Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.pytho
You either need to set a marker flag with multiple breaks - *or*
(probably more pythonic) wrap it in a try..except and raise an
exception. Define your own exception class and just trap for that if
you want to avoid catching other exceptions.
There is no single command to break out of multiple loop
Peter Otten wrote:
> Shankar Iyer ([EMAIL PROTECTED]) wrote:
>
[snip..]
>
> Change your source code from
>
> # wrong
> button = Tkinter.Button(..., command=some_function(),...)
>
> to
>
> # correct
> button = Tkinter.Button(..., command=some_function,...)
>
> to pass the *function* to the widget
here it used to live seems to have expired.
>
> Does anybody know where I can get hold of this? (or even send a tgz to
> me)
PyEnchant is maintained and easy to use jsut anotehr suggestion.
Regards,
Fuzzyman
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Pippy looks pretty dead. Wasn't someone else working on a Palm port ?
Best Regards,
Fuzzyman
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Hmmm.. I've *never* hada problem with SPE crashing.. at least not under
Windoze...
Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Hello Prabahar,
It entirely depends on the mechanism you are using to receive the file
(there is no generic solution).
Is it within a CGI ? The normal way would be to check the file sized
and discard if it's too big. You'll have to do it within your code -
but it's probably a one line check !
Be
Mike Meyer wrote:
> Mathias Waack <[EMAIL PROTECTED]> writes:
>
> > Hi,
> >
> > I need to access some information from a web site which are only accessible
> > through a form. Thus for each bucket of data you have to fill out the form,
> > submit it and wait for an answer. Very easy - if you don'
TPJ wrote:
> GUI's etc: PyGtk on Windows
> "(...) So if someone develops mainly for X and just wants to make sure
> that it is not impossible to run on Windows, you can use PyGTK. (...)",
> July 2nd, 1999
>
> pyGTK on Windows
> "(...)
> > can i use pyGTK under
> > Windows???
>
> It's probably doa
Grant Edwards wrote:
[snip..]
> Personally, I don't really like the idea that falling off the
> botton of a function implicitly returns None. It's just not
> explicit enough for me. My preference would be that if the
> function didn't execute a "return" statement, then it didn't
> return anyting
There is a Python 2.2 compatible version. Part of the Pythonweb modules
(google for it). It has *most* of the functionality. There is also the
Dateutil module (although I don't know which version of Python that
requires).
There is also my own (now outdated) dateutils module that *might* help
with
[EMAIL PROTECTED] wrote:
> I have a simple cgi-script on a server that prints all key-value pairs
> from a request. And it really works when i use a browser and type smth
> like http://server/cgi-bin/test?name=mike&johny=dummy. But when I use
> the following script, nothing is printed (like i typ
praba kar wrote:
> Dear All,
> I have doubt in python cgi script. I describe
> that doubt with below code
> import cgi
> form = cgi.FieldStorage()
> passwd = form['passwd'].value
> print passwd
> But Now I want to assign some value to form['passwd']
> field value
> form['passwd'] = 'surese'
>
praba kar wrote:
> --- Fuzzyman <[EMAIL PROTECTED]> wrote:
>
> >
> > praba kar wrote:
> > > Dear All,
> > > I have doubt in python cgi script. I describe
> > > that doubt with below code
> > > import cgi
> > > form = cgi.
Some people are of the opinion that threads are evil.
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
attically then the module
ClientForm is useful (allegedly).
Best Regards,
Fuzzyman
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Torsten Bronger wrote:
> Hallöchen!
>
> Peter Decker <[EMAIL PROTECTED]> writes:
>
> > On 7/30/05, Torsten Bronger <[EMAIL PROTECTED]> wrote:
> >
> >> I've been having a closer look at wxPython which is not Pythonic
> >> at all and bad documented. Probably I'll use it nevertheless.
> >> PyGTK and
This seems to scratch several people's itches.
Care to develop/maintain it ?
Regards,
Fuzzball
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Bengt Richter wrote:
> On 1 Aug 2005 06:50:23 -0700, "Fuzzyman" <[EMAIL PROTECTED]> wrote:
>
> >This seems to scratch several people's itches.
> >
> >Care to develop/maintain it ?
> >
> Are you talking to me? ;-)
>
> (My news server is
James Stroud wrote:
> Hello All,
>
> I want to use python to download files from sites where authentication is
> required. The page appears to send a form with the login and pass by post. I
> would like to log in and keep this session open within python and
> download a number of files automatical
john wrote:
> I'm trying to access the XML version of my Tivo now playing list with
> python. It uses auth digest HTTP authentication. I could really use
> some help!
>
> I'm able to get this page using curl:
> curl --dump-header tivoHeaders --insecure --anyauth --user tivo:808
> "https://192.
It has no __iter__ method either. I guess 'next' is just a historical
accident.
Should be easy enough to wrap it in your own class though and resolve
this ?
Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
I'm sure Martin's comment is basically correct. *However* - you could
take your proposal forward by developing a set of tools (e.g.
documentation tools) that use your proposal. That way people have a
working implementation to use.
e.g. Tools to generate HTML TODO lists from source code
It would t
If you subclass strings you have to do your magic in __new__ rather
than __init__. It receives the same arguments as you would normally
expect to go to __init__.
(Except cls rather than self).
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/pyt
I do exactly that in my Python CGI proxy (approx). I wrote a very
simple parser called scraper.py that makes it easy.
It won't choke on bad html either.
http://www.voidspace.org.uk/python/recipes.shtml
All the best,
Fuzzyman
http://www.voidspace.org.uk/python
--
http://mail.pytho
ing_python.shtml
Just make a list of the modules you want to keep and fetch the Python
2.4 installers before making the switch. Gives you a nice opportunity
to clean up your 'site-packages' folder.
Regards,
Fuzzyman
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 01 Sep 2005 03:10:07 -0400, "John M. Gabriele"
<[EMAIL PROTECTED]> wrote:
>I'm putting together a small site using Python and cgi.
>
>(I'm pretty new to this, but I've worked a little with
>JSP/servlets/Java before.)
>
>Almost all pages on the site will share some common (and
>static) html
On 1 Sep 2005 00:52:54 -0700, "talin at acm dot org"
<[EMAIL PROTECTED]> wrote:
>Although I realize the perils of even suggesting polluting the Python
>namespace with a new keyword, I often think that it would be useful to
>consider defining an operator for testing whether or not an item is a
>mem
Hello Pythoneers,
ConfigObj 4.0.0 has a beta 4 release. This fixes a couple of moderately
serious bugs - so it's worth switching to.
http://cheeseshop.python.org/pypi/ConfigObj
http://www.voidspace.org.uk/python/configobj.html
http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configob
Hello Python Folk,
pythonutils 0.2.1 is now available.
This is a *major* update since 0.1.0
http://www.voidspace.org.uk/python/modules.shtml#pythonutils
http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=pythonutils-0.2.1.win32.zip
http://www.voidspace.org.uk/cgi-bin/voidspace/downman
Michael Amrhein wrote:
> Stefano Masini schrieb:
> > On 8 Sep 2005 08:24:50 -0700, Fuzzyman <[EMAIL PROTECTED]> wrote:
> >
> >>What is pythonutils ?
> >>=
> >>ConfigObj - simple config file handling
> >>validate - valida
an shed any light on this behavior ?
All the best,
Fuzzyman
http://www.voidspace.org.uk/python
P.S. I've also patched CGIHTTPServer so that it can handle paths wih
spaces and CGIs in subdirectories of the 'cgi-bin' folder. I'll
*suggest* these changes to the maintainers
ly first, and it then shrinks the
> resulting image vertically:
>
> >>> 816 * 697 / 800
> 710
> >>> 697 * 697 / 710
> 684
>
Thanks ! This was also helpful to me.
Fuzzyman
http://www.voidspace.org.uk/python
>
--
http://mail.python.org/mailman/listinfo/python-list
ing duck typing for example.
I'm not sure if I've got *any* code that doesn't use exceptions
somewhere
;-)
All the best,
Fuzzyman
http://www.voidspace.org.uk/python/index.shtml
>
> thanks!
> mark.
--
http://mail.python.org/mailman/listinfo/python-list
ing the more dynamic features of
Python for 'compilation' is a possibly worthwhile tradeoff.
How easy is it going to be to call your c++ code from Python (and vice
versa) ?
Fuzzyman
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
Fuzzyman wrote:
> Hello all,
>
> I may well post this a a bug on Monday (after testing with Python 2.3)
> - but I thought I'd post here to see if anyone has any ideas.
>
Hmm... testing on Python 2.3 I *don't* have the same problem - but it's
very frustrating under
utils.html
__ http://www.voidspace.org.uk/python/odict.html
__ http://www.voidspace.org.uk/python/configobj.html
__ http://www.voidspace.org.uk/python/modules.shtml
(The pythonutils update contains odict 0.1.1 *and* ConfigObj Beta 5)
All the best,
Fuzzyman
http://www.voidspace.org.uk/python/
Donnal Walter wrote:
> Stuart Rackham wrote:
> > AsciiDoc
> >
> > AsciiDoc is an uncomplicated text document format for writing short
> > documents, articles, books and UNIX man pages.
> >
> > AsciiDoc files can be translated to HTML (with or without
> > stylesheets), DocBook (articles, b
A new release of Movable Python is available - 0.4.6
This fixes a few issues including a bug in the Python 2.2 support, and
a fix for a psyco/IPython incompatibility issue.
We have a new icon and logo thanks to Aidan Ashby -
http://aidan.voidspace.org.uk
Due to bugfixes (in movpy) we can now off
Giovanni Bajo wrote:
> SeSe wrote:
>
> > hi, every one,
> >
> > I started a opensource project PyINI for corss-platform *.ini
parsing
> > at http://sourceforge.net/projects/pyini/
> >
> > I have released a simple alpha version, which can read *.ini, with
> > some extended features such as "key=val
Ilias Lazaridis wrote:
> I'm a newcomer to python:
>
> [EVALUATION] - E01: The Java Failure - May Python Helps?
>
http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553
>
> -
>
> I've download (as suggested) the python 2.4 installer for windows.
>
> Now I have problems to compil
[EMAIL PROTECTED] wrote:
> I'm looking for an implementation of AES (the Advanced Encryption
> Standard) in pure Python. I'm aware of pycrypto, but that uses C
code.
> I'm hoping to find something that only uses Python...I'm willing to
> trade speed for portability, since my application is desig
Ilias Lazaridis wrote:
[snip..]
> >> b) Why does the Python Foundation not ensure, that the python
> >> source-code is directly compilable with MinGW?
> >
> > Why should they? It already runs on Windows with a freely available
> > compiler.
>
> Obvious: Courtesy [against the userbase needs]
>
> O
Oleg Broytmann wrote:
> On Fri, Feb 11, 2005 at 10:13:21AM -0800, Titus Brown wrote:
> > what does mxCGIPython do? I can't find anything at that Web site
that
>
>http://www.egenix.com/files/python/mxCGIPython.html
>
> > doesn't involve downloading & unpacking a file.
>
>It is unpackable,
Hmmm.. I can't guess what format you will create the 'tables' in,
or what format you want to save them in. You need the pyserial module
to read data from the serial port - I assume you have already
discovered that ?
Writing a text file to disc is *extremely* trivial Turning a
table - (li
ConfigObj has had another update - now version 3.2.5
This update includes 3 bugfixes and several new features. Because of
the bugfixes it's reccomended for all users. New features include -
lines can now be broken over two or more lines, initial and final
comments in a config file are preserved (o
Hans Nowak built some old DOS binaries... although I believe on his
website he points to a more 'modern' projects. Sorry - restricted
internet or I would check for you.
Try http://zephyrfalcon.org
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/l
john san wrote:
> Actually the "windows" running very good under the xbox-NTOS via
> xboxmediacenter. its just limited functions(not easy to programming
the
> "windows" prog.), if we can find WxPython-like can be ported (I can
import *
> from it to my xboxPython) )it will be a great great ...
Tim Roberts wrote:
> Slalomsk8er <[EMAIL PROTECTED]> wrote:
> >
> >What do I want to do? I am building an admintool (deamon and client)
and
> >for this I need to script a interface to the shell, with the console
> >ansi escape sequences, whitch is fully transparent for the user.
>
> Do you honest
A colleague and I have built a Validator object for use with ConfigObj
and other general schema situations. A config file is used to store a
schema that specifies how to test a value that it is valid.
keyword=function(param1, param2)
e.g. you could specify :
size = range(30, 50)
This means that
Sorry if this is a duplicate - I use the google interface and sometiems
it screws up (not showing stuff you've posted *or* not posting it).
Before you ask it's because at work I have no NNTP and *heavily*
restricted http.
A colleague and I have built a Validator object for use with ConfigObj
and o
Diez B. Roggisch wrote:
> > Sorry if this is a duplicate - I use the google interface and
sometiems
> > it screws up (not showing stuff you've posted *or* not posting it).
> > Before you ask it's because at work I have no NNTP and *heavily*
> > restricted http.
>
> It is - so I requote my answer :
Quick reply... check out the StringIO module
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
Mike Dee wrote:
> A very very basic UTF-8 question that's driving me nuts:
>
> If I have this in the beginning of my Python script in Linux:
>
> #!/usr/bin/env python
> # -*- coding: UTF-8 -*-
>
> should I - or should I not - be able to use non-ASCII characters
> in strings and in Tk GUI button la
Sion Arrowsmith wrote:
> clementine <[EMAIL PROTECTED]> wrote:
> >Thanx Nick...I forgot to mention im using python 2.2 and along with
a host
> >of other things it doesnt seem to have the enumarate built in
function
> >:(:(:(...is it possible to replace it by something else? I dont
think
> >simulat
Max M wrote:
> Fuzzyman wrote:
> > Mike Dee wrote:
>
> >>#!/usr/bin/env python
> >># -*- coding: UTF-8 -*-
>
> > This will mean string literals in your source code will be encoded
as
> > UTF8 - if you handle them with normal string operations you might
Hello Tom,
Tom Willis wrote:
> How are the expert pythoneers dealing with config files?
>
> Is there anything similair to .net's config files or java's
.properties?
>
I'm not familiar with those config file formats - but ConfigObj
certainly makes handling config files easy. It uses the ini type
I guess print is using the __repr__ (or __str__ ?) methods of lsit -
which you will need to override as well.
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
wax is a nice layer on top of wx - it maintains cross-platform-ability
and is easier to learn !
See http://zephyrfalcon.org
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Fuzzyman wrote:
> > I guess print is using the __repr__ (or __str__ ?) methods of lsit
-
> > which you will need to override as well.
> >
> > Regards,
> >
> > Fuzzy
> > http://www.voidspace.org.uk/python/index.shtml
&g
Do you mean making the interpreter available from within a Python app ?
There are various ways of doing that - you can see the SPE editor which
uses pycrust as one example. http://spe.pycs.net
You could also embed IPython for a good interface to the interpreter.
http://ipython.scipy.net
Regards,
Yeah.. Tkinter is nice. Wzx is just as easy though, but scales better
because it's built on wx.
Regards,
Fuzzy
http://www.voidsapce.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
I'm looking for people to work on a couple of projects... online
bookmarks manager for example
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
Raghul wrote:
> hi,
>
> I want to learn Wxpython to work in windows.Is there any
tutorials
> available?Pls specify the link that will be easy to learn for
beginers
> like me
I'm just learning wxPython, but rather than do it directly I'm using
wax. wax is another layer that sits on top of wxPy
Alex Le Dain wrote:
> Is there a generic "tree" module that can enable me to sort and use
> trees (and nodes). Basically having methods such as .AddNode(),
> .GetAllChildren(), .FindNode() etc.
>
> Is this handled natively with any of the core modules?
>
> cheers, Alex.
>
> --
> Poseidon Scientifi
As Swaroop mentions, there is a relatively simple standard for
distributing extension modules. For actual applications - convenience
is the only guideline :-)
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
101 - 200 of 800 matches
Mail list logo