FAQ

Search Discussions

126 discussions - 634 posts

  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090318/69ec6cd4/attachment.htm
    Wayne WatsonWayne Watson
    Mar 18, 2009 at 3:31 pm
    Mar 20, 2009 at 10:31 pm
  • Would anyone know how to Write an application that displays the following patterns separately, one below the other. Use for or while loops to generate the patterns. All asterisks (*) should be ...
    Jared WhiteJared White
    Mar 17, 2009 at 10:56 am
    Mar 24, 2009 at 3:14 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090303/4ef8e9ec/attachment-0001.htm
    Wayne WatsonWayne Watson
    Mar 3, 2009 at 7:54 pm
    Mar 5, 2009 at 5:13 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090305/88da9348/attachment.htm
    Wayne WatsonWayne Watson
    Mar 6, 2009 at 3:52 am
    Mar 10, 2009 at 7:48 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090317/7b2a3853/attachment.htm
    Wayne WatsonWayne Watson
    Mar 17, 2009 at 7:24 pm
    Mar 19, 2009 at 8:00 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090327/c08d7d8c/attachment.htm
    Wayne WatsonWayne Watson
    Mar 27, 2009 at 5:30 pm
    Apr 2, 2009 at 11:38 am
  • Traceback (most recent call last): File "C:\Python26\TicTacToeD.py", line 165, in <module main() File "C:\Python26\TicTacToeD.py", line 150, in main DisplayBoard(board) File ...
    WM.WM.
    Mar 8, 2009 at 7:48 pm
    Mar 9, 2009 at 8:39 am
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090317/2d702e9b/attachment.htm
    Wayne WatsonWayne Watson
    Mar 17, 2009 at 3:08 pm
    Mar 19, 2009 at 1:50 am
  • That looks better, thank you. However I still have a memory error when I try to run it on three or more files that are over 100 MB? import zipfile, glob, os from os.path import isfile ...
    Harris, Sarah LHarris, Sarah L
    Mar 10, 2009 at 3:45 pm
    Mar 17, 2009 at 1:02 pm
  • I have an open source project I have done some work on, which is programmed in Python 2.3-2.6. I would like to change it so that it can be run under both Python 3 and Python 2.x. Two questions for ...
    Andre EngelsAndre Engels
    Mar 17, 2009 at 11:33 am
    Mar 18, 2009 at 1:49 pm
  • Hi! I am about to begin to learn GUI programming with Python. What are pros and cons for PyQT and wxPython? I read that PyQT has PyQT Designer which makes GUI programming easier. Is it owned and ...
    Neven GorąićNeven Gorąić
    Mar 4, 2009 at 2:06 pm
    Mar 16, 2009 at 2:43 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090302/55a80085/attachment.htm
    Wayne WatsonWayne Watson
    Mar 3, 2009 at 3:54 am
    Mar 4, 2009 at 7:54 pm
  • I need to add one minute to a string that has a date and a time in YYYYMMDDHHMM format. e.g: 200903281346 should become 200903281347 the following script converts the string into time and adds one ...
    Pa yoPa yo
    Mar 30, 2009 at 2:52 pm
    Mar 31, 2009 at 5:16 pm
  • Friends, I do the scripting in Linux. I use vi editor to code. It is not very convenient for me. Kindly suggest me a best free *text editor* ( i can code and debug the code simultaneously ) *for ...
    Bala subramanianBala subramanian
    Mar 24, 2009 at 9:08 am
    Mar 24, 2009 at 10:24 pm
  • Hi Tutors, I have two pickled dictionaries containing word counts from two different corpora. I need to add the values, so that a word count is the sum of both. If the word "man" has a count of 2 in ...
    Emad Nawfal (عماد نوفل)Emad Nawfal (عماد نوفل)
    Mar 20, 2009 at 3:11 pm
    Mar 21, 2009 at 9:46 am
  • When I enter the following code into IDLE do both lists have the same value? How would I manipulate both lists separately? [3, 2, 1] [3, 2, 1] [3, 2, 1, 0] [3, 2, 1, 0]
    sphennings W.sphennings W.
    Mar 7, 2009 at 7:09 pm
    Mar 8, 2009 at 11:59 am
  • Evaluating Swahili Part of Speech Tagging. How can I write a Python script for that? # The information provided herein about Swahili may not be accurate # it is just intended to illustrate the ...
    Emad Nawfal (عماد نوفل)Emad Nawfal (عماد نوفل)
    Mar 24, 2009 at 3:35 pm
    Mar 24, 2009 at 5:21 pm
  • Dear all I want to start learning python but before going further I need answer to my questions so that my path can be clear to me. I shall be grateful for your answers: 1) Where does python stand as ...
    Hussain AliHussain Ali
    Mar 17, 2009 at 6:37 am
    Mar 17, 2009 at 6:51 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090301/255aea62/attachment.htm
    Wayne WatsonWayne Watson
    Mar 1, 2009 at 6:04 pm
    Mar 1, 2009 at 9:18 pm
  • 1) I feel dumb for asking this. 2) I looked for 20 minutes and didn't find an answer Trying to make a drawLine function in a 2d array. example: x0000?? row = 25 : col = 10 x0000?? row = 26 : col = ...
    James carnellJames carnell
    Mar 31, 2009 at 3:44 am
    Apr 1, 2009 at 5:14 pm
  • Friends, My files are like below file1 file2 Remark Remark ---- ----------- ---- ----------- I have huge number of such files. I want to concatenate all files in one huge file. I could do it with a ...
    Bala subramanianBala subramanian
    Mar 26, 2009 at 5:42 pm
    Mar 27, 2009 at 1:01 am
  • I am trying to write a program that displays the string expression "Game Over", in a console window that remains open. my code is as follows: # Game Over console window print "Game Over" raw ...
    John JenkinsonJohn Jenkinson
    Mar 23, 2009 at 3:35 am
    Mar 23, 2009 at 9:10 pm
  • Hello I am writing a code that is supoesed to act as routers and i need to open a different cmd window for each one of them with it's name and so on. I do not know how to implement in mi Python cod a ...
    Sigga SigSigga Sig
    Mar 21, 2009 at 4:07 pm
    Mar 22, 2009 at 4:58 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090319/f8225793/attachment-0001.htm
    Wayne WatsonWayne Watson
    Mar 19, 2009 at 9:39 pm
    Mar 21, 2009 at 4:23 am
  • Hi Tutors, How can I extract a specific sublist (??) from a nested list, for example, if I want to extract the sublist ["ADJ", "good"], or the bigger sublist ["NP",["DET", "The"],["ADJ", ...
    Emad Nawfal (عماد نوفل)Emad Nawfal (عماد نوفل)
    Mar 11, 2009 at 1:44 am
    Mar 11, 2009 at 9:21 pm
  • I am having some difficulties in producing the correct code for a simple binary to decimal conversion program. The arithmetic I want to use is the doubling method - so if I wanted to get the decimal ...
    Chris CastilloChris Castillo
    Mar 10, 2009 at 12:25 am
    Mar 10, 2009 at 9:32 pm
  • Hi, Python throws OperationalError while trying to do any database operations. I am using pgdb module. * **Code:*import pgdb __metaclass__=type class addbook: ...
    Bijoy francoBijoy franco
    Mar 31, 2009 at 6:15 pm
    Mar 31, 2009 at 11:51 pm
  • myinput = raw_input("Please enter a binary real number: ") myinput = myinput.split(".") binstr1 = myinput[0] binstr2 = myinput[1] decnum1 = 0 decnum2 = 0 for i in binstr1: decnum1 = decnum1 * 2 + ...
    Chris CastilloChris Castillo
    Mar 30, 2009 at 3:42 am
    Mar 30, 2009 at 10:45 am
  • Hi Folks: My company is setting up a new website, like to have a python logo on it. Can anyone recommed a logo that would be legal for us to use? Thanks Tim
    Tim JohnsonTim Johnson
    Mar 24, 2009 at 8:45 pm
    Mar 25, 2009 at 6:13 pm
  • Newbie here who can't figure out why this doesn't work: start = input("Please enter the starting number.\n ") print(type(start)) while type(start)!=float: start = input("Sorry, that number was ...
    Ian EglandIan Egland
    Mar 14, 2009 at 9:49 pm
    Mar 15, 2009 at 1:20 pm
  • Everything is in the title ;-) (Is it kind of integers representing the code point?) Denis ------ la vita e estrany
    SpirSpir
    Mar 30, 2009 at 7:36 am
    Apr 1, 2009 at 1:08 am
  • Hi, I started using python three months ago in order to create scripts for the abaqus fea software. The initial script became bigger and bigger and finding myself spending lots of time just trying to ...
    Martin KlimachMartin Klimach
    Mar 28, 2009 at 10:34 am
    Mar 31, 2009 at 6:14 pm
  • I am trying to make a simple Todo program and I can not get the dictionary to update. This works; #!/usr/bin/python key = 'Clean house' value = (1,2,3,4) todo = {key:value} value = (5,6,7,8) ...
    DavidDavid
    Mar 27, 2009 at 5:31 pm
    Mar 27, 2009 at 6:46 pm
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090325/0a4d2582/attachment.htm
    Wayne WatsonWayne Watson
    Mar 26, 2009 at 3:54 am
    Mar 26, 2009 at 7:31 pm
  • what are the ways in which i can use C in python programs . I know there is SWIG bindings are there any other . Also Could anyone explain how Swig bindings work? -- A-M-I-T S|S An HTML attachment was ...
    Amit sethiAmit sethi
    Mar 25, 2009 at 9:13 pm
    Mar 26, 2009 at 12:13 am
  • Hello! I have written an application in python that uses a MySQL database. I want to distribute this application to many users so I created an executable using GUI2exe. My executable works ...
    Lauren SnyderLauren Snyder
    Mar 21, 2009 at 9:42 pm
    Mar 23, 2009 at 11:40 pm
  • Hi all! Im currently trying to learn how to use python. But my only problem seems to be at what to make? So anyone have a nifty list or some ideas on things to program, school tasks or algorithms to ...
    Mathias AnderssonMathias Andersson
    Mar 22, 2009 at 10:02 pm
    Mar 23, 2009 at 9:53 am
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090317/24af62cc/attachment.htm
    Wayne WatsonWayne Watson
    Mar 17, 2009 at 4:35 pm
    Mar 18, 2009 at 3:25 am
  • Hi Tutors, I've never had a situation in which this was useful for me, but I'm just curious. If there is a text file that has a list or number of lists in it, is there is a way to read the lists in ...
    Emad Nawfal (عماد نوفل)Emad Nawfal (عماد نوفل)
    Mar 12, 2009 at 4:10 pm
    Mar 16, 2009 at 7:59 pm
  • hi, i have a list which contains duplicate dictionaries. how do i extract the unique items out? l1 = [{'a': 'ddd'}, {'a': 'ddd'}, {'b': 'eee'}, {'c': 'ggg'}] set(l1) TypeError: dict objects are ...
    QsqgeekyogdtyQsqgeekyogdty
    Mar 14, 2009 at 1:16 pm
    Mar 16, 2009 at 9:50 am
  • Hello, I am new to Python and as a first project decided to try to parse an XML report using Python. I have the following, which works to extract one element. I am stuck, however, at one element. I ...
    MarcMarc
    Mar 10, 2009 at 11:02 pm
    Mar 13, 2009 at 1:40 am
  • Hi, Can anybody tell me how to send an email to a recipient using PythonI am trying to send an email using GmailI create an instance of ?smtplib and use :x=smtplib.SMTP(sever,port)?and ...
    Samuel AvinashSamuel Avinash
    Mar 10, 2009 at 11:11 am
    Mar 11, 2009 at 4:36 pm
  • hello, i have this list which contains a number of dictionaries. Airline Cons.'}, {'is_selected': False, 'id': 'AALA', 'title': 'Adv. Activity Licence. Auth.'}, {'is_selected': False, 'id': 'ABPCO', ...
    SkiSki
    Mar 9, 2009 at 3:28 pm
    Mar 9, 2009 at 4:05 pm
  • i start learning pyton language i want to print some thing but when i type : print "hello world" but it give an error like this SyntaxError: invalid syntax (<pyshell#18 , line 1) i am using python ...
    Mustafa akkocMustafa akkoc
    Mar 6, 2009 at 6:31 pm
    Mar 7, 2009 at 1:38 pm
  • Hi Tutors, suppose I have four files in the current directory: 1.temp, 2.temp, 3.temp, and 4.temp. I want to use glob, or anything else, to print the contents of the files in their respective orders, ...
    Emad Nawfal (عماد نوفل)Emad Nawfal (عماد نوفل)
    Mar 7, 2009 at 2:52 am
    Mar 7, 2009 at 12:36 pm
  • *So here is my program, I'm pulling some information off of my Snipt feed .. * import feedparser d = feedparser.parse('http://snipt.net/dorseye/feed') x=0 for i in d['entries']: print ...
    Eric DorseyEric Dorsey
    Mar 4, 2009 at 5:43 am
    Mar 4, 2009 at 9:40 pm
  • Hello, I can't seem to figure out the syntax to calculate the difference in minutes between two time stamps. I already read the documentation about datetime and time modules, but I was unable to ...
    Judith FloresJudith Flores
    Mar 3, 2009 at 1:45 am
    Mar 3, 2009 at 9:10 pm
  • I'm sorry, I've realized I didn't explain my needs at all. I was a little influenced by drupal's definition of modules, which is completely different from python's. With module here I meant plug-in ...
    DanieleDaniele
    Mar 1, 2009 at 9:44 pm
    Mar 2, 2009 at 8:12 am
  • Hello, I have a PyGTK application where the user is able to click on a button, then a new dialog pops up with a treeview and the program fills this view with data from a shelve. Everything works, the ...
    TimoTimo
    Mar 30, 2009 at 7:54 am
    Mar 31, 2009 at 5:27 pm
  • Hello, I am new to python. I just came to know about this classes SimpleCookie and SmartCookie. I could get that usage. But I didn't get the difference between these classes? Can anybody please tell ...
    KumarKumar
    Mar 24, 2009 at 2:33 pm
    Mar 25, 2009 at 10:41 am
Group Navigation
period‹ prev | Mar 2009 | next ›
Group Overview
grouptutor @
categoriespython
discussions126
posts634
users122
websitepython.org

122 users for March 2009

ALAN GAULD: 101 posts Wayne Watson: 79 posts Kent Johnson: 63 posts Emad Nawfal (عماد نوفل): 19 posts Lie Ryan: 15 posts A.T.Hofkamp: 13 posts W W: 13 posts David: 12 posts Bob gailer: 11 posts John Fouhy: 11 posts Marc Tompkins: 10 posts Ski: 10 posts Greg whittier: 9 posts Bala subramanian: 8 posts Chris Fuller: 8 posts Emile van Sebille: 8 posts Jared White: 7 posts Sander Sweers: 7 posts Spir: 7 posts Daniele: 6 posts
show more
Archives