[Tutor] (no subject)

2007-12-24 Thread Swathi Chinta
What is python language and what are its adventages Thank you, Swathi Chinta ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] (no subject)

2007-12-24 Thread goldgod a
First write the proper "subject". > What is python language and what are its adventages Answer is in http://www.python.org/ -- Thanks & Regards, goldgod ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] war cards

2007-12-24 Thread max baseman
hello all, i have been rolling the idea of writing a simple script to play the classic card game war. i thought it would be good for me because their is no skill in the game. while thinking of how to write it i got stuck on one bit, how do i make it so that their is one of each card and i c

[Tutor] PythonCard error checking

2007-12-24 Thread Roy Chen
Hello everyone, I've just started trying PythonCard to build a simple GUI for a little application I'm writing. Just wondering if anyone knows the "proper" way to do some simple error checking: for example, I have a textField, and I wish to check that only integers within a certain range are enter

Re: [Tutor] war cards

2007-12-24 Thread bob gailer
max baseman wrote: > hello all, i have been rolling the idea of writing a simple script to > play the classic card game war. i thought it would be good for me > because their is no skill in the game. while thinking of how to write > it i got stuck on one bit, how do i make it so that their is

Re: [Tutor] PythonCard error checking

2007-12-24 Thread Michael Langford
While I'm a user, I'm not a guru. Those are at: https://lists.sourceforge.net/lists/listinfo/pythoncard-users for pythoncard. I know a common technique is on a button event for the "ok" or "apply" button is to validate all the text fields in an exception safe setting. On exception exit the event h

Re: [Tutor] war cards

2007-12-24 Thread Alan Gauld
"max baseman" <[EMAIL PROTECTED]> wrote > it i got stuck on one bit, how do i make it so that their is one of > each card and i can split them? You can define the cards as a tuple of values and insert them into a list. You can use random.choice() to select a card fro the list. By applying that

Re: [Tutor] PythonCard error checking

2007-12-24 Thread Alan Gauld
"Roy Chen" <[EMAIL PROTECTED]> wrote > > I have a textField, and I wish to check that only integers > within a certain range are entered into it. Not sure about PythonCard but most GUI toolkits, including wxPython from which PythonCard is buil;t allow you to trap the entry of data(usually with

[Tutor] Telnet to Router/Switch

2007-12-24 Thread Shahjehan Hakim
Hi everyone.. I have to make Telnet session with Router/switch of Cisco. Anybody has idea how it can be done? from what i researched, i got most of the telnet session like client/servers. But what I have to do here is just to create a Telnet session which writes the password when its prompted

Re: [Tutor] Py2Exe Tutorial

2007-12-24 Thread Tiger12506
>I am wondering if there is a good tutorial on Py2Exe and its functions? > I have not been able to find one. I have samples but that is not good > enough. It would be nice to have something explain all the functions for > including directories, modules and all that stuff when making an > execu

Re: [Tutor] Telnet to Router/Switch

2007-12-24 Thread Reed O'Brien
On Dec 24, 2007, at 1:19 PM, Shahjehan Hakim wrote: Hi everyone.. I have to make Telnet session with Router/switch of Cisco. Anybody has idea how it can be done? from what i researched, i got most of the telnet session like client/servers. But what I have to do here is just to create a Te

Re: [Tutor] Telnet to Router/Switch

2007-12-24 Thread Alan Gauld
"Reed O'Brien" <[EMAIL PROTECTED]> wrote >> I have to make Telnet session with Router/switch of Cisco. > > I would start with the telnetlib module: > You might also be able to use the pyExpect module to good effect. Alan G ___ Tutor maillist -

[Tutor] updates andcompletion of goals

2007-12-24 Thread Kirk Bailey
Windows Wiki self instller with http server tinyweb: http://www.tinylist.org/WW140A.exe Full featured personal wiki for the travelling laptop user. TinyWeb server selfinstaller alone: http://www.tinylist.org/tinywebsetup193B.exe A good robust devlopment and personal server. Bon Yule, mon ami.

Re: [Tutor] Py2Exe Tutorial

2007-12-24 Thread Che M
> From: [EMAIL PROTECTED]> To: tutor@python.org> Date: Sun, 23 Dec 2007 > 14:48:54 -0500> Subject: [Tutor] Py2Exe Tutorial> > > I am wondering if there > is a good tutorial on Py2Exe and its functions?> I have not been able to find > one. I have samples but that is not good> enough. It would be