[Tutor] voluntary work

2011-04-25 Thread Edgar Almonte
someboy have some project where can take a very noob and with very little knowledgement of python in the arm where i can work voluntary of course ? the thing is i want learn i read a bit and do some exercises but i am the kind of ppl that need saw the path that will walk so need a route and a littl

Re: [Tutor] voluntary work

2011-04-25 Thread Edgar Almonte
: > > "Edgar Almonte" wrote > >> is i want learn i read a bit and do some exercises but i am the kind >> of ppl that need saw the path that will walk so >> need a route and a little of guide to keep going , > > Have you looked at the python web site? There

Re: [Tutor] voluntary work :p:

2011-04-25 Thread Edgar Almonte
t; books that lay it out well.  Thanks for mentioning it, and good luck >> with your studies.  I find that having a project that is a little >> beyond me helps me get better at coding. >> >> -Wolf >> >> On Mon, Apr 25, 2011 at 1:33 PM, Alan Gauld >> mailto:alan

Re: [Tutor] after(), how do I use it?

2011-04-25 Thread Edgar Almonte
after(delay_ms, callback=None, *args) [#] Registers an alarm callback that is called after a given time. This method registers a callback function that will be called after a given number of milliseconds. Tkinter only guarantees that the callback will not be called earlier than that; if t

Re: [Tutor] voluntary work :p:

2011-04-26 Thread Edgar Almonte
you need solve the problem and so far the solution of the problem is the name of the next url example: .html , you need get the result and change in the url bar On Tue, Apr 26, 2011 at 12:19 AM, bob gailer wrote: > On 4/25/2011 11:59 PM, Wolf Halton wrote: >> >> I didn't get anything out of pytho

Re: [Tutor] Just started Python

2011-04-27 Thread Edgar Almonte
try this : model=raw_input("What kind of car do you drive?") gallons=raw_input("How many gallons have you driven?") number1 = float (gallons) miles=raw_input("How many miles have you driven?") number2 = float (miles) try: number1 = float (gallons) number2 = float (miles) except ValueEr

Re: [Tutor] Just started Python

2011-04-27 Thread Edgar Almonte
yes i just forget remove the previous one On Wed, Apr 27, 2011 at 5:39 PM, Steve Willoughby wrote: > On 27-Apr-11 14:35, Edgar Almonte wrote: >> >> try this : >> >> >> >>  model=raw_input("What kind of car do you drive?") >>  gallons=raw

Re: [Tutor] Making a script part of the terminal

2011-05-20 Thread Edgar Almonte
hey ! i can answer that ! birst in the fist line of you script put something like this #!/usr/local/bin/python change the path for where you have python ( try using 'whereis python' ) sencond make the file executable add the +x attribute ( using chmod ) third put the script in some place and

[Tutor] serial device emulator

2011-07-04 Thread Edgar Almonte
Hello list need some advice/help with something, i am doing a program in python that send some command via serial to a device so far so good , the thing is not have the program so i need make another program that emulate the behavior of this serial device ( is quiet simple ) to test my app i read a

Re: [Tutor] serial device emulator

2011-07-05 Thread Edgar Almonte
tware), only your serial port > library.  Write a class that has the same methods as the serial port library > you're using (you only need the methods you're using or think you might use > later), and fill them in with the appropriate code so it behaves like your > real >

Re: [Tutor] serial device emulator

2011-07-05 Thread Edgar Almonte
t port.write("hello, world") > print port.read(3) > > > I hope that makes it clearer to you. > Adam. > P.S. none of that code has been tested > > > On 05/07/11 13:03, Edgar Almonte wrote: >> >> thanks chirs but i think  i don't follow you

[Tutor] compare and arrange file

2011-07-11 Thread Edgar Almonte
hello , i have a file this a structure like this X | 0.00| 88115.39| X | 90453.29| 0.00| X | 0.00| 90443.29| X | 88115.39| 0.00| X | 0.00|

Re: [Tutor] compare and arrange file

2011-07-11 Thread Edgar Almonte
code if everything workout or else :D On Mon, Jul 11, 2011 at 7:35 PM, Dave Angel wrote: > On 07/11/2011 06:39 PM, Emile van Sebille wrote: > > On 7/11/2011 3:16 PM Edgar Almonte said... > > hello , i have a file this a structure like this > X | 0.00

Re: [Tutor] compare and arrange file

2011-07-11 Thread Edgar Almonte
rt by what ? On Mon, Jul 11, 2011 at 6:39 PM, Emile van Sebille wrote: > On 7/11/2011 3:16 PM Edgar Almonte said... >> >> hello , i have a file this a structure like this >> X | 0.00| 88115.39| >> X | 90453.29| 00

Re: [Tutor] compare and arrange file

2011-07-11 Thread Edgar Almonte
t value in the second one and i get something line "line1---" "value1" "value1" "value1" "value1" "value1" "value1" etc. pd: sorry for my bad english On Mon, Jul 11, 2011 at 7:35 PM, Dave Angel wrote: > On 07/11/20

Re: [Tutor] compare and arrange file

2011-07-11 Thread Edgar Almonte
this is just one time thing and the value don't get repeat On Mon, Jul 11, 2011 at 7:55 PM, Steve Willoughby wrote: > On 11-Jul-11 16:50, Edgar Almonte wrote: >> >> Thanks for the hints , what i want accomplish is sort the line by the >> same value in the column 2 a

Re: [Tutor] compare and arrange file

2011-07-11 Thread Edgar Almonte
i not too smart steve , can you show me with code ? On Mon, Jul 11, 2011 at 8:22 PM, Steve Willoughby wrote: > On 11-Jul-11 17:18, Edgar Almonte wrote: >> >> this is just one time thing and the value don't get repeat > > Then you could make a single loop over the

Re: [Tutor] compare and arrange file

2011-07-11 Thread Edgar Almonte
the help On Mon, Jul 11, 2011 at 11:01 PM, Emile van Sebille wrote: > On 7/11/2011 5:02 PM Edgar Almonte said... >> >> back again, >> yes that is the idea: >> ">  If I venture a guess, it seems to me that you want the debits and >>> >>>

Re: [Tutor] compare and arrange file

2011-07-12 Thread Edgar Almonte
On Tue, Jul 12, 2011 at 5:44 AM, Peter Otten <__pete...@web.de> wrote: > Edgar Almonte wrote: > >> thanks emile i understand exactly what you explain me but i was unable >> to accomplish it ( too noob in python ) but i solved the problem with >> this code >>

Re: [Tutor] compare and arrange file

2011-07-12 Thread Edgar Almonte
On Tue, Jul 12, 2011 at 7:28 AM, Dave Angel wrote: > On 07/12/2011 12:56 AM, Edgar Almonte wrote: >> >> thanks emile i understand exactly what you explain me but i was unable >> to accomplish it ( too noob in python ) but i solved the problem with >> this code >

Re: [Tutor] compare and arrange file

2011-07-12 Thread Edgar Almonte
On Tue, Jul 12, 2011 at 5:44 AM, Peter Otten <__pete...@web.de> wrote: > Edgar Almonte wrote: > >> thanks emile i understand exactly what you explain me but i was unable >> to accomplish it ( too noob in python ) but i solved the problem with >> this code >>

Re: [Tutor] compare and arrange file

2011-07-13 Thread Edgar Almonte
On Tue, Jul 12, 2011 at 10:32 PM, Emile van Sebille wrote: > On 7/12/2011 4:01 PM Edgar Almonte said... >> >> On Tue, Jul 12, 2011 at 5:44 AM, Peter Otten<__pete...@web.de>  wrote: > > >>> >>> import csv > > imports the comma separated value

Re: [Tutor] compare and arrange file

2011-07-14 Thread Edgar Almonte
On Wed, Jul 13, 2011 at 11:02 AM, Peter Otten <__pete...@web.de> wrote: > Edgar Almonte wrote: > >> fist time i saw the statement "with" , is part of the module csv ? , >> that make a loop through the file ? is not the sortkey function >> waiting for a par