Andrew MacIntyre <[EMAIL PROTECTED]> writes:
> On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller <[EMAIL PROTECTED]>
> wrote:
>
> {...}
>
>>(I have released and announced this 3 weeks ago, but haven't got a
>>single feedback. So it seems the need to ac
Joakim Persson <[EMAIL PROTECTED]> writes:
> On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller <[EMAIL PROTECTED]>
> wrote:
>
>>Sounds like a perfect job for comtypes, which is a COM library
>>implemented in pure Python, based on ctypes. comtypes should mak
Peter Otten <[EMAIL PROTECTED]> writes:
> Thomas Heller wrote:
>
>>> OK, it's not right at the top of the docs, but the example at
>>>
>>> http://docs.python.org/lib/minimal-example.html
>>>
>>> has been there for a while, a
d_error: (120, 'Call not implemented',
> 'C:\\Python23\\DLLs\\_sre.pyd')
>
I guess this means that wine does not implement some function in
imagehlp.dll (which py2exe_util uses). It *may* be possible to write a
pure Python version of the binary dependency analysis (afaik, McMillan
installer has such code) - but since I don't run py2exe on linux I won't
do it myself. Even better would be to fix wine ;-), if my guess is correct.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
"Vinay Sajip" <[EMAIL PROTECTED]> writes:
> Thomas Heller wrote:
>> Yes, it seems so. Although I would have expected the documentation to
>> inform me about incompatible changes in the api.
>
> It does, in the "in-development" version of the docume
huge list and mine's going to typically have less than 1000
> elements.
>
> What do you think?
Hi,
I would use "set":
mylist=list(set(mylist))
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
I don't know if you can create standalone applications
for windows, without installing gtk on the client.
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
t;
> input = sys.stdin.read() # Throws a bad descriptor exception.
> print input
Can it be that you're building a windows exe of subprogram.py? I get the
error you describe when I do that, for console programs it works -
both in the Python script and in the py2exe'd version.
This is, afaik, standard windows behaviour: GUI programs start with
stdin, stdout and stderr closed.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
The problem was that passing 'stdin=None' didn't work, for whatever
reason. I don't think it is a py2exe problem although the comment above
may suggest it.
Hope that helps,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
urn i + amount
... yield adder
...
>>>
>>> for f in getadders(3):
... print f(42)
...
42
43
44
>>>
Seems to work. But observe this:
>>> def getadders(to):
... for i in range(to):
... def adder(amount):
... return i
the bisect module is what you need:
"This module provides support for maintaining a list in sorted order
without having to sort the list after each insertion."
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
S
oes not match a newline. You have to use the
re.DOTALL option if you want this.
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
gt; guys' minds on this.
Hi,
I use ZODB (not ZOPE) with ZCTextIndex.
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
I guess questions like this come all the time here ... well:
I a looking for a python IDE for gnu/linux that :
- has decent sytax highlighting (based on scintilla would be neat)
- has basic name completition, at least for system-wide modules
- has an integrated debugger
- is open source, or at lea
Diez B. Roggisch wrote:
> Thomas Jollans wrote:
>> PyQT obviously doesn't count because qt3 is not free on windows.
>
>
> Not true, there exists a qt free edition port for windows. And I've had
> close to no troubles rolling out apps developed under linux.
&
Hello.
Python 2.3.4 (#1, Feb 2 2005, 12:11:53)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2
MySQL-python-1.2.0
I'm trying to execute this script:
--
#!/usr/bin/python
import MySQLdb
conn = MySQLdb.connect (host = "localhost", user = "root", passwd =
"", db = "tes
Ernesto wrote:
> The .dll file is a shared library file that is associated with a
> programming interface for a semi-conductor chip. The chip drivers come
> in two different flavors: One is a .dll (for Windows) and the other is
> a shared library file for Linux. The name of the Linux file is
> "
D.Hering wrote:
> under gentoo linux 2.6.
that does not exist. gentoo labels installers 2005.0 etc, but I have
never heard of version numbers.
do you mean gentoo with linux 2.6 ?
--
http://mail.python.org/mailman/listinfo/python-list
what exactly is RPG/roguelike etc ? (what debian package provides an
example?)
--
http://mail.python.org/mailman/listinfo/python-list
I have no idea what is happening, but to the subject line: I guess it's
a plain wrapper around fopen fron
--
http://mail.python.org/mailman/listinfo/python-list
t;mutt" or "less".
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
or any help.
In py2exe 0.5 and 0.6 you can no longer specify the versionresource in
setup.cfg. The advanced sample in
lib\site-packages\py2exe\samples\advanced demonstrated how to do it.
> Greets,
> Klaus
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
also Philip Eby's setuptools (that's why I post to
distutils-sig as well)...
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
l.so*"
(no results)
-
Must I install some extra tool? Thank you very much.
2005/9/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> thomas> ImportError: /usr/lib/python2.3/site-packages/_mysql.so: undefined
> thomas> symbol: mysql_rollback
>
> ski
call "shaking
> the broken tree" :)
IMO, for parsing 'real-world' C header files, nothing can beat gccxml.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
give or take as md5sum itself. This isn't suprising since md5sum is
> dominated by CPU usage of the MD5 routine (in C in both cases) and/or
> io (also in C).
Your code won't work correctly on Windows, since you have to open files
with mode 'rb'.
But there's a perfect working version in the Python distribution already:
tools/Scripts/md5sum.py
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
ct, let alone trace! Before one even tries, it behooves
one to spell check his variables. An additional step that counters Python's
procedural simplicity.
"i" comes before "e" except after "c" OR whenever I make a typo!
Thomas Bartkus
--
http://mail.python.org/mailman/listinfo/python-list
language you select. The 2 functions, database server and
programming language, do not interact in ways that raise unique performance
issues.
You can choose each one without worrying about the other. They two quite
separate design choices.
Thomas Bartkus
--
http://mail.python.org/mailman/listinfo/python-list
Python and have zero idea what the problem is nor how to
> solve it. In some of my other languages I would have to explicitly make a
> function pointer and possibly have to cast that to an int to pass it to
> SetEndCallback, but that seems very inappropriate in Python...
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
ng, without removing user commands, etc. This is what
> Windows APIs do, and it is what I am missing from most INI parsing libraries
> out there.
You can easily access the windows apis either with pywin32, or with
ctypes for those functions that aren't wrapped in pywin32.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
O for this purpose? (An
alternative would be a tokenizer class that has a StringIO instead of
being one and do the file pointer housekeeping in there.)
--
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
g, only without having to create and throw
away anything while overwriting a copy buffer, and being used to doing
everything the pedestrian way, anyway.)
--
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
ox is central
> to the script's use.
>
> My computer runs the script fine, so the radiogroup module must be
> there. I must just have the imports written wrong.
You should move these 'import ...' statements to your *script* so that
py2exe doesn find them, not to the setup script.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
I admit, is why the difference between holding
data two or three times in memory matters that much, especially if the
latter is only for a short time. But as I'm going to use the code that
handles the long string as a core component to some application, I'd like
to make it behave as well as possible.
--
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
ead, so I
may be able to avoid reading stuff into memory altogether in certain
places without worrying about special cases.
> use a plain string and slicing. (if you insist on using StringIO, use
> seek and read)
OK.
--
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
o read or write) with file locking.
This means your cgi application can only serve one request
after the other.
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is there a way to import a file without creating
a .pyc file?
Of course you can delete the pyc in my script after
the import statement, but maybe there is a switch
that I have not found yet.
The imported file is a config file, not a script.
Thomas
--
Thomas Güttler, http://www.thomas
Skip Montanaro <[EMAIL PROTECTED]> writes:
> John> 4. For consistency, would you like "1" + 2 to produce "12"?
>
> No, the correct answer is obviously 3. ;-)
>
> S
No, '"1"2' is correct. Or '"1"+2'.
--
http://mail.python.org/mailman/listinfo/python-list
The reference is good:
http://www.pygtk.org/pygtk2reference/index.html
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
using a C++ DLL to do the
> stuff). Do you know a way to do it ?
What do you want to do with this pointer? Pass it to a function called
via ctypes?
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
"Diez B. Roggisch" <[EMAIL PROTECTED]> writes:
> Maybe somehow the pygame sdl wrapper can be used for gui-stuff. SDL has had
> a DOS mode. But it is discontinued.
What exactly is discontinued? pygame? SDL?
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I have added a few files to my project in eric3. When I want to open the
tree that (supposedly) shows me the classes, I get an error:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/UI/Browser
random
mydict={1: "one", 2: "two"}
print mydict[random.choice(mydict.keys())]
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to manufacture a class that provides attributes which mimic the HTML collections offered by the Internet Explorer COM object. My platform is Win32 (Windows XP) and ActiveState's latest Python 2.3. The problem is, my attributes are based on properties, which work fine except for when I
takes ascii strings,
but returns a unicode string.
- _winreg.OpenKey takes ascii strings
- the os.environ["PATH"] accepts an ascii string.
And I won't guess what happens when there are registry entries with
unlauts (ok, they could be handled by 'mbcs' encoding), and with
ly, the primary string type should be the Unicode
> string. If you are curious how far we are still off that goal,
> just try running your program with the -U option.
Is it possible to specify a byte string literal when running with the -U option?
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Traceback (most recent call last):
File "", line 1, in ?
TypeError: f() keywords must be strings
>>>
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Michael Hoffman wrote:
> Thomas Newman wrote:
>
>> I wanted to look at the code that gives me the error, but there is no
>> line 447 in /usr/lib/python2.3/pyclbr.py:
>
>
> Try deleting pyclbr.py[co].
No change there.
ttn
--
http://mail.python.org/mailman/listinfo/python-list
canceled what's the other solution to
> "wait certain time/or press any button to continue" problem ?
On windows at least, pressing ^C interrupts time.sleep().
print "Press ^C if you don't want to wait"
try:
time.sleep(60)
except KeyboardInterrupt:
pass
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
orm independent?
Hi,
I like pygtk. It should be portable to windows, but I have
not tried this yet. Up to now I only used it under linux.
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
ert statement, it never
raises an exception.
Up to now I raised strings, but since this is deprecated,
I switched to use the second argument for the assert
statement.
Is it possible to change future python versions, that
assert accept parenthesis?
Thomas
--
Thomas Güttler, http://www.thomas-g
the answer. I recommend popen4 because it avoids
deadlocks if there is output on stdout and stderr.
Example:
stdout, stdin = popen2.popen4("tidy -q -errors '%s'" % htmlfile)
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
always exhibit "arithmetic slop" at the last
significant digit. This is a property inherent to floating point numbers and
has nothing to do with how it is stored on any machine.
Thomas Bartkus
--
http://mail.python.org/mailman/listinfo/python-list
rt-indent" which will automatically align highlighted text to have
> the correct indentation. Does Emacs have something similar?
Mark the lines to be readjusted, then hit 'C-c >' or 'C-c <'.
Or hit 'C-h m' to get an overview for Python mode.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Newman wrote:
>Michael Hoffman wrote:
>
>
>
>>Thomas Newman wrote:
>>
>>
>>
>>>I wanted to look at the code that gives me the error, but there is no
>>>line 447 in /usr/lib/python2.3/pyclbr.py:
>>>
>>&
w, try w3m or links. Both do a better
> job of rendering anyway.
They lay out tables more/less as expected (though navigation in tables
for links seems to be an afterthought).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
http://mail.python.org/mailman/listinfo/python-list
onically, methods. Accessing
methods means to access a callable attribute, after all, with all the
stuff going on behind the scenes on attribute access.
--
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
anyone point me
information please ?
That sounds a lot like WebBrowser or (HTML)Document Object Model [DOM].
HTH
thomas
--
http://mail.python.org/mailman/listinfo/python-list
gc: uncollectable
> 4
>
> What am I doing wrong?
Nothing ;-) You could delete or comment out the __del__ method of class
CDLL, in the file ctypes/__init__.py.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
gc: uncollectable
> 4
>
> What am I doing wrong?
Nothing ;-) You could delete or comment out the __del__ method of class
CDLL, in the file ctypes/__init__.py.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
t solution to update
applications. Install a client on the target computer, it may be
invisible to the user, copy the CVS or SVN directories, and provide a
script the does (also invisible) 'cvs up -r version_a_b'.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
, but the delete still has to be done after all users of
> the file have closed it.
Even if you are able to remove/rename the file, it won't help you
anyway, because there's no way to reload an extension module in a sane
way. AFAIK.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
> Does anybody have experiences in this ?
Since there is no type library, the client code has to guess. And it
will pass the server whatever the client calls with. That could even be
a string or anything else - but why not try it out?
*IF* there is a type library that the server implements, you will get
and return what it describes.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
y %Z:
time.mktime(time.strptime("Sat Mar 5 10:38:07 2005 UTC",
"%a %b %d %H:%M:%S %Y %Z"))
--> 1110015487.0
time.mktime(time.strptime("Sat Mar 5 10:38:07 2005 CEST",
"%a %b %d %H:%M:%S %Y %Z"))
--> 1110011887.0
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
;
> The only thing that I can think of is that perhaps I've upgraded my
> wxWindows version. I checked and 2.4.2.4 is the version, but I don't
> know why py2exe is looking for such a directory.
Old versions of wxWindows put an entry in the registry under the
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.x\Modules key. This
registry entry is (was) used to extend the Python path, but wxWindows
used it to register it's version number. You should try to remove this
entry and run py2exe again.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
low. Is there
>> anything I can do to make sure I'm getting the best performance out of
>> CGIHTTPServer?
Hi,
Maybe a personal firewall or virus-checker slows it down.
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I want to collect with the wildcard '*' all existing directories.
For example: /dir/dir/*/dir/*/dir/* or C:\dir\dir\*\dir\*\dir\*
How can I resolve this problem?
Thanks for your hints, Thomas.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks. It works fine! Thomas
"Vincent Wehren" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Thomas Rademacher wrote:
> > Hello,
> >
> > I want to collect with the wildcard '*' all existing directories.
> > For examp
kages
>> but on Windows, it's in
>> {sys.prefix}/Lib/site-packages.
>> Do I need to use sys.platform (along with sys.version) to check what
>> type of machine I'm on, or is there some better method to get the
>> location of site-packages?
>>
> This is
ys seem to succeed - I have no idea
why. Any ideas?
Thomas
---snip---
"""
>>> print "Hi"
>>> print 1213
"""
def func():
"""
>>> print "spam"
>>> print blah
"""
impo
for most use cases creating the processed
file on the server and offering a link to download would be a better
solution...
HTH
thomas
--
http://mail.python.org/mailman/listinfo/python-list
you can inline the code.
google for scipy, weave, inline and python
HTH
thomas
--
http://mail.python.org/mailman/listinfo/python-list
exception: if the install-script prints
something the output will be lost instead of displayed on the last
screen. At least that's better than crashing the process.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Stephen Thorne <[EMAIL PROTECTED]> writes:
> On 10 Mar 2005 06:02:22 -0800, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>> Hi All,
>>
>> I've been trying to come up with an elegant solution to this problem,
>> but can't seem to think of anything better than my solution below.
>>
>> I have a P
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> Thomas Heller wrote:
>>>This means that if you build a windows installer using
>>>distutils - it *requires* msvcr7.dll in order to run. This is true even
>>>if your package is a pure python package.
the Python version you are using.
Homepage
<http://starship.python.net/crew/theller/ctypes/>
Enjoy,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
_type_triplett(ViUInt32, c_ulong)
>
>
> However, this doesn't work, probably because the defined type exist
> only locally within the function.
Others have answered your question already, but I would like to note one
thing: The POINTER() function caches its results, so you
147221014, 'Moniker cannot open file', None, None)
>
> The program is in python v2.3 and packaged using pyexe, and inno setup.
It seems WMI is not installed per default in Win 95/98 and NT:
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/system_requirements.asp
If pywin32 also d
pass into that.
>
> I haven't looked at the ctypes module yet, but it looks like it not one
> of the modules Python comes with, so I'm a little reluctant to use it.
ctypes does only support shared libraries, not static libraries.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
I need to download all files older than 3 hours from a ftp-server.
What's the easiest way to this? I've looked into the standard ftplib,
but it seems like the only way to go is to parse the
ftp.retrlines('LIST') command and that seems to be very easy to mess
up.
any hints?
parrot() with a one-element tuple either. However,
'parrot(1)' and 'parrot(1,)' means exactly the same thing, while
'print 1' and 'print 1,' does not.
--
Thomas Bellman, Lysator Computer Club, Linköping University, Sweden
"Adde parvum parvo magnus
r using the package.
If some authors write bad books, do you blame the English
language for allowing them to write such books, or do you
blame the writers for using English in a bad way?
--
Thomas Bellman, Lysator Computer Club, Linköping University, Sweden
"We don't understand
ry start-tag and for every end-tag.
The class which handles the events can build the structure
if your XML file.
The online version of the python cookbook has some
python and SAX examples,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
t it's not really fair to say "ignore it
> and it won't affect you" -- there's still a cost associated with such
> features that can't be ignored away.
There is a "local" cost with it, for learning Python, but I'm not
sure there really is
']
> considering "a.string" as a word.
Hi,
try this:
re.findall(r'[\w\.]+', s)
['This', 'that', 'a.string']
If you use r'...' you don't need to
use \\ if you mean \
\w matches a-zA-Z0-9_
\W matches all except \w
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
ot really obvious
from the mmap description, but calling
shmem = mmap.mmap(0, 32000, "spam")
creates (or opens, if it already exists) a shared memory block,
not based an any existing file. In other words, the fileno (first
parameters) must be 0, and the last one specifies the sys
used.
You may manipulate the package path in the __init__.py file.
pkgutil may also be useful.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
/freeze
def get_main_dir():
if main_is_frozen():
return os.path.dirname(sys.executable)
return os.path.dirname(sys.argv[0])
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
ied free functions, but class methods
> > participate usefully in inheritence hierarchies - why would anyone
> > want the former?
Same for me.
To answer the original question: To create class methods in C code, you
use the METH_CLASS flag in the PyMethodDef structure. Supported in
Python 2.3 and above, in 2.2 it is more complicated. If needed, I can
post a snippet for 2.2 as well.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
; Maybe there is a better way to do an unattended install of the Win32
> extensions (that is, perhaps without using the binary)?
I should be quite easy to write a Python script that opens the binary as
a zipfile, and then does what the gui does without showing a gui.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Gerrit <[EMAIL PROTECTED]> writes:
> Cameron Laird wrote:
>> Subject: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)
>
> What is the frequency of the weekly Python-URL? (-;
According to the name, about 1.6 µHz.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
tters.
Thanks,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
ned a lot by reading the python cookbook.
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
Skip Montanaro <[EMAIL PROTECTED]> writes:
> Thomas> When I edit a Python script with XEmacs, then hit C-c C-c, the
> Thomas> script is executed, the output is shown in a *Python Output*
> Thomas> buffer, and the cursor is moved into this buffer.
>
>
the class __init__.
Hi,
You have this module (mymod.py)
print "First import"
xmlfile=
If you import mymod the second time, you
won't see "First import" again. The code
without indentation gets executed only once.
You can access your file with mymod.xmlfile.
HTH,
"Donnie Leen" <[EMAIL PROTECTED]> writes:
> I wrote a program to test calling c function from python code embedding in c
> as following, it cause error after running a while(about 398 circle). I
> test it in msvc6, python2.3, windows 2k, could anyone tell me why this
> happened since i just work
re is a script called "getmail". It is a fetchmail
replacement written in python. It can write to maildir mailboxes.
HTH,
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
--
http://mail.python.org/mailman/listinfo/python-list
Am Wed, 08 Dec 2004 23:25:49 -0800 schrieb anilby:
> Hi,
>
> I wanted to write a script that will read the below file:
Hi,
Here is an example how to use sax:
http://pyxml.sourceforge.net/topics/howto/node12.html
Thomas
--
Thomas Güttler, http://www.thomas-guettler.de/
ing msi.py shouldn't be hard (replace xyz.pyd by xyz_d.pyd,
basically)
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
screen which alter image when a key is
> pressed.
What operating system do you use?
Please choose a better subject next time.
"need some help quickly": I don't think the
application you are looking for is done quickly.
Thomas
--
Thomas Güttler, http://www.thomas-guettle
1501 - 1600 of 3677 matches
Mail list logo