[Tutor] Make a .exe

2005-03-04 Thread David Holland
I have a game I wrote using python and pygame that I am trying to change into a .exeI created the script setup.py which has this code :-setup.pyfrom distutils.core import setupimport py2exesetup(console=["Gamename.py"]) In a dos prompt with all the files there I ran :-python setup.py py2exe It

Re: [Tutor] Newbie question.

2005-03-04 Thread Gwyn Evans
On Fri, 28 Jan 2005 09:42:07 +0200, Adriaan Louw [EMAIL PROTECTED] wrote: I want to learn python as quick as possible, for web programming at first, and applications later on. Any leads? Hi, I'd start with the basic python tutorials, then have a look at something like CherryPy

Re: [Tutor] Proxy

2005-03-04 Thread Gwyn Evans
On Sat, 29 Jan 2005 16:23:29 -0800 (PST), Ali Polatel [EMAIL PROTECTED] wrote: is it possible to connect to somewhere through a proxy while using sockets module of Python to connect? If yes can you show me some basic examples? Yes, but not auto-magically. If you want to stay at the sockets

Re: [Tutor] Newbie question.

2005-03-04 Thread Kent Johnson
Adriaan Louw wrote: I want to learn python as quick as possible, for web programming at first, and applications later on. Any leads? There are many tutorials available, see http://www.python.org/doc/Intros.html for one list. I have an xp windows and ms office machine. (I'm considering linux,

[Tutor] make an .exe

2005-03-04 Thread David Holland
Noel Thanks for that info, I did do a search for that but I could not find anything useful Message: 3Date: Fri, 4 Mar 2005 10:11:51 +From: Max Noel <[EMAIL PROTECTED]>Subject: Re: [Tutor] Make a .exeTo: David Holland <[EMAIL PROTECTED]>Cc: tutor@python.orgMessage-ID: [EMAIL

[Tutor] (no subject)

2005-03-04 Thread Kevin
Hello all. I have just completed my very first python program just a simple number guessing. I would like for someone to try it out if they could and let me know how I did with it and where I could have improved apon it. There are t files main.py and defs.py Thanks

Re: [Tutor] (no subject)

2005-03-04 Thread Brian van den Broek
Kevin said unto the world upon 2005-03-04 10:43: Hello all. I have just completed my very first python program just a simple number guessing. I would like for someone to try it out if they could and let me know how I did with it and where I could have improved apon it. There are t files main.py

[Tutor] Linked List

2005-03-04 Thread Shitiz Bansal
Hi, Any body has any idea on how to implement a linked list in python? Ordinary python lists are not quite the same. what i need is a list i can traverse through sequentially without bothering about the indices, as another process is continuously editing this list, by inserting and deleting

[Tutor] Re: Linked List

2005-03-04 Thread Andrei
Shitiz Bansal wrote on Fri, 4 Mar 2005 09:19:41 -0800 (PST): Any body has any idea on how to implement a linked list in python? Perhaps like this: class node(object): ... def __init__(self, item, next=None): ... self.item = item ... self.next = next a = node('item a') b

Re: [Tutor] Re: Q A

2005-03-04 Thread Chelan Farsight
Okay this is a real question I have and I am not trying to defend the actions of Mr. Chui. I simply wanted to make sure that I have joined the right list. Are we allowed to ask total n00b questions on this list? If not what level of understanding is presumed before someone should post a

Re: [Tutor] Programming challenge (C++ and Python)

2005-03-04 Thread Danny Yoo
On Fri, 4 Mar 2005, Liam Clarke wrote: ??? Why am I getting this one as new again? Hi Liam, This one is my fault. As a mailing list administrator, I have to go through stuff that's sitting in a moderation queue. I'd been a little derelict in my responsibility lately, and hadn't looked at

Re: [Tutor] Re: Q A

2005-03-04 Thread Kent Johnson
Chelan Farsight wrote: Okay this is a real question I have and I am not trying to defend the actions of Mr. Chui. I simply wanted to make sure that I have joined the right list. Are we allowed to ask total n00b questions on this list? Yes, this list is specifically for total n00bs and other

[Tutor] Re: Re: Q A

2005-03-04 Thread Andrei
Chelan Farsight wrote on Fri, 4 Mar 2005 12:37:58 -0600: actions of Mr. Chui. I simply wanted to make sure that I have joined the right list. Are we allowed to ask total n00b questions on this list? If not what level of understanding is presumed before someone should post a question? The

Re: [Tutor] (no subject)

2005-03-04 Thread Kent Johnson
Kevin wrote: Hello all. I have just completed my very first python program just a simple number guessing. I would like for someone to try it out if they could and let me know how I did with it and where I could have improved apon it. There are t files main.py and defs.py I second Brian's comments

Re: [Tutor] Linked List

2005-03-04 Thread Jacob S.
I'm taking a shot in the dark and answering here. Have you tried making a copy of the list, iterating over the copy, and changing the original based on the copy? Jacob Hi, Any body has any idea on how to implement a linked list in python? Ordinary python lists are not quite the same. what i need

Re: [Tutor] Problem with IntVar() - Oops! Here's the code.

2005-03-04 Thread Ronnie Betzen
#! /usr/bin/env python import Tkinter class timer: def __init__(self): # initialize global variables self.ckbuttonstatus = IntVar() # set up main window self.top = Tk() self.top.geometry('355x125') self.top.title(appname)

Re: [Tutor] Problem with IntVar() - Oops! Here's the code.

2005-03-04 Thread Kent Johnson
There seem to be quite a few problems with this code... Ronnie Betzen wrote: #! /usr/bin/env python import Tkinter should be from Tkinter import * class timer: def __init__(self): The next line needs to be after the line 'self.top = Tk()' so Tkinter is initialized when the variable is

Re: [Tutor] Problem with IntVar() (SOLVED!)

2005-03-04 Thread Ronnie Betzen
Thanks, Kent! Moving self.top=Tk() up solved the IntVar() problem. *sigh* Man, learning curves can be a royal pain ;-) Also, thanks for the advice about starting off with little bits at a time. Kinda seems like an obvious way to do things when you think about it. :-/

Re: [Tutor] returning table elements with Beautiful Soup

2005-03-04 Thread Kent Johnson
Bill Kranec wrote: Hi, I'm trying to use Beautiful Soup to scrape some data out of an HTML table. I can do this using table = soup(td, {'class' : 'yfnc_tabledata1' }) table[0].string.strip() OK, table is a list of Tags, the first one has a 'string' attribute. However, if I try for entry in

Re: [Tutor] Cataloging Web Page Information

2005-03-04 Thread Kent Johnson
Anderson wrote: Hello, I currently have access to a webpage that has information that I'd like to put into a CSV (comma seperated value) spreadsheet. Its frontend is a form; you fill the form out by entering some text and selecting the appropriate option from a drop down menu, and then you press