473,796 Members | 2,578 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.
1
7,814
thread by: tjland | last post Jul 18 '05 by: Michael Hudson
Can python monitor keyboard input for lets say i want to have my program return to the main menu when the user hits escape! Can python do this or am i going to have to embed some c++ program into it? Thanx When you see the net take the shot When you miss your shot shoot again When you make your shot you win! Just remember
1
7,677
thread by: Gary Richardson | last post Jul 18 '05 by: Fredrik Lundh
I've been working on a Python version of Andreas Weber's ASCII schematic drawing program ( http://www.tech-chat.de) ; not that I thought I could do it better but just as a programming exercise. I've managed to put together something that more or less works but I'm puzzled by the way ASCII characters are displayed on a Canvas window. For...
6
2,908
thread by: David Lees | last post Jul 18 '05 by: Neil Hodgson
I have a real basic how-to question. When I decide to reuse a piece of python code at a different indentation level than the original, is there a common trick (or set of tricks) for moving the indentation correctly for the whole block? Probably this is editor dependent, so if some has a FAQ or pointer to a page please feel free to post. ...
0
482
thread by: fsc | last post Jul 18 '05 by: fsc
Violation found in email message. From: python-list@python.org To: hildjj@fuentez.com
0
2,108
thread by: Max M | last post Jul 18 '05 by: Max M
If anybody is interrested in Midi, but are not on the Python Midi list, I will just notify that I have released the first version of a high level midi package for Python. It is fully functional. It reads and writes midi files! It is *very* easy to write your own event handlers to make midi files do whatever you want them to. It uses the...
2
6,408
thread by: Markus Doering | last post Jul 18 '05 by: Markus Doering
Hello, I just switched from 2.2 to Python 2.3. I am developing an XML/CGI interface to databases as a python package called "unitWrapper" containing several modules which ran fine under v2.2. Running Python2.3 under windows2000 I get import errors when a module imports another module of the same package with absolute package-names like...
5
20,849
thread by: Sami Viitanen | last post Jul 18 '05 by: Fernando Perez
Hello, Is there an easy way to make script print text with differents colors to screen (shell)? I mean a script that can for example print lines in red if some error occurs in executing some information.. --SV
0
822
thread by: jackson | last post Jul 18 '05 by: jackson
In an ongoing effort to reduce the flood of emails I receive every day, I've initiated this automatic response email. If your email was concerning any of the following subjects, then this automatic email will serve as my response. First, please read the FAQ at http://www.wsgforum.com/forumfaq.html. The FAQ has the answers to 62 frequently...
0
1,210
thread by: postmaster.a.reuters.lon | last post Jul 18 '05 by: postmaster.a.reuters.lon
Your message could not be delivered. MICHAEL.BATTYE.REUTERS.COM@REUTERS.NET - Invalid user name or user not permissioned Content-type: multipart/mixed; boundary="_NextPart_000_00223216" Date: Tue, 26 Aug 2003 08:28:36 +0800 From: python-list@python.org Importance: Normal Message-id: <200308260026.AAA29750@relay3.reuters.net>
0
1,782
thread by: Gavin Tomlins | last post Jul 18 '05 by: Gavin Tomlins
Greetings All, I've done a bit of search on the web for python scripts to automate the backup of MySQL databases but haven't had much success. I've come across a decent PERL module and are thinking about porting that, however I just wished to see if anyone has any snippets available prior to taking this path. I do have specific criteria...
2
1,259
thread by: WIWA | last post Jul 18 '05 by: Erik Max Francis
Hi, I'm writing an application to analyse my Apache access_log file. In the below script (which is based on an example I found in 'How to think as a Programmer'-) I want to measure the amount of hits per hour. I know it is not the best algorithm but it works for now. I see some strange things: on rather small (it must be +/- < 4000 )...
2
7,402
thread by: Bill Sneddon | last post Jul 18 '05 by: Bill Sneddon
Anyone have an example they are willing to share that shows how to use the store command in imaplib? store( message_set, command, flag_list) Alters flag dispositions for messages in mailbox. I have been unable to find one or get the syntax correct through trial and error. I can send the command to the server in the following manor.
4
2,302
thread by: Bgc | last post Jul 18 '05 by: Mark Roseman
Hello All, I've been struggling for years now trying to come up with a solution to a very personal programming problem with Python. I'm an educational programmer, and I make applications that are used in educational environments by nontechnical folks. I therefore need GUIs that are pretty, easy to use, and cross platform (win, mac, linux,...
1
3,472
thread by: Thomas Williams | last post Jul 18 '05 by: Sybren Stuvel
Hello everyone, my name is Tom W. And, I am new to the list, and have been using Python for about a year now. Anyway, I got a question! I am trying to decode MIME (base64) email from a POP3 server, but all I get is a corrupt file. I know that it good to begin with because I check it with another email client. This is what I am doing!
3
1,260
thread by: Nomen Nescio | last post Jul 18 '05 by: Gary Herron
Hi When I does this like hear failre goes: def pinhtranh(*args, laoc_te): phnoi_crek(args, laoc_te) I do "laoc_te" last praemetr name always.
2
1,747
thread by: BadJake | last post Jul 18 '05 by: Skip Montanaro
Hi I have just found out the my hosting service includes Python support. Unfortunately, they make no mention of this on their web site. There are too few hosting companies that offer Python support so I would like to share this one with you. You can find out by pointing your brower at http://www.krellen.com For $14.95 per month you get the...
7
5,003
thread by: John J. Lee | last post Jul 18 '05 by: Cousin Stanley
I've put together a Python package for scraping / testing pages that depend on embedded JavaScript code (without depending on IE, Mozilla or Konqueror, and with the DOM etc. all implemented in pure Python -- mostly a hacked 4DOM, with some bits from pxdom; the JavaScript interpreter I'm using ATM is spidermonkey). It's still missing a lot...
0
1,147
thread by: Steward-owner | last post Jul 18 '05 by: Steward-owner
>>>this is a multipart message in MIME format Unknown command ignored. >>>--_nextpart_000_02bc09fe Unknown command ignored. >>>content-type: text/plain; Unknown command ignored. >>> charset="iso-8859-1"
7
6,225
thread by: hokieghal99 | last post Jul 18 '05 by: Peter Parente
Does anyone know of a keystroke logger that has been written in Python for Windows machines? I'd like to see such a script and use it as a point of reference for a real-time backup project that I'm working on. Basically, I'd like to be able to capture all keystrokes from the keyboard buffer and write them to a text file so I could reporduce...
0
1,365
thread by: Raymond Hettinger | last post Jul 18 '05 by: Raymond Hettinger
QOTW: "You're only overlooking the consequences of an infinite amount of information <wink>." -- Tim Peters on why the bitwise-not operator is equivalent to -(n+1). "Perl, Python, Ruby and Tcl are the four dynamic programming languages that get the most publicity as open source projects, and I think they have a lot more in common than they...
0
1,227
thread by: System Attendant | last post Jul 18 '05 by: System Attendant
ScanMail for Microsoft Exchange has blocked a file attachment(s). Place = Tortorella, Joe Sender = python-list@python.org Subject = Re: Approved Delivery Time = August 25, 2003 (Monday) 06:52:58 Action on file attachment(s): Delete 'thank_you.pif' at Tortorella, Joe
2
1,946
thread by: Franck Bui-Huu | last post Jul 18 '05 by: Franck Bui-Huu
Hello, I'm trying to customize a list by overriding __getitem__ method but this change seems to not work with for iteration. When I use my customized list in a for iteration, all changes made in __getitem__ are not take into account. How can I modify this behaviour ? Thanks
1
3,525
thread by: tjland | last post Jul 18 '05 by: Peter Otten
Okay i wrote a small program that allows users to creat book listings featuring copyright date author and title. Now when i display the book listings i get this. Book: testover6 Author: ??? Copyright: 2003 Book: testu6 Author: ??? Copyright: 2003 Okay now after the book title their is supposed to a tab the coding goes like...
15
2,144
thread by: Hilbert | last post Jul 18 '05 by: Chad Netzer
Hello, I'm using python to output RIB streams for Renderman. The RIB stream is a bunch of statements which describes a 3d image. The Rib standard allows for blocks which we usually indent for better visualization for example: WorldBegin Color Surface "constant"
0
1,871
thread by: Molly | last post Jul 18 '05 by: Molly
Peace, Pythonphiles! Python's std lib BaseHTTPServer: I'm stuck with a nasty spoiler -- I get erratic "Network error: disconnected by peer" for _POST_ requests only. =Background= I'm developing a Python CGI app. Was using Xitami, which is really light and nice, reasonable performance (circa 200-300 msec to respond,

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.