473,796 Members | 2,537 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.
6
31,825
thread by: Leo | last post Jul 18 '05 by: Michael Peuser
hi there i want python to do a beep. in the docu i found in tkinter the method bell() but the script: import Tkinter Tkinter.bell() gives the error:
4
5,349
thread by: Jane Austine | last post Jul 18 '05 by: Cousin Stanley
I donwloaded win32all for Python 2.3 and installed it. I manually run pyscript.py and it returned "successfully registered" message. For a simple test(on client side), I created the following html: <script language=Python> alert("hello world") </script>
1
1,669
thread by: Howard Lightstone | last post Jul 18 '05 by: Martin v. Löwis
I *foolishly* started a Python project (3 years ago) with considering Unicode issues. Now, I want to resolve future problems with international versions of my software. The key point here is Tkinter. I believe (from reading this list) that I can expect that SOME returned text may be Unicode (depending on content and Windows locale...
9
4,792
thread by: Mike Henley | last post Jul 18 '05 by: Lulu of the Lotus-Eaters
I first came across rebol a while ago; it seemed interesting but then i was put off by its proprietary nature, although the core of the language is a free download. Recently however, i can't help but say i was totally impressed. I needed an open source wikiblog/wikilog, whatever you wanna call it, basically a hybrid of a blog and a wiki. I...
11
1,803
thread by: post400 | last post Jul 18 '05 by: Tayss
Hi, apparently there is a very famous book that every developer should read: Code complete by Steve McConnell ! Is there an electronic version freely downloadable ? After all, the book was released in 1993 , it should have been public domain by now ! It would be nice to have a try before ! 50€ is not exactly cheap ! What do you think ?...
8
4,546
thread by: Birgit Rahm | last post Jul 18 '05 by: Gerhard Häring
Hallo Newsgroup, I have the following problem: I work with Python 2.2 and invoke functions via CORBA ( I use onmiORB/omniORBpy) on a server. The server provides me a function, where the 3 arguments are out-arguments and the return is void / None. How can I get these out arguments? I have read that every argument is seen as local to the...
3
622
thread by: Scribe | last post Jul 18 '05 by: Nick Welch
Hi Somewhat new to Python and would appreciated some help in selecting the best builtins to achieve what I want. I pass a string to a function, it is either empty spaces alpha and digits or a decimal ie. 5,789.88 if it is a decimal I want to return the number without the commer any
0
1,210
thread by: Nowan | last post Jul 18 '05 by: Nowan
Hi, I'm running Win 2K Pro Apache 1.3 (IBM version, starting manually, not a service) Spyce 1.3.11 (latest version) Python 2.2.2 (ActiveState) Everything installed as an administrator.
0
1,958
thread by: Rasmus Fogh | last post Jul 18 '05 by: Rasmus Fogh
Dear All, I need a way of writing strings or arbitrary Python code that will a) allow the strings to be read again unchanged (like repr) b) write multiline strings as multiline strings instead of escaping the \n's. A repr function that output triple-quoted strings with explicit (non-escaped) linebreaks would be perfect.
8
19,878
thread by: Hank | last post Jul 18 '05 by: Hank
Hi, I have a CSV file from excel that looks like this (simplified): name,description,type1,type2,name,filename test1,this is a test,0.000,1.000,, test2,another test,1.000,0.000,newname,filename test3,this is a test,0.000,1.000,, test4,this is a test,0.000,1.000,, test5,this is a test,0.000,1.000,,
1
2,595
thread by: Domenico Andreoli | last post Jul 18 '05 by: Domenico Andreoli
Hi, I did a little research about execution of Python setuid scripts. I found only a couple of C wrappers I don't like. So I wrote my own, it is available at . Feel free to send comments. 2c http://savannah.nongnu.org/cgi-bin/viewcvs/prua/prua/python-setuid.c
0
1,173
thread by: zsh-announce-help | last post Jul 18 '05 by: zsh-announce-help
Hi! This is the ezmlm program. I'm managing the zsh-announce@sunsite.dk mailing list. Acknowledgment: The address python-list@python.org was not on the zsh-announce mailing list when I received your request and is not a subscriber of this list.
0
569
thread by: Benefit_Antivirus_SMTP_Gateway | last post Jul 18 '05 by: Benefit_Antivirus_SMTP_Gateway
Content violation found in email message. From: python-list@python.org To: lennart.petersson@benefit.se File(s): document_all.pif Matching filename: *.pif
0
471
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/ This update fixes a few formatting problems, including the mysteriously dropped cells in the "standard encodings" table. Also in this update, printing an HTML page from a browser with a good CSS2 implementation will not produce the second...
1
4,577
thread by: Sebastien de Menten | last post Jul 18 '05 by: Andrew Dalke
Hi, I've read lot of messages on googlegroups without finding what I'm looking for :-( I need a plugin that enables me to access a python VM directly from excel (the COM server path is not satisfactory as it uses the registry). Grosso modo, if I have the equivalent of the python module/plugin of
1
3,057
thread by: Andrew Wheatley | last post Jul 18 '05 by: Michael Peuser
In the text component, I use the insert method to insert a line of text. Initially, I set the foreground colour of the text component to yellow, that is, all text is yellow. What I'd like to do is have different strings have different coloured text. You can't change the foreground color of the text component without changing all the...
1
2,357
thread by: Carlos Moreira | last post Jul 18 '05 by: Martin v. Löwis
I want to install Python third packages in a non-default directory. What´s the better way? - PYTHONPATH variable? - *.pth files in site-packages? I know that the two methos above are equivalents. But what method will be keep in future Python releases (for example)?
1
2,164
thread by: Roman Yakovenko | last post Jul 18 '05 by: Martin v. Löwis
Hi. What I don't understand is why I dump to xml string that contains new - lines and when I read it from xml new lines replaced by spaces. May be I do something wrong? Or may be I just need to define encoding? Here is some simple program that reproduce it. #------------------ import xml.dom.minidom doc = """1
1
2,201
thread by: Hans Nowak | last post Jul 18 '05 by: Martin v. Löwis
Howdy y'all, The following works in Python 2.2.2: Python 2.2.2 (#37, Oct 14 2002, 17:02:34) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from xml.dom.minidom import Text >>> t = Text("foo") >>> t <DOM Text node "foo">
1
1,389
thread by: John D. | last post Jul 18 '05 by: Suchandra Thapa
I have a Python program which runs as user 'www' (it's a CGI). It needs root privilege to write a particular file. What's the best way of doing this while remaining secure? Right now I do os.system("sudo myutil parms") and pass the parms to it. I remove : < > & | from the parm string before passing it. Is there a way to do this without...
1
2,112
thread by: Gary Robinson | last post Jul 18 '05 by: Martin v. Löwis
We have an application which involves storing a lot of strings in RAM. It would be most convenient to use Unicode strings, but I am wary of doubling memory usage. My fear is based on the idea that unicode strings may take two bytes per character in order to accomodate non-ascii characters. But I don't know whether that's actually how Python...
2
2,172
thread by: Talon | last post Jul 18 '05 by: Mark Carter
Hi all, I am new to Tk, so please bear with me. I need someone better at math than me to help me figure this out. I am drawing multiple arcs on the same circle. All arcs start at 90 and have varying negative extents (different colors, goes all the way around. Represents a microbial genome). So now that my arcs are drawn, I would would...
3
1,520
thread by: Gilles Lenfant | last post Jul 18 '05 by: Paul Winkler
Hi, I didn't receive anything from the various Zope mailing lists I should receive. zope@zope.org zope-cmf@zope.org zope-dev@zope.org Other subscribers can confirm or have I got problems ?
3
11,870
thread by: Rebecca Taylor | last post Jul 18 '05 by: Bob Gailer
I have been working with win32com on python for 2 years now. I recently tried to modify an older script I had made which creates and excel workbook, fills it with data and then graphs the data. Nothing is working! When I try to run it I get this error: "Property '%s.%s' can not be set." % (self._username_, attr) AttributeError: Property...
0
385
thread by: MailNoida2/TCSDELHI/TCS | last post Jul 18 '05 by: MailNoida2/TCSDELHI/TCS
Incident Information:- Database: e:/lotus/domino/data/mail4.box Originator: python-list@python.org Recipients: <rajagopal_cv@delhi.tcs.co.in> Subject: Re: Thank you! Date/Time: 09/04/2003 09:11:01 PM The file attachment movie0045.pif you sent to the recipients listed above was infected with the W32/Sobig.f@MM virus and was...

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.