Re: [Tutor] Tkinter Icon Suse 10

2006-08-27 Thread Alberto Troiano
I tried that but still the same error. Any other idea?Rgds,Alberto2006/8/25, Alberto Troiano <[EMAIL PROTECTED] >:Hi everyoneIt's been a long time since I left Python for .NET 2003, but then again I need it to make an app under Linux Suse 10 and I have a question I'm trying to p

Re: [Tutor] Tkinter Icon Suse 10

2006-08-26 Thread Alberto Troiano
Hey..thanks for the replyI found some XBM on the PC (Suse) but still no luckThe error says that the bitmap is not definedWas the code OK or I have to change it?Thanks 2006/8/25, Alberto Troiano <[EMAIL PROTECTED]>: Hi everyoneIt's been a long time since I left Python for .NET 2003, but

[Tutor] Tkinter Icon Suse 10

2006-08-25 Thread Alberto Troiano
Hi everyoneIt's been a long time since I left Python for .NET 2003, but then again I need it to make an app under Linux Suse 10 and I have a questionI'm trying to put an icon to my window...Here is the code so far: ###Start Code###import Tkinterfrom Tkinter import *root = Tk()root.iconbitmap("Chang

[Tutor] Convert integer number to binary representation

2005-11-24 Thread Alberto Troiano
Hey all I want to know how can I convert an integer number to a binary number. Like this example: +10 (decimal representationinteger) = 1010 (binary representation) Thanks in advanced Alberto ___ Tutor maillist - Tutor@python.org http://mai

Re: [Tutor] Do I have to initialize TKInter before I can use it?

2005-11-15 Thread Alberto Troiano
Hey Nathan I think this is what you are looking for Code Below from Tkinter import * import tkMessageBox tkMessageBox._show("Windows Title","This is the description",icon=tkMessageBox.INFO,type=tkMessageBox.OK) ###End of Code Regards Alberto -Mensaje original- De: [EMAIL PR

Re: [Tutor] Where is the error

2005-10-11 Thread Alberto Troiano
Hi from nltk.tagger import TaggedTokenizer   I’m not familiar with this module but looking at the error it looks like the TaggedTokenizer module maybe misspelled or does not exists or the same with tagger Maybe an upcase letter or something like that Check your library for the correct

Re: [Tutor] Config Parser question

2005-10-07 Thread Alberto Troiano
let me know if this is correct Thank you Alberto -Mensaje original- De: Kent Johnson [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 07 de Octubre de 2005 18:36 Para: Alberto Troiano CC: tutor@python.org Asunto: Re: [Tutor] Config Parser question Alberto Troiano wrote: > I'm trying to

[Tutor] Config Parser question

2005-10-07 Thread Alberto Troiano
Hey tutors   I’m trying to make a configuration file   I know how to read the sections and options (using ConfigParser module from Python 2.3.4 on Win XP)   What I wanted to know is that eventually I will need to add sections and options or change values or erase options or , etc  

Re: [Tutor] FW: Re: USB Capture Image WebCAM

2005-09-23 Thread Alberto Troiano
Monteverde <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] FW: Re: USB Capture Image WebCAM >Date: Fri, 23 Sep 2005 11:32:06 -0500 > >Hi Alberto, > >Sorry if I point out something obvious... from the pa

Re: [Tutor] FW: Re: USB Capture Image WebCAM

2005-09-23 Thread Alberto Troiano
k <[EMAIL PROTECTED]> >To: tutor@python.org >Subject: Re: [Tutor] FW: Re: USB Capture Image WebCAM >Date: Thu, 22 Sep 2005 20:52:50 -0400 > >Alberto Troiano wrote: > > > > > But it doesn't works so fine, I think its because I cracked and didn't >buy &g

Re: [Tutor] FW: Re: USB Capture Image WebCAM

2005-09-22 Thread Alberto Troiano
use I cracked and didn't buy it *grin* But I need like 200 licenses so it would be a little expensive. That's why I'm trying to make my own Python Gengis Cam *grin* Thanks again Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]>

[Tutor] FW: Re: USB Capture Image WebCAM

2005-09-22 Thread Alberto Troiano
n I didn't find docs for this on the WEB. If somebody have some pointers I would appreciate a lot Thanks in advanced Alberto > >From: Danny Yoo <[EMAIL PROTECTED]> > >To: Alberto Troiano <[EMAIL PROTECTED]> > >CC: tutor@python.org > >Subject: Re: [Tutor]

Re: [Tutor] USB Capture Image WebCAM

2005-09-22 Thread Alberto Troiano
s I would appreciate a lot Thanks in advanced Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] USB Capture Image WebCAM >Date: Thu, 22 Sep 2005 11:38:16 -0700 (PDT) > > > >On T

[Tutor] USB Capture Image WebCAM

2005-09-22 Thread Alberto Troiano
Hey Tutors I want to make a program that looks like Conquer Cam For those who doesn't know what is it its a program that captures images from your USB WebCAM and saves them to send via FTP. Anyway, getting to the point I don't know how to get the video from the camara to watch it inside a GUI

Re: [Tutor] Tail -f problem

2005-08-31 Thread Alberto Troiano
le in particular Thanks a lot Alberto >From: "Nick Lunt" <[EMAIL PROTECTED]> >To: "Alberto Troiano" <[EMAIL PROTECTED]>, >Subject: Re: [Tutor] Tail -f problem >Date: Wed, 31 Aug 2005 22:38:42 +0100 > >Hi Alberto, > > > > -O

[Tutor] Tail -f problem

2005-08-31 Thread Alberto Troiano
Hey I'm still working with this RADIUS system over Red Hat 9.0, mysql 3.23 and python 2.2.2 I ran to another problem.I have a file that is written by the RADIUS server (for those who don't know RADIUS is an authentication Service). The file contains the detail of the RADIUS, the server wri

[Tutor] Generate 8 digit random number

2005-08-27 Thread Alberto Troiano
Hey Tutors I saw a lot of responses...After analyze them I have resumed two approaches 1.- Generate a random number from 0 to and fill this number with zeros (Almost everyone's approach) 2.- Generate 8 random numbers and join them (Pietro and someone else) Which one of this is more ran

Re: [Tutor] Generate 8 digit random number

2005-08-26 Thread Alberto Troiano
nt Johnson <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] Generate 8 digit random number >Date: Fri, 26 Aug 2005 10:16:37 -0400 > >Alberto Troiano wrote: > > Hi Kent > > > > Nope... > > Not workingI'm still getting 7 even 6

Re: [Tutor] Generate 8 digit random number

2005-08-26 Thread Alberto Troiano
Hi Kent Nope... Not workingI'm still getting 7 even 6 digits number Any other idea? Thanks Alberto >From: Kent Johnson <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] Generate 8 digit random number >Date: Fri, 26 Aug 2005 10:00:50 -0400 > >

[Tutor] Generate 8 digit random number

2005-08-26 Thread Alberto Troiano
Hi everyone I need to generate a password..It has to be an 8 digit number and it has to be random The code I've been trying is the following: import random random.randrange(,) The code works but sometimes it picks a number with 7 digits. Is there any way that I can tell him t

Re: [Tutor] Linux app question

2005-08-18 Thread Alberto Troiano
Hey Alan >From: "Alan G" <[EMAIL PROTECTED]> >To: "Alberto Troiano" <[EMAIL PROTECTED]>, >Subject: Re: [Tutor] Linux app question >Date: Thu, 18 Aug 2005 08:25:51 +0100 > >>1.- Is there any way that the script can be started when he mounts

[Tutor] Linux app question

2005-08-17 Thread Alberto Troiano
Hey tutorslong time don't see...*grin* I have a question, I've made a web page in PHP and its going to run under Linux Red Hat 9.0 The page has scripts that has to be on a certain path off the system...I have to make a CD to give the web page to my client and I made a script using Python 2

Re: [Tutor] Minesweeper the return

2005-07-20 Thread Alberto Troiano
n.org" >Subject: Re: [Tutor] Minesweeper the return >Date: Wed, 20 Jul 2005 11:18:09 +1200 (NZST) > >Quoting Alberto Troiano <[EMAIL PROTECTED]>: > > > Please let's talk about this more! *grin* > > I'm not sure if I'm following you, what I se

Re: [Tutor] Minesweeper the return

2005-07-19 Thread Alberto Troiano
little of C#, VB.NET, Pascal, QBasic and C++ 6.0 But I would prefer to talk in theory or in general. Thanks in advanced Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] Minesweeper the return

Re: [Tutor] Scrolling multilistbox help

2005-07-19 Thread Alberto Troiano
rom: Michael Lange <[EMAIL PROTECTED]> >To: tutor@python.org >Subject: Re: [Tutor] Scrolling multilistbox help >Date: Tue, 19 Jul 2005 11:06:43 +0200 > >On Mon, 18 Jul 2005 13:54:45 + >"Alberto Troiano" <[EMAIL PROTECTED]> wrote: > > > Hey tutors &g

Re: [Tutor] This should be easy

2005-07-18 Thread Alberto Troiano
error I get from MySQL Server when I try to create a field with a space and check the solution: mysql> create table d(autoinc int(4) primary key,Site_Name varchar(30)); Query OK, 0 rows affected (0.14 sec) This should fix your problem. Best Regards to you Alberto >From: nephish <[EMAIL

Re: [Tutor] This should be easy

2005-07-18 Thread Alberto Troiano
I think it would be better for us if you send us the entire line that's giving you problems along with the error its givin you so we can start somewhere Right now I don't know where to look at Best Regards Alberto >From: nephish <[EMAIL PROTECTED]> >To: tutor@python.org >Subject: [Tutor] This

[Tutor] Minesweeper the return

2005-07-18 Thread Alberto Troiano
Hi I now get stucked in the arguments of the buttons Here's what I've got: def crearbutton(self): for i in range(self.fil): for j in range(self.col): self.buttonmatrix[i][j]=Button(root,width=1,height=0,command=lambda: self.hello(i,j)) self.bu

[Tutor] Scrolling multilistbox help

2005-07-18 Thread Alberto Troiano
Hey tutors I'm using the Multilistbox class and I noticed that it only handles the mouse scroll and the scrollbar to go down or up.I succesfully implemented the sort function that came with the class I also added code to handle the up and down arrow keys and it goes down all right but only select

[Tutor] Scrolling multilistbox help

2005-07-18 Thread Alberto Troiano
Hey tutors I'm using the Multilistbox class and I noticed that it only handles the mouse scroll and the scrollbar to go down or up.I succesfully implemented the sort function that came with the class I also added code to handle the up and down arrow keys and it goes down all right but only sele

Re: [Tutor] Hy, I'm a n00b to Python, have some questions

2005-07-18 Thread Alberto Troiano
Hey Alex First of all welcome I've been programming in Python for almost 1 year now and I think I can answer two of your questions >1. Is there any decent forum were people are talking in python ? You found one of them, here you have people willing to help each others at no cost. Send an email

Re: [Tutor] HTML links from Tkinter

2005-07-15 Thread Alberto Troiano
Thanks for the links I will try both, the tktable and multilistbox About the HTML llinks I will have to make some functions using webbrowser. I want to show some reports (tktable or multilistbox) but I want she to be able to check the same query on the web So I think that with the GET method I c

[Tutor] HTML links from Tkinter

2005-07-14 Thread Alberto Troiano
Hey tutors I was wondering I'm making an telephone guide with Tkinter and I need to show a search in a table Like most php pages do Is there any way that I can link a button to go to certain web page? and how can I do that? Another thing, I'll make a query by name and I want to show every results

Re: [Tutor] Minesweeper implementing 20%, weird problem with matrixes

2005-07-14 Thread Alberto Troiano
berto >From: "Alan G" <[EMAIL PROTECTED]> >To: "Alberto Troiano" <[EMAIL PROTECTED]>, >Subject: Re: [Tutor] Minesweeper implementing 20%,weird problem with >matrixes >Date: Thu, 14 Jul 2005 01:12:18 +0100 > > > I initialize them by putting

[Tutor] Minesweeper implementing 20%, weird problem with matrixes

2005-07-13 Thread Alberto Troiano
Hey tutors I think I got this a little, but I have a very weird problem This is the code I'm using: ## class buscaminas(object): def __init__(self): self.col=0 self.marcas=Tkinter.BooleanVar() self.color=Tkinter.BooleanVar() self.sonido=T

Re: [Tutor] py2exe

2005-07-11 Thread Alberto Troiano
Hey all I had some problems with this module too but I aas able with your help to make a script that works Here it is: from distutils.core import setup import py2exe, sys, os sys.argv.append('py2exe') ##setup( ##windows = [{'script': "NovusExtension.pyw"}], ##) setup( console = [{'scrip

[Tutor] Minesweeper OOT

2005-06-28 Thread Alberto Troiano
Hey tutors Just want to inform that I'm Out Of Town(OOT) and I haven't had the chance to a PC until this very moment. Sorry I didn't reply to your help, I have just read them and I think I get the idea Thanks to all who helped me and I'll be home next Tuesday (a week from now) and I'll give y

[Tutor] MineSweeper

2005-06-25 Thread Alberto Troiano
Hey Tutors I have a question I want to make a minesweeper (just for practice) but I don't what can I use to make the GUI I was thinking about buttons (click event you know) and change the background image on change Maybe there's another widget to use My doubt is that I want to be able to allow th

[Tutor] Built-in modules

2005-06-21 Thread Alberto Troiano
Hey tutors I have some classes I want to make available as built-in modules in Python 2.3.4 over Windows To make myself clear in case you don't understand I have the file List.py (a nested list C# like) and I want to be able to call the class List (which is inside the List.py) without having to

Re: [Tutor] Process problem

2005-06-16 Thread Alberto Troiano
<[EMAIL PROTECTED]> >Reply-To: "Michael P. Reilly" <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >Subject: Re: [Tutor] Process problem >Date: Thu, 16 Jun 2005 10:40:09 -0400 > >On 6/16/05, Alberto Troiano <[EMAIL PROTECTED]> wrote: &

Re: [Tutor] Process problem

2005-06-16 Thread Alberto Troiano
gt;die letting the others alive > >How can I do this? > >Best Regards > >Alberto >From: Michael Lange <[EMAIL PROTECTED]> >To: tutor@python.org >Subject: Re: [Tutor] Process problem >Date: Thu, 16 Jun 2005 12:19:12 +0200 > >On Wed, 15 Jun 2005 22:04:48 +000

Re: [Tutor] Process problem

2005-06-16 Thread Alberto Troiano
Jun 2005 22:04:48 + >"Alberto Troiano" <[EMAIL PROTECTED]> wrote: > >Hi Alberto, > > > Hey > > > > Let me make you understand > > > > I need that levantamuertos.py run cotascamon.py (every script with it > > differents arguments tha

Re: [Tutor] Process problem

2005-06-15 Thread Alberto Troiano
7;re right, levantamuertos.py waits until cotascamon.py finish. What can I do since cotascamon will never die (and it doesn't have to die)? Maybe a different approach will be the solution but I can't find a way to do it Best Regards Alberto >From: Hugo González Monteverde <[EMAIL PROTECTED]>

[Tutor] Process problem

2005-06-15 Thread Alberto Troiano
Hey all I have a problem with a program You see, I have a python script made in Python 2.2 that runs every 15 minutes on Linux Red Hat 9.0 This program (which code is attached below) named levantamuertos.py (spanish for death weakener) has to check in a database if the pids stored are running

Re: [Tutor] Just a Python formatting question

2005-06-09 Thread Alberto Troiano
Kristiano Don't worry about it. I'm sure everyone passed over this before. The identation errors are errors in the tabulation of a line Let's take your code in example >number=78 >guess=0 > >while guess != number: > guess=input ("Guess a number:") > if guess > number: > print "To

Re: [Tutor] Py2exe Problem

2005-06-03 Thread Alberto Troiano
blt.py and pmwcolor.py also This is in case you want to make a compilation and you have the same problems I had Best Regards to all Alberto >From: [EMAIL PROTECTED] >To: "tutor@python.org" >Subject: Re: [Tutor] Py2exe Problem >Date: Fri, 03 Jun 2005 10:06:18 +1200 (NZST) &g

[Tutor] Py2exe Problem

2005-06-02 Thread Alberto Troiano
Hey I'm having a problem with Py2exe. I created the executable but when I try to execute it it gives the following error: Traceback (most recent call last): File "NovusExtension.pyw", line 8, in ? File "Pmw\__init__.pyc", line 28, in ? WindowsError: [Errno 3] El sistema no puede hallar la r

[Tutor] check PID

2005-05-28 Thread Alberto Troiano
Hey all I want to check if a PID number is running I have the pid number from other program and I want to check if it's alive Using Python 2.2 over Linux Red Hat 9 I tried to google but find how to know process of the app but not check for other pids Thanks ina dvanced Alberto __

Re: [Tutor] Python Date picker

2005-05-24 Thread Alberto Troiano
Completeley forgot, :D I'm working over Windows, Python 2.3., GUI Tkinter Thanks in advanced Alberto http://graphics.hotmail.com/emvamp.gif"; width=12> Gaucho >From: "Lee Harr" <[EMAIL PROTECTED]> >To: tutor@python.org >Subject: Re: [Tutor] Python Date picker >Date: Wed, 25 May 2005 01:5

[Tutor] Python Date picker

2005-05-24 Thread Alberto Troiano
Hey everyone I've been searching (with no luck by the way) for a date picker combo or something like it What I need to do is validate a date field (better if it's already done) and I want to know if anyone knows about a code to do that (a made code, don't mean you to do my work). I was hoping

[Tutor] Calendar Combo Box

2005-05-23 Thread Alberto Troiano
Hey everyone Is there a built-in calendar combo box as in Visual Basic? Can anyone point me in the right direction? Thanks in advanced Alberto ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Crossfire problem

2005-05-20 Thread Alberto Troiano
Hey everyone I have a very big problem with two versions of Python (2.2.2 and 2.3.4) over Linux Red Hat 9.0 I'll try to be as explicit as I can In the version 2.2.2 I have the module MySQLdb running but not the datetime module. In the version 2.3.4 I have the module datetime running but not th

Re: [Tutor] RPG game.

2005-05-20 Thread Alberto Troiano
Hey You must set dmg to a value before using it The error is that the variable dmg hasn't been asigned yet >wp = raw_input("\n\nSelect between warrior and Archer ") > >mob = 300 >hit = 0 >hp = 100 >run = "" > >while True: > while (mob > 0): > hit += 1 > mob = mob - dmg#HE

Re: [Tutor] Disable menubar

2005-05-20 Thread Alberto Troiano
Thank you very much for your help Now it's all clear Thanks again and best regards Alberto >From: "Michael P. Reilly" <[EMAIL PROTECTED]> >Reply-To: "Michael P. Reilly" <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >Subject:

Re: [Tutor] Disable menubar

2005-05-19 Thread Alberto Troiano
now if that can be done , although I made some work around and I managed to restrict the Toplevels. If anybody wants to know how I can post the code Thanks in advanced Alberto >From: [EMAIL PROTECTED] >To: Alberto Troiano <[EMAIL PROTECTED]> >Subject: Re: [Tutor] Disable menubar

[Tutor] Disable menubar

2005-05-19 Thread Alberto Troiano
Hey everyone I've read about menubars and I decided to use the MenuBar from PMW instead of Tkinter's The reason is that I couldn't find an example to make a menu with cascade submenus and another cascade submenu inside the submenu and so on. Now I want to ask if somebody knows how to accomplis

Re: [Tutor] Troubles with Python modules

2005-05-19 Thread Alberto Troiano
Hey Is there any work around to accomplish what I want? I'm asking because I'm still with the same problem Regards Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] Troubles

Re: [Tutor] Troubles with Python modules

2005-05-18 Thread Alberto Troiano
I'm sending the commands you asked I'm still can't make it work and I don't know what else should I do I'll aprecciate any help Best Regards Alberto From: Danny Yoo <[EMAIL PROTECTED]> To: Alberto Troiano <[EMAIL PROTECTED]> CC: tutor@python.org Subject: Re:

Re: [Tutor] Password

2005-05-18 Thread Alberto Troiano
Hey I think that is a good built-in way to protect your passwords, but then I don't know if a text file is the best way to store them. I think (in my opinion) I consider using a database to store tha info. There is a way to make the entry appears as *. txtPass=Entry(root,width=25,show="*") Th

Re: [Tutor] Troubles with Python modules

2005-05-17 Thread Alberto Troiano
Here you go Each filenaem corresponds to the command Thanks in advanced Alberto From: Danny Yoo <[EMAIL PROTECTED]> To: Alberto Troiano <[EMAIL PROTECTED]> CC: tutor@python.org Subject: Re: [Tutor] Troubles with Python modules Date: Tue, 17 May 2005 14:56:52 -0700 (PDT) On Tue,

[Tutor] Menu help

2005-05-17 Thread Alberto Troiano
Hey I know I posted so many things but it's because I have so much to do I used to program in VB 6 but I want to learn a programming so I can I master it. I want to make a menu (Tkinter) like the one of the image attached to this email I can do the menu and submenu but I can't do the third subme

Re: [Tutor] Troubles with Python modules

2005-05-17 Thread Alberto Troiano
see I'm in the middle of the wall and the sword thanks for any help you can give me Best Regards Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >CC: Tutor >Subject: Re: [Tutor] Troubles with Python modules >Date: Tue, 17 May

Re: [Tutor] Troubles with Python modules

2005-05-17 Thread Alberto Troiano
ays I have installed Linux Red Hat with ALL packages Can I add datetime module to Python 2.2.2 ?? If so how??? Regards Alberto From: Danny Yoo <[EMAIL PROTECTED]> To: Alberto Troiano <[EMAIL PROTECTED]> CC: Tutor Subject: Re: [Tutor] Troubles with Python modules Date: Tue, 17

[Tutor] Troubles with Python modules

2005-05-17 Thread Alberto Troiano
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 = MySQLdb.connect(host="localhost", user="administrador", passwd="123456",db="segurida

Re: [Tutor] Tkinter questions

2005-05-17 Thread Alberto Troiano
Thanks for the reply I read the link and I think I've got all what I need (at least for now) Thanks again Regards Alberto >From: [EMAIL PROTECTED] >To: Tutor Tutor >Subject: Re: [Tutor] Tkinter questions >Date: Tue, 17 May 2005 11:03:45 +1200 (NZST) > >Quoting

[Tutor] Tkinter questions

2005-05-16 Thread Alberto Troiano
Hey Tkinter question How can I change the background color of a label?? How can I change the font-size and make it BOLD?? Regards Alberto ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Linux variable to Python

2005-05-13 Thread Alberto Troiano
And again I'm gonna say BINGO! It's like you were doing the same app as I am Thanks Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] Linux variable to Python >Date:

[Tutor] Linux variable to Python

2005-05-13 Thread Alberto Troiano
Hey Another problem Here is an example of what I want to do: I run over Linux shell the following command: [EMAIL PROTECTED] root]# fec=cam`date +%Y%m%d%H%M%S`.jpg [EMAIL PROTECTED] root]# echo $fec cam2005051255702.jpg [EMAIL PROTECTED] root]# mv hola.txt grabacion/$fec To explain for those w

Re: [Tutor] Help with time module

2005-05-13 Thread Alberto Troiano
Fri, 13 May 2005 09:56:17 -0400 > >Alberto Troiano wrote: > > I have two strings like this > > > > hour1="14:30" > > hour2="15:30" > > > > I want to compare them like this: > > > > if local_time between hour1 and hour2: >

[Tutor] Help with time module

2005-05-13 Thread Alberto Troiano
Hey everyone I have two strings like this hour1="14:30" hour2="15:30" I want to compare them like this: if local_time between hour1 and hour2: print True else print False Can anyone tell me how to make that comparison to work??? (I don't know how to take only the time in this form

[Tutor] Compare hours

2005-05-12 Thread Alberto Troiano
Hey everyone I have a question. I need to compare two dates and times but it has to be quick. (With quick I mean that the algorythm has to be simple in efficient Here is the deal: day="thursday" hour1="15:30" hour2="16:30" all of the above are strings I have to get the system date and time an

Re: [Tutor] Riddle 8

2005-05-11 Thread Alberto Troiano
Nevermind It was easy and I figured out But now I'm having serious problems with number 9 Do I really have to connect the dots And how can I do that using the obviuos module? Thanks Alberto >From: "Alberto Troiano" <[EMAIL PROTECTED]> >To: tutor@python.org

[Tutor] Riddle 8

2005-05-11 Thread Alberto Troiano
Hey I know it is supposed to be one of the easyiest and I know what I have to find(two nouns) and I know from where (two strings on the page)(it's very difficult to avoid spoilers) but I don't know how. And I see the hint when you try to get to 9 but I don't know what it means Any hints?

Re: [Tutor] RGB, images

2005-05-10 Thread Alberto Troiano
Hey Can you be a little more specific on how to get certain part of the image to analyze? I managed to split it in all its bands (though I don't know what is that) How can I work only with the gray part?? Thanks Alberto >From: "D. Hartley" <[EMAIL PROTECTED]> >Reply-To: "D. Hartley" <[

Re: [Tutor] zip question

2005-05-10 Thread Alberto Troiano
tell me where to start and I will try to get from there Thanks Alberto >From: "D. Hartley" <[EMAIL PROTECTED]> >Reply-To: "D. Hartley" <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >Subject: Re: [Tutor] zip question >Date: Tue

Re: [Tutor] zip question

2005-05-10 Thread Alberto Troiano
The problem is that you have to get the content before you can get the filename or comment of the files. You have to do something like this import zipfile file=zipfile.ZipFile("yourfile.zip") f=file.getinfo(name_of_the_file_inside_yourfile.zip) And then you can take the comments and filenames y

Re: [Tutor] challenges - general

2005-05-09 Thread Alberto Troiano
Hey I have recently got stuck (jejeje) on riddle 7 Yes I managed to solve riddle 6 after hours of struggle with the riddle Now I don't know what to do because there is no hint anywhere Regarding to Denise I would say don't give up, I didn't know anything that helped to so

Re: [Tutor] Fwd: Fwd: Python riddles

2005-05-09 Thread Alberto Troiano
>From: "D. Hartley" <[EMAIL PROTECTED]> >Reply-To: "D. Hartley" <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]> >Subject: Re: [Tutor] Fwd: Fwd: Python riddles >Date: Sat, 7 May 2005 17:45:32 -0700 > >Alberto, "banner" i

Re: [Tutor] python challenges

2005-05-06 Thread Alberto Troiano
Hey I'm stucked in number 5 It says pronounce it and there is nothing else not in page nor in the source code What can I do?? I know someone is at 7 now What's this riddler about??? regards Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Max Noel <[EMAIL PROTECTED]> >CC: Python tutor >Subje

Re: [Tutor] Problem with threading

2005-05-04 Thread Alberto Troiano
artes, 03 de Mayo de 2005 03:58 a.m. Para: Alberto Troiano CC: Tutor; [EMAIL PROTECTED] Asunto: Re: [Tutor] Problem with threading On Tue, 3 May 2005, Alberto Troiano wrote: > In answer to Matt the cameras push the photos via ftp at my server at 1 > photo every 3 seconds Hi Alberto, Just

Re: [Tutor] Problem with threading

2005-05-02 Thread Alberto Troiano
Hey I have the users config in a database so the use of a text file is double work In answer to Matt the cameras push the photos via ftp at my server at 1 photo every 3 seconds What can I do Regards Alberto >From: Danny Yoo <[EMAIL PROTECTED]> >To: Alberto Tro

[Tutor] Problem with threading

2005-05-02 Thread Alberto Troiano
Hey all This is the program I need to do and I haven't been able to figure out >From a web page (PHP), I'm creating users and an IP Camera that sends me photos all the time. The user configure his recording time and then a daemon has to check for the photos that does not belong to the recordin

[Tutor] Re: Issue with "Entry"/GUI/PIL

2005-04-30 Thread Alberto Troiano
Hey It's a matter of fancyness (Sorry, I think I invented an English word, :D) you are asking in the same Entry you want them to answer, so in order to answer your question, I'll have to delete the question. Secondly, how can you analyze if you don't give the chance to the user to type an answer?

RE: [Tutor] Issue with "Entry"/GUI/PIL

2005-04-29 Thread Alberto Troiano
Replace the 0.0 for only 0 But you have a problem. You are inserting the question and that's what the if clause analyze so it will be always wrong you have to add another Entry and a submit button so it will analyze the result of the second Entry Regards Alberto From: Brian Wurtzel <[EMAIL PROT

Re: [Tutor] Help with daemon

2005-04-28 Thread Alberto Troiano
el <[EMAIL PROTECTED]> To: "Alberto Troiano" <[EMAIL PROTECTED]> CC: tutor@python.org Subject: Re: [Tutor] Help with daemon Date: Wed, 27 Apr 2005 23:38:00 +0100 On Apr 27, 2005, at 22:35, Alberto Troiano wrote: I'm gonna give you an example: The program will check for new u

[Tutor] Help with daemon

2005-04-27 Thread Alberto Troiano
Hi everyone Again disturbing the peace of the TUTOR :D I'm making an application to check every few seconds for photos uploaded via ftp The users will program their upload time via web page (made in php). The time is saved in a MySQL database so I will check for all the created users if they ar

Re: [Tutor] TKinter and things over Linux

2005-04-21 Thread Alberto Troiano
Hey all Thanks for all your help. I solved the problem by installing ALL the packages of Red Hat 9.0 so basically I have 5 GB of OS in my HD haha :D I must something you said about the development libraries but I really don't have time to find out which one so I install them all Thanks again an

Re: [Tutor] crash - switching between text window and graphics/gamewindow (high score)

2005-04-21 Thread Alberto Troiano
eb-based system over Linux) In the mean time only have to say that your game rocks!! I'll send you mine next week Regards Alberto http://graphics.hotmail.com/emvamp.gif"; width=12> Gaucho From: "D. Hartley" <[EMAIL PROTECTED]> Reply-To: "D. Hartley"

Re: [Tutor] crash - switching between text window and graphics/gamewindow (high score)

2005-04-21 Thread Alberto Troiano
eb-based system over Linux) In the mean time only have to say that your game rocks!! I'll send you mine next week Regards Alberto http://graphics.hotmail.com/emvamp.gif"; width=12> Gaucho From: "D. Hartley" <[EMAIL PROTECTED]> Reply-To: "D. Hartley"

Re: [Tutor] crash - switching between text window and graphics/gamewindow (high score)

2005-04-20 Thread Alberto Troiano
now so you have to figure out another way to reverse the list Regards Alberto From: "D. Hartley" <[EMAIL PROTECTED]> Reply-To: "D. Hartley" <[EMAIL PROTECTED]> To: Alberto Troiano <[EMAIL PROTECTED]> Subject: Re: [Tutor] crash - switching between text window an

RE: [Tutor] crash - switching between text window andgraphics/gamewindow (high score)

2005-04-20 Thread Alberto Troiano
pecific error, which would make researching the program on google or in forum archives much easier! At the moment, I'm getting nothing (or too much information about unrelated problems). Thanks for any suggestions! -- Forwarded message -- From: Alberto Troiano <[EMAIL PROTE

Re: [Tutor] TKinter and things over Linux

2005-04-20 Thread Alberto Troiano
send it to you Again, sorry for my ignorance and lack of info Regards Alberto From: Danny Yoo <[EMAIL PROTECTED]> To: Alberto Troiano <[EMAIL PROTECTED]> CC: Tutor Subject: Re: [Tutor] TKinter and things over Linux Date: Wed, 20 Apr 2005 13:33:15 -0700 (PDT) > >>I couldn't

RE: [Tutor] crash - switching between text window and graphics/gamewindow (high score)

2005-04-20 Thread Alberto Troiano
Hey I'm curious What extension are you using on your game??? is it .py??? And what OS are you running the game??? Another thing. I made a space ship game to learn Python. Is there a possibility that we exchange the games so we can know differents points of view

Re: [Tutor] TKinter and things over Linux

2005-04-20 Thread Alberto Troiano
problem Thanks again Alberto From: Max Noel <[EMAIL PROTECTED]> To: "Alberto Troiano" <[EMAIL PROTECTED]> CC: tutor@python.org Subject: Re: [Tutor] TKinter and things over Linux Date: Wed, 20 Apr 2005 17:15:49 +0100 On Apr 20, 2005, at 16:52, Alberto Troiano wrote: Hey Didn'

Re: [Tutor] TKinter and things over Linux

2005-04-20 Thread Alberto Troiano
o I'm desperate Just in case I'm using MySQL 3.23 (Default MySQL Red Hat 9.0, but I don't see how that can affect the module) Thanks in advanced Alberto From: "Alberto Troiano" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] CC: tutor@python.org Subject: Re: [Tutor] TKinte

Re: [Tutor] TKinter and things over Linux

2005-04-19 Thread Alberto Troiano
GOTCHA! I let you know guys how it went Bye for now Alberto From: Max Noel <[EMAIL PROTECTED]> To: "Alberto Troiano" <[EMAIL PROTECTED]> CC: tutor@python.org, [EMAIL PROTECTED] Subject: Re: [Tutor] TKinter and things over Linux Date: Tue, 19 Apr 2005 20:01:31 +0100 On

Re: [Tutor] TKinter and things over Linux

2005-04-19 Thread Alberto Troiano
e link you attached thanks again regards Alberto From: Danny Yoo <[EMAIL PROTECTED]> To: Alberto Troiano <[EMAIL PROTECTED]> CC: Tutor Subject: Re: [Tutor] TKinter and things over Linux Date: Tue, 19 Apr 2005 10:18:11 -0700 (PDT) On Tue, 19 Apr 2005, Alberto Troiano wrote: > Sorry I have M

Re: [Tutor] TKinter and things over Linux

2005-04-19 Thread Alberto Troiano
nks in advanced Alberto http://graphics.hotmail.com/emvamp.gif"; width=12> Gaucho From: Max Noel <[EMAIL PROTECTED]> To: "Alberto Troiano" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], tutor@python.org Subject: Re: [Tutor] TKinter and things over Linux Date: Tue, 19 Apr

Re: [Tutor] TKinter and things over Linux

2005-04-19 Thread Alberto Troiano
I do?? Please help me I'm about to throw my machine over the windows (and I live on the 6th) Thanks in advanced Alberto http://graphics.hotmail.com/emvamp.gif"; width=12> Gaucho From: "Alberto Troiano" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] CC: tutor@python.org Subje

RE: [Tutor] Installation Routines (Joseph Quigley)

2005-04-18 Thread Alberto Troiano
What exactly do you want to do If you want to make a windows installer then you should look for Create Install It's a very simple software that can copy files to a folder and deploy an executable Please post further info about what you want to achieve so I can assist you a bit more Re

  1   2   >