473,699 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
0
430
thread by: gstein | last post Jul 18 '05 by: gstein
Hi, I have received your email, but it may take a while to respond. I'm really sorry to have to hook up this auto-responder, as it is so impersonal. However, I get a lot of email every day and find it very difficult to keep up with it. Please be patient while I try to get to your message. Please feel free to resend your message if you...
12
9,000
thread by: Afanasiy | last post Jul 18 '05 by: John Roth
I have some code like this... self.write( ''' lots of stuff here with %(these)s named expressions ''' % vars(self) ) Then I wanted to add an item to the dict vars(self), so I tried :
6
16,613
thread by: Tony C | last post Jul 18 '05 by: Michael Peuser
Does Python have a function that is analogous to C's write() or fwrite()- that is , I want to write a file (of arbitrary data) that is 100K, or 1MB (or more) bytes long.. Both write() and fwrite() in C allow the user to specify the size of the data to be written. Python's write only allows a string to be passed in.
0
1,209
thread by: LDC.Office | last post Jul 18 '05 by: LDC.Office
Thank you for your email. The Linguistic Data Consortium will be closed on Monday, September 1, 2003 in observance of the Labor Day holiday. Your email will be read on Tuesday, September 2. Kind regards, Ilya
0
1,312
thread by: Abstractius | last post Jul 18 '05 by: Abstractius
Hello, I was able to unearth some ancient documentation suggesting Modules/Setup has to be edited by hand (after ./configure) to compile tkinter. The short info at http://www.python.org/topics/tkinter/download.html doesn't mention this, instead it is a bit contradictory first stating that tk is part of python and then that Unix users must...
0
1,922
thread by: Lorenz Köhl | last post Jul 18 '05 by: Lorenz Köhl
hi, I've python 2.3 and apache 2.0.47 installed on my SuSE8.2. when trying to compile modpython into apache, make stops with the error ---- In file included from /usr/local/include/python2.3/Python.h:8, from /home/software/network/apache/mod_python-3.0.3/src/include/mod_python.h:92, from requestobject.c:64:...
4
6,522
thread by: Edward K. Ream | last post Jul 18 '05 by: Edward K. Ream
Previous to Python 2.3 my app has destroyed the root Tk window using root.destroy rather than the more usual root.quit. In Python 2.3 this does not work so well. In some situations (i.e., for some data), Tk (not Tkinter) complains that an "after" routine does not exist that has been registered with the Tkinter after routine. Moreover, in...
1
4,731
thread by: Miguel Hernández Martos | last post Jul 18 '05 by: Syver Enstad
Hello, I have seen an old post (http://dbforums.com/t552213.html) refering to the support for dde hot links in win32all. With dde module I can build a DDE server that notifies clients (VB and Delphi clients) of changes (using SetData method) and it works great. The problem is that I also would like to code a Python dde client that can be...
0
1,085
thread by: George Khoury | last post Jul 18 '05 by: George Khoury
I am just starting to code some c extensions, and have been experimenting with both the Borland and MSVC compilers. Everything works, but I have a basic question. When using Borland, I have to make an OMF version of Python23.lib. Does this mean I now have two copies of the python interpreter? Or maybe I should ask another question. Suppose I...
12
1,692
thread by: Rich | last post Jul 18 '05 by: Rich
I downloaded the beginner package from the "Python" site, and would like to know my next move. Should I wade through the site, or are there some exorcises I can do to get started in the process of learning how to program. TIA, Rich
3
1,495
thread by: Leo | last post Jul 18 '05 by: Michele Simionato
hi all newbie question: how do i find out the OO hierarchy of a class in the python docu? the story: i want do play with the web server classes. so the first task would be a basic server with SimpleHTTPServer. in the docu i've read about the test() function but i couldn't find this function in the SimpleHTTPServer class and even not in...
5
8,518
thread by: Mirco | last post Jul 18 '05 by: Peter Hansen
Hi, I'd like to know if is it possible to make python communicate with a webcam. Of course, I think it is possible... but I don't know if there is a specific module for this kind of work. Can anyone give me a council? Thanks
6
2,420
thread by: Tertius | last post Jul 18 '05 by: Chad Netzer
Is there a method to create a dict from a list of keys and a list of values ? TIA Tertius
0
1,289
thread by: i18n-nb-admin | last post Jul 18 '05 by: i18n-nb-admin
Your mail to 'i18n-nb' with the subject Thank you! Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list
0
1,061
thread by: Gerson Kurz | last post Jul 18 '05 by: Gerson Kurz
I was looking for a way to call ShellExecuteEx() in python (from W2K), and found win32sh, but it seems to be active only in PythonCE. Any idea why? Plus, I found the source http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/uploads/win32sh.cpp but not any associated project. For else I would probably try to roll my own win32sh...
0
1,048
thread by: Sun Wei | last post Jul 18 '05 by: Sun Wei
I got this error: undefined reference to `_imp___Py_NoneStruct' But when I used VC++, everything is ok, why???
0
1,197
thread by: Terry M Peters | last post Jul 18 '05 by: Terry M Peters
I will be away from my office until September 3rd. If you have any questions relating to MICCAI 2003, please contact Dr Randy Ellis ellis@cs.queensu.ca (scientific) or Ms Janet Wallace jwallace@imaging.robarts.ca (administrative). Terry Peters
2
45,454
thread by: Travis Whitton | last post Jul 18 '05 by: Michael Hudson
Hello all, I've googled a bit, and I've failed to find an answer to this question. Is it possible to get a classes name from inside of a class? I.e., class Foo: def print_classname(self): # somehow print Foo Basically, I'm using WebWare, and I need to pass the current servlet name to a template. I don't want to have to hardcode the...
0
1,732
thread by: fsc | last post Jul 18 '05 by: fsc
Violation found in email message. From: python-list@python.org To: hildjj@fuentez.com
2
6,905
thread by: Gey-Hong Gweon | last post Jul 18 '05 by: Michael Peuser
Is there a way to copy a PIL image to windows clipboard (as a dib image or a bitmap, I suppose)? What I would like to accomplish is to do a fast copy and paste of images from my python application to a windows application such as powerpoint. A slower way is to use files, which is what I am doing at the moment. Thanks in advance.
4
1,768
thread by: Uwe Becher | last post Jul 18 '05 by: Uwe Becher
I try to get all logical drives of a remote machine (WinNT or W2K) and get a result, that gives me the expected total but not all expected drives. Example: >>> win32net.NetServerDiskEnum('nor1w020', 0) gives me: (, 8, 0) while the machine has the local drives A: C: D: E: F: G: H: Z:
3
2,092
thread by: Mike C. Fletcher | last post Jul 18 '05 by: Alex Martelli
Slides from my PyGTA presentation on Tuesday, focusing mostly on why/where you would want to use meta-classes, are available in PDF format: http://members.rogers.com/mcfletch/programming/metaclasses.pdf BTW, for those not on Python-list, be sure to check out David & Michele's newest developerworks article on the topic: ...
3
11,695
thread by: adegreiff | last post Jul 18 '05 by: Alex Martelli
hi, using zope/pythons/page templates i need to format a float number to a string like 10,250.10 (note the thousand separator and the trailing zero in the decimal) i was able to use %0.2f bit that returned no thousand separator. i was able to use thousands_commas function but that returned "10,250.1" which is wrong.
2
2,638
thread by: Chaman Singh Verma | last post Jul 18 '05 by: Michael Hudson
Hello, I am trying to integrate C++ with Python. I read that Python does automatic garbage collection. I am creating new objects in C++ and passing to Python, I don't know now who should control deleting the objects. If I create objects in C++ do I have to clean them or Python will use GC to remove unwanted objects. Bye. csv
1
3,714
thread by: Rami A. Kishek | last post Jul 18 '05 by: Marko Komssi
Please help! Very strange installation problem. First, let me say I successfully installed and use Python 2.2.3 and 2.3 from the EXE binaries on a win ME machine. That machine previously had 1.5.2, and now I have access to all 3 versions. When I tried to do the same on an older machine, however, running Win98 SE (and having had Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.