Search Discussions
-
I seem to have lost the original link, but thanks to whoever posted the url for the python challenges. I've been working through them and they've made for a fun afternoon :) I even came up with a ...
D. Hartley
May 6, 2005 at 12:10 am
May 11, 2005 at 3:12 pm -
OK I am stuck on this one. I see what I need to do (correct me if I am wrong). But I need to write a script that will replace each letter by another one (In this case a -- c etc.). I look at String, ...
John Carmona
May 9, 2005 at 10:40 am
May 10, 2005 at 9:11 pm -
Hello, Let say I have several class instances in a list, and these class instances have an attribute named "value", whose value is an integer. I would like to know if it is possible to loop over the ...
Bernard Lebel
May 11, 2005 at 5:32 pm
May 19, 2005 at 11:33 pm -
Hello all, I've been trying to use javascript for coding something on a webpage, and I've just about given up on understanding the intricacies of why a given script will work now and not in 5 ...
Orri Ganel
May 21, 2005 at 3:03 am
May 22, 2005 at 8:54 pm -
Thanks I got it........finally Now I'm stucked in the riddle 6 As I understand I have to find a secret file (which I have but inside there is like 900 files) and do something with it Can someone give ...
Alberto Troiano
May 9, 2005 at 2:55 pm
May 10, 2005 at 8:45 pm -
Does anyone have a hint as to what things like this: \xaf\x82\r\x00\x00\x01\ refer to? I have googled it and searched python for modules/library sections related to the google pages I found, but as ...
D. Hartley
May 12, 2005 at 12:26 am
May 12, 2005 at 3:06 pm -
Hello, I am working on learning Python and writing some console applications to apply what I am learning - I am using a generator function to implement a status indicator as follows: import sys def ...
John Clark
May 7, 2005 at 11:28 am
May 9, 2005 at 7:01 pm -
I know how to write a prog. But, I don't know how to plan a prog. with algorithm. If algorithm of a part of a prog. is like.. ...
. ,
May 29, 2005 at 7:21 pm
May 31, 2005 at 10:14 pm -
With the help of Pujo Aji I have written this little script that print every single ASCII code S = [chr(x) for x in range (0,256)] for x in S: print x, The next step is to use the built-in functin ...
John Carmona
May 25, 2005 at 11:47 pm
May 28, 2005 at 9:59 am -
I've often found it convenient to run a Python program I'm developing with the -i flag. I find it convenient to use as a post-mortem as it hits bugs, or to explore data structures. I've recently ...
Terry Carroll
May 17, 2005 at 5:32 pm
May 20, 2005 at 9:56 am -
Good morning, I came across a rather odd issue with scoping. Can someone explain why testa and testc works, but not testb. I am running under python 2.4.1 on Windows NT. thanks, Michael x = 5 def ...
Michael Coll-Barth
May 7, 2005 at 1:56 pm
May 9, 2005 at 8:45 pm -
Hey I'm working on Python 2.2 over Linux REd Hat 9.0 and here is the code I have import os import sys import MySQLdb import datetime import time class conexion(object): def __init__(self): self.db = ...
Alberto Troiano
May 17, 2005 at 1:36 pm
May 19, 2005 at 12:48 pm -
Hi list. I want to make a program to lock folders (so the user can only access them if he knows the password) under win32, the only problem is that I have no idea how to start or what to do. Do you ...
Mark Kels
May 26, 2005 at 12:00 pm
Sep 4, 2005 at 2:37 pm -
I can't get: import wave as w def manipulate(): manipulate = raw_input("Type 'help' for help\nManipulate ") if manipulate == "play": w.tell() elif manipulate == "back()": main_menu() def open(): ...
Joseph Quigley
May 24, 2005 at 1:49 am
May 26, 2005 at 8:08 am -
And just in case anyone *isnt* working on the riddles....: anyone have a pointer to a *SIMPLE* intro to xml as used in python? I looked in the library and there are about 11 xml-related modules. ...
D. Hartley
May 24, 2005 at 9:59 pm
May 25, 2005 at 7:55 am -
Version 0.8.5 of rur-ple has been released. The web site has completely changed; it includes over 35 pages. http://rur-ple.sourceforge.net/ -------------------------------------- Learning to program ...
André Roberge
May 10, 2005 at 3:48 am
May 11, 2005 at 12:36 am -
As seen on python-announce (via Dr Dobbs): http://www.pythonchallenge.com/ Good fun! -- John. [currently on riddle 6]
Jfouhy
May 4, 2005 at 11:53 pm
May 9, 2005 at 12:03 am -
Hey all This is the program I need to do and I haven't been able to figure out photos all the time. The user configure his recording time and then a daemon has to check for the photos that does not ...
Alberto Troiano
May 2, 2005 at 9:36 pm
May 4, 2005 at 3:18 pm -
hello Restore internal state from object returned by getstate(). my question is " how can i loop through all the methods in a module and print out their '__doc__' content ? print ...
Johan Meskens CS3 jmcs3
May 27, 2005 at 11:46 am
May 27, 2005 at 5:47 pm -
I'm running an application that has a polling loop to check a serial port for certain signals, and on my laptop I can get about 6700 samples per second, which (of course) consumes 100% CPU; which may ...
Roger Merchberger
May 23, 2005 at 10:46 pm
May 26, 2005 at 9:52 pm -
Is there a way to create an empty function definition with no lines of code in it? In my coding style I will often do this ( in other languages ) for RAD just to remind myself that I will need to ...
Gooch, John
May 26, 2005 at 3:42 pm
May 26, 2005 at 9:07 pm -
I need to print all the ASCII characters within a string, how would I delimit for example to print the first 100 only? Many thanks JC
John Carmona
May 24, 2005 at 9:10 am
May 24, 2005 at 6:40 pm -
Does anyone know of a Python debugger that will run under OSX 10.4? The Eric debugger was looked at, but it's highly unstable under Tiger. Thanks. -MH An HTML attachment was scrubbed... URL: ...
Mike Hall
May 18, 2005 at 7:15 pm
May 19, 2005 at 5:27 pm -
Hello list How do I read the comments attached to a zipfile or for any file .?
Servando Garcia
May 28, 2005 at 3:53 pm
Jun 15, 2005 at 6:39 pm -
Hello Is there a increment operator in python similar to c++ like so "SomeVariable++"
Servando Garcia
May 28, 2005 at 3:25 am
May 28, 2005 at 6:54 pm -
An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/tutor/attachments/20050525/4d127e06/attachment.html
Mohammad Mohiuddin
May 25, 2005 at 4:43 pm
May 28, 2005 at 8:34 am -
Good evening! I am trying to pass a number variable and have it converted to hex. Any recommendations on how to achieve this? Thank you. FAILS ---------- Traceback (most recent call last): File ...
Tom Tucker
May 25, 2005 at 2:56 am
May 25, 2005 at 2:04 pm -
Hello, I am having trouble with passing variables between frames (Frame1 and Dialog1). I'm using wxpython to write an application. when I run my application the parent frame appears and within the ...
Jeff Peery
May 23, 2005 at 10:00 pm
May 25, 2005 at 3:00 am -
I'm making a program that opens a file and tries to find the word you specify. I can't get it to find the word! I also would like to know how I can get it to print 2 lines above and 2 lines below the ...
Joseph Quigley
May 18, 2005 at 1:19 pm
May 19, 2005 at 5:27 pm -
Hello, I'm stuck on part 8 of the Python Challenge. To solve it, I want to feed 2 pieces of data to a Python module. I get those pieces by reading the webpage source, and then splitting it on "'", ...
Pieter Lust
May 18, 2005 at 1:04 pm
May 19, 2005 at 11:20 am -
I'm working on a Python development project which spans multiple people. We are all working on Windows and using the PyWin IDE. Our code is revision controlled using Perforce. Already we had one ...
Smith, Jeff
May 17, 2005 at 1:35 pm
May 18, 2005 at 10:27 pm -
Is there a more Pythonic way to get the Perl equivalent of $#var other than len(var) - 1 Thanks, Jeff
Smith, Jeff
May 17, 2005 at 9:00 pm
May 18, 2005 at 5:47 pm -
Hey Another problem Here is an example of what I want to do: I run over Linux shell the following command: [root at siseg root]# fec=cam`date +%Y%m%d%H%M%S`.jpg [root at siseg root]# echo $fec ...
Alberto Troiano
May 13, 2005 at 8:03 pm
May 17, 2005 at 7:27 am -
Suppose I have several variables, e.g.: a, b, c, d, e, f, g. I would like to be able to see if they're all the same, I don't care what the value is, as long as they're equal. If they're all equal to ...
Terry Carroll
May 15, 2005 at 5:54 am
May 16, 2005 at 8:26 pm -
Hi, i am a Biology student taking some early steps with programming. I'm currently trying to write a Python script to do some simple processing of a gene sequence file. A line in the file looks like: ...
Cgw501
May 13, 2005 at 7:36 pm
May 16, 2005 at 12:03 pm -
Hello- I have been asked to write an article for the IEEE "IT Pro" magazine dealing with using Python in the medical field. The editors asked for about half the article dealing with using Python and ...
Greg Lindstrom
May 13, 2005 at 12:52 pm
May 13, 2005 at 8:06 pm -
MyText = open('The_text.txt','r').read() In the above line could someone tell me what the 'r' stand for. Many thanks JC
John Carmona
May 11, 2005 at 4:50 pm
May 11, 2005 at 10:20 pm -
Thanks to the many hints from the list I have made it to level four, of the python challenges. Many thanks to all. I truly have been looking for a solid example to follow on the use of the URL ...
Servando Garcia
May 10, 2005 at 6:37 pm
May 11, 2005 at 1:17 am -
Hello, everyone! I know you didn't expect to hear from me anymore about these pesky challenges, since I started the off-tutor list about it, but I'm afraid I'm stuck and cannot get a hint. If I want ...
D. Hartley
May 31, 2005 at 9:11 pm
Jun 1, 2005 at 5:58 pm -
One of my favourite unix applications is wget. Thinking how easy (and fun) it might be to implement with pythons excellent librairies has led me to a few questions. First, I found the progress bar ...
Aaron Elbaz
May 27, 2005 at 10:40 pm
May 29, 2005 at 3:00 am -
Hi, I have to write a function that will return the index of a line like this: gvcdgvcgdvagTVTVTVTVTVTHUXHYGSXUHXSU where it first becomes capital letters. I've had about a hundred different ideas of ...
Cgw501
May 26, 2005 at 7:15 pm
May 26, 2005 at 9:54 pm -
short version: I need a way to get max and min E and N out of [(E0,N0),(E1,N1)...(En,Nn)] without reordering the list long version: I would like a list of geographic coordinates (Easting, Northing) ...
Ron Phillips
May 25, 2005 at 1:03 pm
May 26, 2005 at 11:22 am -
Hi, How to know all the exceptions that there are? (i.e. OSError, ImportError) And all error messages of each exception? (i.e. err_o.strerror, err_o.filename) Thanks in advance!
Jonas Melian
May 25, 2005 at 10:31 am
May 25, 2005 at 12:49 pm -
Hi all, I have to working with the files lines in this directory: ::: dir_locales = "/usr/share/i18n/locales/" for line in fileinput.input(glob.glob(os.path.join\ (dir_locales, "*_[A-Z][A-Z]"))): ... ...
Jonas Melian
May 24, 2005 at 2:02 pm
May 24, 2005 at 3:39 pm -
Hi all, Any one know how to make a shutdown, restart, logoff call in windows os like 98, 2000 and xp? Implemented in python, can use python win32 extensions. But not os.system('rundll/shutodwn ...'). ...
Shidai Liu
May 22, 2005 at 11:21 pm
May 24, 2005 at 11:56 am -
I've seen many (python) "plugins" (some located in site-packages [windows here]) with the name __init__.py. What's their use? class foo: def __init__: print "this starts first" def foo1(): print ...
Joseph Quigley
May 22, 2005 at 11:54 pm
May 23, 2005 at 7:14 am -
Hi I've asked a similar question before, but still I have to admit that I didn't find a solution with this particular problem here: Imaging you have a class with a certain __init__ function like: ...
Christian Meesters
May 20, 2005 at 8:22 am
May 21, 2005 at 10:29 am -
When I am open()-ing a file, I sort of expect that if the file doesn't exist that it would be created, but it doesn't, it whines about it instead. So, how do I create a file with Python? I've looked ...
William O'Higgins
May 20, 2005 at 6:45 pm
May 20, 2005 at 11:41 pm -
I'm trying to make an RPG game which is only consisted of texts. But, it doesn't work! thanks. ...
. ,
May 20, 2005 at 11:56 am
May 20, 2005 at 3:41 pm -
I am using the online book Dive Into Python. I ran the first program given and have run into an error on line 7 at the colon. Now I imagine that there is probably a corrections page at the site, but ...
Chelan Farsight
May 19, 2005 at 9:18 pm
May 20, 2005 at 1:07 pm
Group Overview
group | tutor |
categories | python |
discussions | 193 |
posts | 777 |
users | 132 |
website | python.org |
132 users for May 2005
Archives
- September 2015 (83)
- August 2015 (315)
- July 2015 (101)
- June 2015 (227)
- May 2015 (308)
- April 2015 (116)
- March 2015 (76)
- February 2015 (126)
- January 2015 (1)
- December 2014 (106)
- November 2014 (20)
- October 2014 (1)
- September 2014 (3)
- May 2014 (16)
- April 2014 (1)
- March 2014 (9)
- February 2014 (1)
- January 2014 (1)
- November 2013 (2)
- October 2013 (1)
- September 2013 (1)
- July 2013 (3)
- June 2013 (1)
- April 2013 (2)
- March 2013 (1)
- February 2013 (1)
- January 2013 (2)
- December 2012 (2)
- October 2012 (3)
- September 2012 (3)
- August 2012 (12)
- July 2012 (4)
- May 2012 (7)
- April 2012 (23)
- March 2012 (11)
- February 2012 (305)
- January 2012 (8)
- December 2011 (57)
- November 2011 (895)
- October 2011 (2)
- September 2011 (378)
- August 2011 (546)
- July 2011 (150)
- June 2011 (151)
- May 2011 (559)
- April 2011 (468)
- March 2011 (540)
- February 2011 (241)
- January 2011 (676)
- December 2010 (609)
- November 2010 (605)
- October 2010 (631)
- September 2010 (911)
- August 2010 (739)
- July 2010 (616)
- June 2010 (542)
- May 2010 (410)
- April 2010 (424)
- March 2010 (581)
- February 2010 (778)
- January 2010 (424)
- December 2009 (416)
- November 2009 (696)
- October 2009 (635)
- September 2009 (342)
- August 2009 (27)
- July 2009 (790)
- June 2009 (704)
- May 2009 (543)
- April 2009 (617)
- March 2009 (634)
- February 2009 (740)
- January 2009 (919)
- December 2008 (454)
- November 2008 (406)
- October 2008 (552)
- September 2008 (526)
- August 2008 (589)
- July 2008 (698)
- June 2008 (669)
- May 2008 (452)
- April 2008 (612)
- March 2008 (589)
- February 2008 (484)
- January 2008 (586)
- December 2007 (486)
- November 2007 (542)
- October 2007 (765)
- September 2007 (773)
- August 2007 (756)
- July 2007 (940)
- June 2007 (492)
- May 2007 (524)
- April 2007 (468)
- March 2007 (525)
- February 2007 (659)
- January 2007 (665)
- December 2006 (424)
- November 2006 (787)
- October 2006 (950)
- September 2006 (589)
- August 2006 (667)
- July 2006 (528)
- June 2006 (477)
- May 2006 (446)
- April 2006 (744)
- March 2006 (676)
- February 2006 (591)
- January 2006 (637)
- December 2005 (515)
- November 2005 (910)
- October 2005 (911)
- September 2005 (780)
- August 2005 (878)
- July 2005 (794)
- June 2005 (575)
- May 2005 (777)
- April 2005 (899)
- March 2005 (813)
- February 2005 (935)
- January 2005 (918)
- December 2004 (854)
- November 2004 (690)
- October 2004 (770)
- September 2004 (536)
- August 2004 (804)
- July 2004 (585)
- June 2004 (439)
- May 2004 (303)
- April 2004 (589)
- March 2004 (403)
- February 2004 (542)
- January 2004 (661)
- December 2003 (642)
- November 2003 (549)
- October 2003 (575)
- September 2003 (500)
- August 2003 (491)
- July 2003 (1)
- May 2003 (1)
- April 2003 (2)
- March 2003 (1)
- February 2003 (1)
- January 2003 (1)
- December 2002 (1)
- November 2002 (1)
- October 2002 (1)
- August 2002 (2)
- June 2002 (1)
- May 2002 (2)
- April 2002 (1)
- March 2002 (1)
- February 2002 (1)
- January 2002 (1)
- December 2001 (1)
- November 2001 (1)
- October 2001 (1)
- August 2001 (1)
- July 2001 (2)
- June 2001 (1)
- April 2001 (2)
- March 2001 (1)
- February 2001 (1)
- January 2001 (1)
- December 2000 (1)
- November 2000 (1)
- October 2000 (1)
- September 2000 (1)
- July 2000 (2)
- June 2000 (1)
- May 2000 (1)
- April 2000 (1)
- March 2000 (1)
- February 2000 (1)
- January 2000 (1)
- December 1999 (1)
- November 1999 (1)
- October 1999 (1)
- September 1999 (1)
- August 1999 (1)
- July 1999 (1)
- June 1999 (1)
- May 1999 (1)
- April 1999 (1)
- March 1999 (1)
- January 1998 (1)
- January 1980 (1)