Hello,
I noticed that bultin types like list, set, dict, tuple don't seem to adhere to
the convention of using super() in constructor to correctly allow
diamond-shaped inheritance (through MRO). For instance:
>>> class A(object):
... def __init__(self):
... print "A.__init__"
...
This is to announce the release of a binary installer
for my Alternative Readline for Windows. This module
provides interactive command-line editing for Python
on Windows. I realize the console functions of Windows
2000, XP, and 2003 work in the newest Python versions,
but it appears that many p
Among many other things:
First, you might want to look at os.path.walk()
Second, look at the string data type.
Third, get the Python essential reference.
Also, Programming Python (O'Riely) actually has a lot in it about stuff like
this. Its a tedious read, but in the end will help a lot for adm
Hi
I'm new to programming and i'd like to write a program that will parse
a list produced by md5summer and give me a report in a text file on
which md5 sums appear more than once and where they are located.
the end end goal is to have a way of finding duplicate files that are
scattered across a l
> Well, broadly, the reason is that it allows version-specific code to
be
> included in libraries.
I've actually found this to be a bit of a pain. I build packages
against say, python2.2, and if you upgrade python to 2.3 the package
breaks. The code works fine so saying it requires python >= 2.2 s
Hi.
I have a program which I want a plugin directory for. I figured the way to
go about that would be to just add a plugin/ dir to sys.path, and import
everything in it. Then my program can just execute the main() method of
each imported plugin.
Is that a good way to go about it?
If so, how do I
Michael Hoffman wrote:
> Colin J. Williams wrote:
>
> > C:\XXX is required, C:XXX is not acceptable.
>
> C:XXX is acceptable, it just means something entirely different from
> C:\XXX. There is a current working directory on each drive. C:XXX is
> file XXX in the current directory on drive C:.
Fur
I like the way call tips displays argument variables for functions when
you type the "(" after the function name. However, if one of the
arguments to the function is something like "SomeMod.attribute", the
intellisense will display all the exposed methods and attributes when
"SomeMod." is typed.
My goal is to install python2.4 using yum (wouldn't you know it, it's a
dependency for something else).
>From this page (), I followed the following instructions:
1. ...creat "/etc/yum.repos.d/python24.repo" with the following lines:
[python24]
name=Fedora Core $releasever - $basearch - Python 2.
I've got an app that creates an object in its main class (it also
creates a GUI). My problem is that I need to pass this object, a
list, to a dialog that is implemented as a second class. I want to
edit the contents of that list and then pass back the results to the
first class. So my question i
I'm trying to use Python and PyGTK + Glade, along with Bash. I want to
make a GUI for the Linux vpnclient command-line tool. (Look for
linux-vpnclient.tar.gz on the Internet if you are curious.) Anyway,
this vpnclient tool connects to VPN and then stays locked like that
while the VPN connection is
yep, that works better under Windows. Pretty obscure use of Python,
though! :-)
S
--
http://mail.python.org/mailman/listinfo/python-list
Alexander Eisenhuth <[EMAIL PROTECTED]> wrote:
>
>Hello everybody,
>
>i wonder how the win32 COM extension handles different C-int types
>(short, int, long).
All of those types are passed on the stack as 32-bit dwords. No problem.
>Another question for me is weather the
>"out-direction" of par
Hey everyone,
I'm embedding the Python interpreter within my program to use as a
scripting language. However, one of the unique features of our program is
the ability of the internal language to possess per-object security
permissions and restricted execution.
Therefore, we need to add extra "
101 - 114 of 114 matches
Mail list logo