Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-27 Thread Gabriel Ibanez
I did something near like that several days ago. Instead of programming in C++ I did it with RM-Cobol. I used to know the times that cobol takes to read the file and search for resutls, and I was surprised about the time that Python took doing the same: really, really fast. - Original M

Re: print some text

2008-04-25 Thread Gabriel Ibanez
Hi ! Other idea (old style school): def printing(): f=open("lpt1", "w") f.write("\nSomething to print\f") f.close() Cheers.. - Ibanez - - Original Message - From: <[EMAIL PROTECTED]> Newsgroups: comp.lang.python To: Sent: Wednesday, April 23, 2008 10:27 PM Subject: Re: print

Re: Python 2.5 adoption

2008-04-18 Thread Gabriel Ibanez
Debian Etch (stable) has Python 2.4 - Original Message - From: "Thomas Bellman" <[EMAIL PROTECTED]> Newsgroups: comp.lang.python To: Sent: Friday, April 18, 2008 8:50 PM Subject: Re: Python 2.5 adoption > John Nagle <[EMAIL PROTECTED]> writes: > >> Desktop or server? > >> If

Upset of spamming ...

2008-04-18 Thread Gabriel Ibanez
Very upset. Really ugly. If anyone have an idea of how stops this thing with python programming I will be glad of contributing. :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Java or C++?

2008-04-15 Thread Gabriel Ibanez
Hi all, I've never programmed Java. I started directly in C, then C++ and now using Python, mainly because its modules, because I found very hard to use and find external libraries to do the same as Python (i.e. to read an URL o send an email), and soften these libraries on C are not free or de

Re: How is GUI programming in Python?

2008-04-11 Thread Gabriel Ibanez
Hello all ! More fire .. Why is nobody talking about pyGTK ? There are no limits with licenses (I think) If we work on Ubuntu or Fedora, is there any reason to give GTK away and develop on Qt ? - Original Message - From: "Stef Mientki" <[EMAIL PROTECTED]> Cc: Sent: Friday, April 11,

Re: Converting a tuple to a list

2008-04-08 Thread Gabriel Ibanez
Gabriel Ibanez wrote: > Hi all .. > > I'm trying to using the map function to convert a tuple to a list, without > success. > > I would like to have a lonely line that performs the same as loop of the > next script: > > ---

Converting a tuple to a list

2008-04-08 Thread Gabriel Ibanez
Hi all .. I'm trying to using the map function to convert a tuple to a list, without success. I would like to have a lonely line that performs the same as loop of the next script: --- # Conveting tuple -> list tupla = ((1,2), (3,4), (5,6)) print tupla

Re: Running a python code periodically

2008-04-08 Thread Gabriel Ibanez
Hi, On Linux/Unix: $ man at You could create a bash script using this command. Keep in mind that the script must "schedule" itself again. There's other way: using the cron daemon (crond). Its programming depends on the used distro. I hope this helps. Regards .. - Original Message --