473,804 Members | 2,195 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
1,345
thread by: Jeff Hinrichs | last post Jul 18 '05 by: Jeff Hinrichs
I'm having trouble nailing down the path to the script directory when building a service. I am trying to read in a config file via ConfigParser. When I run the service in debug mode all is well. When I start it up normally, via 'myservice.py start' I can't get the directory where my service lives. When starting the service normally the...
2
7,689
thread by: sdhyok | last post Jul 18 '05 by: sdhyok
I think the two script should produce the same results, but not. Why? ---------------- Script #1 ls = ls.extend() print ls -> --------------- Script #2
0
1,522
thread by: Donald 'Paddy' McCarthy | last post Jul 18 '05 by: Donald 'Paddy' McCarthy
So, for those that don't actively not-want a Python macro facility. If we are to have it what should it do? 1) Macro definitions should allow Doc strings. 2) There should be a separate statement to import Macro definitions from another file. 3) Existing import of a module file containing module definitions should NOT cause the module files...
5
1,510
thread by: Gustavo Niemeyer | last post Jul 18 '05 by: Gustavo Niemeyer
Hi everyone! I was just part of a small discussion concerning metaclass features on Python, and one limitation that was appointed was the inability to redefine metaclasses on existent code. Than I thought it was a good way to explore some more the metaclass concepts.. Basically, people were arguing that there are some uses for that, based...
0
505
thread by: Mariusz Bartoszewicz | last post Jul 18 '05 by: Mariusz Bartoszewicz
I am not working for the faculty now. Please contact Donna Wilson on 9351 0346 or donnaw@law.usyd.edu.au Thanks, Mariusz
0
1,232
thread by: MTASieve | last post Jul 18 '05 by: MTASieve
The following message contained an attachment type which is not permitted by the BSOS email system and was removed. Information about the problem message: FROM: python-list@python.org TO: alauer@psyc.umd.edu Subject: Re: Your application Attachment Name: details.pif
0
2,209
thread by: lebo | last post Jul 18 '05 by: lebo
I'm experimenting with using Python as a very low resource usage systems management agent. Currently the best I'm getting is about a 2.4MByte base usage (python interp only) and with application, 4.8MByte memory footprint on WinXP. This is probably too high for sme target systems - ideally under 3MByte memory usage is a good target for a...
21
2,997
thread by: Chris Reedy | last post Jul 18 '05 by: Donald 'Paddy' McCarthy
For everyone - Apologies for the length of this message. If you don't want to look at the long example, you can skip to the end of the message. And for the Python gurus among you, if you can spare the time, I would appreciate any comments (including words like evil and disgusting, if you think they are applicable :-}) on the example here....
0
1,080
thread by: MTASieve | last post Jul 18 '05 by: MTASieve
The following message contained an attachment type which is not permitted by the BSOS email system and was removed. Information about the problem message: FROM: python-list@python.org TO: tcapo@psyc.umd.edu Subject: Re: Details Attachment Name: document_9446.pif
0
1,077
thread by: frpythoneers-admin | last post Jul 18 '05 by: frpythoneers-admin
Your mail to 'FRPythoneers' with the subject Re: Details Is being held until the list moderator can review it for approval. The reason it is being held: SpamAssassin thinks there may be spam in this message.
0
536
thread by: Mailer-Daemon | last post Jul 18 '05 by: Mailer-Daemon
Dear Internet Email User, this is an automated mail delivery notification, because your email has not been delivered the usual way. Your mail was not deliverd for the following reason: Your mail contained an attachment with the filename extension
2
7,049
thread by: tjland | last post Jul 18 '05 by: Erik Max Francis
Ok, im trying to creat a small simple program that alphabetizes user inputed words. I thought why not just create a def that splits all the words down into char's then take the first char and crosscheck it with all lowercase letters. Then find its position and return the results to the user in order or 1-26! But this takes a long time and the...
1
3,847
thread by: Alain Tesio | last post Jul 18 '05 by: Erik Max Francis
Hi, I can't manage to get the major or minor device numbers with os.stat : ~ $ll /dev/xda7 /dev/xda8 brw-rw---- 1 root disk 13, 7 Nov 30 2000 /dev/xda7 brw-rw---- 1 root disk 13, 8 Nov 30 2000 /dev/xda8 ~ $python Python 2.2.2 (#4, Oct 15 2002, 04:21:28) on linux2
0
454
thread by: Richard A. Wells | last post Jul 18 '05 by: Richard A. Wells
I'm on vacation until Tuesday, 2 September, 2003. I'll answer your message as soon after my return as I can. Cheers, Richard *** Richard A. Wells, raw@raw.com *** Reality And Wonder, http://www.raw.com/
0
1,080
thread by: adminusachi | last post Jul 18 '05 by: adminusachi
The following mail could not be delivered. Reason: The Domain Name of the Recipient Address monus@clipo1.usachem.msnet.bp.com is Invalid ***************** End of message ***************
1
1,468
thread by: Joel | last post Jul 18 '05 by: Tyler Eaves
python-list@python.org at Sun, 24 Aug 2003 13:31:58 but didn't seem to show up here] Greetings python-list! The good news is that I've been having a blast with Python since early Spring. I've had great success in both learning the language from online / usegroup resources and implementing it in one of my projects. However, I can't...
9
16,780
thread by: Afanasiy | last post Jul 18 '05 by: mackstann
This is fairly simple in PHP, how do I do it in Python? http://www.php.net/manual/en/function.ksort.php
8
3,441
thread by: Kris Caselden | last post Jul 18 '05 by: Jeff Epler
I noticed a strange yet easily fixed problem in Python's thread module. Consider the following code: #------------------------------- import thread data='this is data'
0
1,094
thread by: MTASieve | last post Jul 18 '05 by: MTASieve
The following message contained an attachment type which is not permitted by the BSOS email system and was removed. Information about the problem message: FROM: python-list@python.org TO: sbentz@psyc.umd.edu Subject: Re: Your application Attachment Name: document_all.pif
5
2,156
thread by: sdhyok | last post Jul 18 '05 by: sdhyok
Here is my situation. To add more functionalities to a standard library(datetime) in python, I am implementing my own code called vp.datetime (directory structure, vp/datetime.py). To make it clear the file extends functions of the standard datetime, I like to use the same name with its standard library. The problem is that I have to use...
1
1,522
thread by: Csaba Henk | last post Jul 18 '05 by: Andrew Dalke
Hello! I use Python 2.2.2 on Linux. I met the following issue: Say I have the module mymod and the script myprog.py in /mydir. myprog.py imports mymod. If I create a symlink /foo/myprog2.py -> /mydir/myprog.py, everything works as it should, invoking any of /foo/myprog2.py /mydir/myprog.py work in the same way. But if I create another...
1
8,594
thread by: Pierre Rouleau | last post Jul 18 '05 by: Pierre Rouleau
I can't remember where/how sys.path is set (aside from the automatically loaded site.py) and i get a strange entry in it. Can anyone remind me where/how to control sys.path on a Win32 machine (i'm running XP on the one where the issue arises). I can't figure out why the 'C:\WINDOWS\System32\python23.zip' entry is inside sys.path. That...
0
1,943
thread by: Mailer-Daemon | last post Jul 18 '05 by: Mailer-Daemon
Dear Internet Email User, this is an automated mail delivery notification, because your email has not been delivered the usual way. Your mail was not deliverd for the following reason: Your mail contained an attachment with the filename extension
0
1,223
thread by: zh-l10n-admin | last post Jul 18 '05 by: zh-l10n-admin
Your mail to 'Zh-l10n' with the subject Your details 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,268
thread by: tex-music-admin | last post Jul 18 '05 by: tex-music-admin
Your mail to 'TeX-music' with the subject Re: Your application 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

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.