473,554 Members | 2,830 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
541
thread by: Fred L. Drake | last post Jul 18 '05 by: Fred L. Drake
The development version of the documentation has been updated: http://www.python.org/dev/doc/devel/ Final documentation for the Python 2.3 beta 2 release.
1
7,883
thread by: Peter Markowsky | last post Jul 18 '05 by: Gerhard Häring
Hi all, I've been searching through the Python Essential Reference, and python.org but I can't seem to find a way to get the memory address for an object in python. Please help. How do you get the address of an object in memory? Sincerely, Pete
0
1,299
thread by: Admin | last post Jul 18 '05 by: Admin
Hi. This is the qmail-send program at mantramail.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <maxatoblr@mantraonline.com>: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message.
3
2,774
thread by: Alex | last post Jul 18 '05 by: Irmen de Jong
Hi all, I want to write a "File sharing system". Is posssible with socket and thread create multisuer connection at the same time ? or is wrong my idea?? thanks
2
3,351
thread by: Chris Connett | last post Jul 18 '05 by: Aahz
It seems range and xrange don't like longs that can't be sqeezed into ints: With Python 2.3b1+: >>> xrange( 40000000000, 40000000001 ) Traceback (most recent call last): File "<stdin>", line 1, in ? OverflowError: long int too large to convert to int >>> range( 40000000000, 40000000001 ) Traceback (most recent call last):
0
1,403
thread by: Barry Warsaw | last post Jul 18 '05 by: Barry Warsaw
Python 2.3b2 is the second beta release of Python 2.3. There have be a slew of fixes since the first beta, and a few new "features". Our goal is to have a final Python 2.3 release by early August, so we encourage lots of testing for this beta. Highlights since beta 1 include: - IDLEfork has been merged in and now replaces the old IDLE. ...
1
1,692
thread by: Rim | last post Jul 18 '05 by: Martin v. Löwis
Hi, I am reading the document http://www.python.org/2.2.1/descrintro.html "This is not always what you want; in particular, using a separate dictionary to hold a single instance variable doubles the memory used by a defaultdict instance compared to using a regular dictionary!" I don't understand what is the separate dictionary Guido is...
1
1,493
thread by: Duncan Grisby | last post Jul 18 '05 by: Alan James Salmoni
The European Python Conference was held last week. I took quite a lot of photos, which I've put on my web site here: http://www.grisby.org/Photos/140/ I've tried to label them to say who they are pictures of, but there are lots of people I don't know. If you know the names of anyone I haven't labelled, please let me know. Cheers,
0
1,814
thread by: Irmen de Jong | last post Jul 18 '05 by: Irmen de Jong
QOTW: "Giving full access rights to a secretary or new programmer ought to insure an occasional random file deletion." -- Raymond Hettinger "I always use join, but that's probably because that method is more likely to run code that I once wrote. Never trust code written by a man who uses defines to create his own C syntax." -- Fredrik...
0
1,739
thread by: sameer | last post Jul 18 '05 by: sameer
hi guys, plzz give ur valuable suggestion for the following problem..... my objective is to retrieve a row from jtable using jython scripting.so i started from jython where i mentioned connection and with the help ofcursor ,retrieve records from table. then import(let mytable.class)class file into jython. from this i get all the data from...
6
6,058
thread by: Glauco | last post Jul 18 '05 by: Nick Vargish
I'm trying to use SOAPpy 0.10.1 for a client but is difficult to handle easly Is this library in use or i'm using an OLD death library ? I'm alone in find a lot of problem in a SOAP Client ? I'm going crazy because function are not documented . Exist another solution for di a SOAP CLient ??
4
4,148
thread by: Paul Moore | last post Jul 18 '05 by: Steve Holden
I hit a problem yesterday with my mail connection. In a desparate attempt to understand what was going on, I wanted to log the connection traffic. After a bit of searching, I found a post on c.l.p from Andrew Bennetts explaining how to run a port forwarder in 2 lines using Twisted. $ mktap portforward -p 8000 -h remote -d 20 $ twistd -f...
0
2,198
thread by: Mickel Grönroos | last post Jul 18 '05 by: Mickel Grönroos
Hi, I'm trying to put an Tkinter.Entry of fixed size onto a specific location on a canvas using the place manager. The idea is that one can double-click a rectangle object on a canvas to get an entry field of the same size as the rectangle placed exactly over the rectangle thus creating the effect that the rectangle has entered "input...
0
3,261
thread by: Thomas Nücker | last post Jul 18 '05 by: Thomas Nücker
Hi! I have the following problem within a program, that is using the python dll. With this program i want to use Tkinter, but after setting all paths i get the following error: Traceback (most recent call last): File "c:/mtt/bg_private_area/truefalsetest.py", line 32 in ? ListSelection(datal)
2
1,901
thread by: Stephan Diehl | last post Jul 18 '05 by: Stephan Diehl
I have a question about metaclasses: How would be the best way to "merge" different metaclasses? Or, more precisely, what is the best way to merge metaclass functionality? The idea is basicly the following: One has several (metaclass) modules that implements an interesting feature. Lets say, I have a metaclass L, that adds logging...
2
1,588
thread by: Anand Pillai | last post Jul 18 '05 by: Aahz
Some of the newsgroups in comp.lang have the auto-mailing facility where a program mails the first time poster in the newsgroup, a welcome mail with an brief introduction to the language and the newsgroup and useful web links for the language. I recently posted in comp.lang.tcl and received a rather large welcome mail detailing tcl and the...
0
1,475
thread by: Erhan Ekici | last post Jul 18 '05 by: Erhan Ekici
Hi, How do I get partition names (i.e. C:\ , D:\ ,E:\ on windows, hda,hda1 , hda2 on Linux machines) using Python. Thanks for answers:) Erhan, --
9
1,968
thread by: Aurélien Géron | last post Jul 18 '05 by: Aurélien Géron
Hi all, As a newly converted Python lover, I am impressed at how concise Python code actually is. But really... how concise can it GET? As an experiment to find out the very limits of Python, I'm generously offering a free smiley as well as my utmost and sincere admiration to whoever can come up with the shortest python module which can...
3
4,386
thread by: Psymaster | last post Jul 18 '05 by: Psymaster
That would be very handy for a small progrtam I've written. I've browsed through the documentation for the standard modules but there doesn't seem to be a way (please correct me if I'm wrong). I know that it shouldn't be very hard to write a module myself using listdir() and isdir() or stuff like that, but I'm having problems.
6
11,544
thread by: manuel | last post Jul 18 '05 by: Irmen de Jong
Exist a sintax like import Foo for property in Foo print property ?
2
1,940
thread by: Egor Bolonev | last post Jul 18 '05 by: Bengt Richter
Hi All! I have a 'Pink Floyd/x00/x00/x00/x00/x00/x00/x00/x00/x00/x00/x00/x00' and I want a 'Pink Floyd' How can I manage it? This one isn't work. author=f.read(30).replace('\0',' ').rstrip() #from mp3 tag
3
1,811
thread by: Ajith Prasad | last post Jul 18 '05 by: Ajith Prasad
I would appreciate advice on how best to formulate the following problem in Python. I have originally posted the problem to the J Programming forum and received a one-line formulation ((#s) (|.s)&(+/@:*)\ I)! I was wondering what the equivalent Python formulation would be. The Problem: The enrolment E(n) of an institution at the...
1
4,672
thread by: Benoit BESSE | last post Jul 18 '05 by: Egor Bolonev
Hi, I try to write a fonction which take a date and time and convert it into a NTP time. I have to use mktime but I did not work at all. Here is my code dans the exécution. Please help. Thanks def ToNTPTime(d,h): "Retuen a NTP time" year,month,day=d.split("/")
2
1,602
thread by: François Pinard | last post Jul 18 '05 by: Fernando Perez
Hi, Python friends. Is there a way for a script to activate the effect of the `-i' option, that is, to force interactive mode once `__main__' has run? For one application, I would like that if the application discovers some data discrepancy or failure (not a Python error) and only then, and if the application was also started from a tty,...
3
8,485
thread by: Krisztian Kepes | last post Jul 18 '05 by: Bengt Richter
Hi ! I want to start many py programs - with other parameters. Because the programs have many to-do, I don't want to wait for them. In Delphi it is like this: >>>>>>>>>>>>>>>

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.