Re: [Tutor] New to programming and Python

2006-10-26 Thread rolando
Jorge Azedo escreveu: > Hi guys ( and gals ) > > I'm totally new to the whole programming scene (I decided to enter it > for many reasons, one of which is the fact that I *want* to know how to > program my computer) and I decided to start out with Python. I'm reading > lots of tutorials on it, t

Re: [Tutor] New to programming and Python (Jorge Azedo)

2006-10-26 Thread rolando
> Força, isto no inicio parece confuso, mas breve faz-se luz! > > Paulino > > > Citando [EMAIL PROTECTED]: > > >>>2. New to programming and Python (Jorge Azedo) >>> >>7. Re: New to programming and Python (rolando) >> >> >

Re: [Tutor] Mailing list question

2006-10-26 Thread rolando
I just use the reply button in my Thunderbird, and then change the email I want to send to tutor@python.org Jorge Azedo escreveu: > Danny Yoo wrote: > >> Not so much a question about Python, but here goes: How do I reply to a specific thread in the mailing list? If I plac

Re: [Tutor] Mailing list question

2006-10-27 Thread rolando
Oh, ok :D Luke Paireepinart escreveu: > rolando wrote: >> I just use the reply button in my Thunderbird, and then change the >> email I want to send to tutor@python.org > It's better to use reply-all, in my opinion, because then, if > someone's involved in a

[Tutor] Witch gui to choose for this script?

2006-10-27 Thread rolando
Well, I don't know if I can ask this question here, but never mind that :) It´s like this, I created this python script that translates "human language" to Al-bhed language (it's a language from the game Final Fantasy 10, it's basicly a change in the letters for example A becomes W or B become

Re: [Tutor] Witch gui to choose for this script?

2006-10-27 Thread rolando
he comments. Now I have attached the script with the translated comments. Also any comments about the program are welcome. Luke Paireepinart escreveu: rolando wrote: Well, I don't know if I can ask this question here, but never mind that :) It´s like this, I created this python scrip

Re: [Tutor] (no subject)

2007-05-12 Thread Rolando Pereira
adam urbas escreveu: Hi,I just started python today and I would like a few pointers, if you don't mind. I tried using a tutorial, but was only able to get the correct results for the most basic problems. # Area calculation programprint “Welcome to the Area calculation program”print “

Re: [Tutor] two input acceptions

2007-05-18 Thread Rolando Pereira
adam urbas escreveu: > Thanks for the help. I've made quite some progress since I first posted this > email. I have a question though, what did you mean when you were talking > about the raw_input( )? How can the regular input( ) be used evilly? If you > could explain in depth, I would be ve

Re: [Tutor] "#!/usr/bin/env python" vs "#!/usr/local/bin/python"

2007-06-14 Thread Rolando Pereira
[EMAIL PROTECTED] escreveu: > Okay, I guess, people are missing points here. > > When do you > > #!/usr/local/bin/python > You are specifying the location to the python executable in your machine, > that rest of the script needs to be interpreted with. > You are pointing to python is located

Re: [Tutor] Hi,every one

2007-06-22 Thread Rolando Pereira
Yang Yang escreveu: > i am a newman for python world > > i have some word want to ask > > > 1.what is the best book for python study. > I like Dive into Python. ( http://www.diveintopython.org/ ) > 2.what's is the better IDE for python > That depends on what OS you are. > > Thanks for all

Re: [Tutor] How to Practice Python?(Linpeiheng)

2007-10-01 Thread Rolando Pereira
Alan Gauld wrote: > There are no such things > as standard solutions to programming problems, its not like > doing math! But usually there is "The Right Way". I think... -- _ ASCII ribbon campaign ( ) - against HTML email X & vCards / \

Re: [Tutor] The name of the module

2007-10-17 Thread Rolando Pereira
János Juhász wrote: > Dear Tutors, > > there was a thread some weeks ago about > how can we find out > what is the name of the current module, > where the function was loaded from, > where the function running from or so, > with some magic. > > I can't find it in the archive. > > May someone

Re: [Tutor] getting filen basename without extension

2008-01-10 Thread Rolando Pereira
Timmie wrote: > Hello, > I would like to get the name of a file without it's extension/suffix. > > What is the easiest and fastes way to get the basename > of a file wihout extension? > > What I found is this: > import os > myfile_name_with_path = 'path/to/my/testfile.txt' > basename = os.path.ba

Re: [Tutor] Even More Converter!

2008-03-22 Thread Rolando Pereira
Kepala Pening wrote: > import re > > num = 123456789 > > print ','.join(re.findall("\d{3}", str(num))) > > output: > 123,456,789 > [snip] The problem with that is that it cuts the digits in the end of the number, if they can't form a 3 digit value. Example: import re n = 1234 print ",".join

Re: [Tutor] Even More Converter!

2008-03-22 Thread Rolando Pereira
Alan Gauld wrote: > > If that is important you might need to investigate a locale specific > way of defining the seperator. I know Windows has hooks to get > it from the local settings but I'm not sure about *nix and I don't > know if Python has a generic way. > > This might not matter to you