Variables versus name bindings [Re: A certainl part of an if() structure never gets executed.]

2013-06-16 Thread Steven D'Aprano
On Mon, 17 Jun 2013 08:17:48 +0300, Νίκος wrote: [...] >> The latter is false because the binding of "b" to the int 6 was broken >> in order to bind b to the int 5. > > Very surprising. > a and b was *references* to the same memory address, it was like a > memory address having 2 names to be addr

Re: Python API

2013-06-16 Thread rusi
On Jun 17, 11:38 am, Ganesh Pandi wrote: > Hi >         What are all the python api, u used in your python programming, we > used more api but may we forgot those, so i just want to list down the api we > familiar aboutplease add your replies... Maybe you are referring to th

Re: A few questiosn about encoding

2013-06-16 Thread Antoon Pardon
Op 15-06-13 02:28, Cameron Simpson schreef: > On 14Jun2013 15:59, Nikos as SuperHost Support wrote: > | So, a numeral = a string representation of a number. Is this correct? > > No, a numeral is an individual digit from the string representation of a > number. > So: 65 requires two numerals: '6'

Python API

2013-06-16 Thread Ganesh Pandi
Hi What are all the python api, u used in your python programming, we used more api but may we forgot those, so i just want to list down the api we familiar aboutplease add your replies... -- http://mail.python.org/mailman/listinfo/python-list

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Νίκος
On 17/6/2013 8:58 πμ, Νίκος wrote: On 15/6/2013 11:37 μμ, Joshua Landau wrote: On 15 June 2013 20:51, Nick the Gr33k wrote: On 15/6/2013 10:46 μμ, Jarrod Henry wrote: Nick, at this point, you need to hire someone to do your work for you. The code is completely ready. Some detail is missin

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Νίκος
On 15/6/2013 11:37 μμ, Joshua Landau wrote: On 15 June 2013 20:51, Nick the Gr33k wrote: On 15/6/2013 10:46 μμ, Jarrod Henry wrote: Nick, at this point, you need to hire someone to do your work for you. The code is completely ready. Some detail is missing and its not printing the files as

Re: Don't feed the troll...

2013-06-16 Thread rusi
On Jun 16, 12:54 am, ru...@yahoo.com wrote: > > ... killfile him and shut the fuck up. Ok. Advice taken. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Νίκος
On 16/6/2013 9:53 μμ, R. Michael Weylandt wrote: On Sun, Jun 16, 2013 at 2:47 PM, Ferrous Cranus wrote: On 16/6/2013 2:13 μμ, Jussi Piitulainen wrote: If, instead of the above, you have a = 6 b = a b = 5 you will find that b == 5 and a == 6. So b is not the same as a. Else one would have ch

Re: Don't feed the troll...

2013-06-16 Thread Ferrous Cranus
On 17/6/2013 6:46 πμ, ru...@yahoo.com wrote: I could be wrong but I don't think Nikos is a pure troll -- someone motivated purely by provoking reaction and discord. He has a real website and his problems with Python seem like genuine problems many beginners have. He seems to have little knowledg

Re: Don't feed the troll...

2013-06-16 Thread rurpy
On 06/16/2013 02:04 PM, Steven D'Aprano wrote: > On Sun, 16 Jun 2013 20:16:34 +0200, Antoon Pardon wrote: > >> You are trying to get it both ways. On the one hand you try to argue >> that there are no boundaries > > I have never, ever argued that there are no boundaries. I have repeatedly > mad

Re: OT: C vs Python terminology

2013-06-16 Thread Dave Angel
On 06/16/2013 11:02 AM, Andreas Perstinger wrote: On 16.06.2013 14:55, Dave Angel wrote: On 06/16/2013 07:22 AM, Andreas Perstinger wrote: But it doesn't. It binds b to the same object to which a is currently bound. Are you aware that Denis was talking about the behaviour of C in the abov

Re: Imports (in Py3), please help a novice

2013-06-16 Thread Chris Angelico
On Mon, Jun 17, 2013 at 4:46 AM, John Ladasky wrote: > I was trying to RTFM linearly, beginning (naturally) at the beginning Alas, the King of Hearts's good advice [1] doesn't work so well with large documentation. :) It seems distutils is rather more complicated than could be desired; but wasn't

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Mark Lawrence
On 17/06/2013 01:04, alex23 wrote: On Jun 16, 10:10 am, Steven D'Aprano wrote: Congratulation. You have just entered an extremely exclusive club. See you in a month. *plonk* So yours are the only pissy one-liner responses that shouldn't be taken off-list? I suggest caution, Big Brother is

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread alex23
On Jun 16, 10:10 am, Steven D'Aprano wrote: > Congratulation. You have just entered an extremely exclusive club. See > you in a month. > > *plonk* So yours are the only pissy one-liner responses that shouldn't be taken off-list? -- http://mail.python.org/mailman/listinfo/python-list

Re: My son wants me to teach him Python

2013-06-16 Thread Rick Johnson
On Sunday, June 16, 2013 4:52:16 PM UTC-5, Chris Angelico wrote: > Okay... I'm trying to get my head around what you've done > here. Isn't it simply that you've made a way to, with what > looks like a point-and-click interface, let the user type > in a command line? > [...] > That's no more usin

Re: Compiling vs interpreting [was Re: A certainl part of an if() structure never gets executed.]

2013-06-16 Thread Chris Angelico
On Mon, Jun 17, 2013 at 6:02 AM, Steven D'Aprano wrote: > On Sun, 16 Jun 2013 12:31:59 -0700, Mark Janssen wrote: >>> The line between compilers >>> and interpreters is quite fuzzy. >> >> It shouldn't be. > > Of course it should be, because that reflects reality. It's fuzzy AND it seldom even mat

Re: Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread Chris Angelico
On Mon, Jun 17, 2013 at 5:06 AM, C. N. Desrosiers wrote: > Hi, > > I'm planning to buy a Macbook Air and I want to use it as a sort of alarm. > I'd like to write a program that boots my computer at a specific time, loads > iTunes, and starts playing a podcast. Is this sort of thing possible in

Re: My son wants me to teach him Python

2013-06-16 Thread Chris Angelico
On Mon, Jun 17, 2013 at 5:04 AM, Rick Johnson wrote: > Chris, a GUI interface can be created for *ANY* command line > functionality. By utilizing the GUI you can be more > productive because a "point" and a "click" are always faster > than "peck-peck-peck" * INFINITY. > Okay... I'm trying to get

Re: Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread C. N. Desrosiers
Thank you! On Sun, Jun 16, 2013 at 3:49 PM, Jason Swails wrote: > > > > On Sun, Jun 16, 2013 at 3:06 PM, C. N. Desrosiers > wrote: > >> Hi, >> >> I'm planning to buy a Macbook Air and I want to use it as a sort of >> alarm. I'd like to write a program that boots my computer at a specific >> ti

Re: Timsort in Cpython

2013-06-16 Thread Ian Kelly
On Sat, Jun 15, 2013 at 10:05 PM, wrote: > Yes I've read it. Very interesting read. There are other resources too online > that make it very clear, for instance the wikipedia articles is pretty good. > > Though, if anyone would be interested in helping me out further -- though by > all means, I

Re: Don't feed the troll...

2013-06-16 Thread Steven D'Aprano
On Sun, 16 Jun 2013 20:16:34 +0200, Antoon Pardon wrote: > You are trying to get it both ways. On the one hand you try to argue > that there are no boundaries I have never, ever argued that there are no boundaries. I have repeatedly made it clear to Nikos when I thought he was behaving improper

Re: Compiling vs interpreting [was Re: A certainl part of an if() structure never gets executed.]

2013-06-16 Thread Steven D'Aprano
On Sun, 16 Jun 2013 12:31:59 -0700, Mark Janssen wrote: Whats the difference of "interpreting " to "compiling" ? >>> >>> OK, I give up! >> >> Actually, that's a more subtle question than most people think. Python, >> for example, is a compiled language. (What did you think the "c" in >> ".pyc

Re: Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread Jason Swails
On Sun, Jun 16, 2013 at 3:06 PM, C. N. Desrosiers wrote: > Hi, > > I'm planning to buy a Macbook Air and I want to use it as a sort of alarm. > I'd like to write a program that boots my computer at a specific time, > loads iTunes, and starts playing a podcast. Is this sort of thing possible > in

Re: Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread Petite Abeille
On Jun 16, 2013, at 9:06 PM, C. N. Desrosiers wrote: > I'm planning to buy a Macbook Air and I want to use it as a sort of alarm. > I'd like to write a program that boots my computer at a specific time, loads > iTunes, and starts playing a podcast. Under preferences, take a look at Energy Sa

Re: Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread Joel Goldstick
On Sun, Jun 16, 2013 at 3:22 PM, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Sun, 16 Jun 2013 12:06:08 -0700, C. N. Desrosiers wrote: > > > Hi, > > > > I'm planning to buy a Macbook Air and I want to use it as a sort of > > alarm. I'd like to write a program that boots my

Re: Compiling vs interpreting [was Re: A certainl part of an if() structure never gets executed.]

2013-06-16 Thread Mark Janssen
>>> Whats the difference of "interpreting " to "compiling" ? >> >> OK, I give up! > > Actually, that's a more subtle question than most people think. Python, > for example, is a compiled language. (What did you think the "c" in > ".pyc" files stood for? and the compile() function>?) Careful there.

Re: Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread Joel Goldstick
On Sun, Jun 16, 2013 at 3:06 PM, C. N. Desrosiers wrote: > Hi, > > I'm planning to buy a Macbook Air and I want to use it as a sort of alarm. > I'd like to write a program that boots my computer at a specific time, > loads iTunes, and starts playing a podcast. Is this sort of thing possible > in

Re: Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread Steven D'Aprano
On Sun, 16 Jun 2013 12:06:08 -0700, C. N. Desrosiers wrote: > Hi, > > I'm planning to buy a Macbook Air and I want to use it as a sort of > alarm. I'd like to write a program that boots my computer at a specific > time, If your computer is turned off, how is the program supposed to run? --

Using Python to automatically boot my computer at a specific time and play a podcast

2013-06-16 Thread C. N. Desrosiers
Hi, I'm planning to buy a Macbook Air and I want to use it as a sort of alarm. I'd like to write a program that boots my computer at a specific time, loads iTunes, and starts playing a podcast. Is this sort of thing possible in Python? Thanks in advance. CND -- http://mail.python.org/mailma

Re: My son wants me to teach him Python

2013-06-16 Thread Rick Johnson
On Thursday, June 13, 2013 11:05:00 PM UTC-5, Chris Angelico wrote: Chris, a GUI interface can be created for *ANY* command line functionality. By utilizing the GUI you can be more productive because a "point" and a "click" are always faster than "peck-peck-peck" * INFINITY. For instance, if i w

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread R. Michael Weylandt
On Sun, Jun 16, 2013 at 2:47 PM, Ferrous Cranus wrote: > On 16/6/2013 2:13 μμ, Jussi Piitulainen wrote: >> >> If, instead of the above, you have >> >> a = 6 >> b = a >> b = 5 >> >> you will find that b == 5 and a == 6. So b is not the same as a. Else >> one would have changed when the other change

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread R. Michael Weylandt
On Sun, Jun 16, 2013 at 2:38 PM, Ferrous Cranus wrote: > On 16/6/2013 3:04 μμ, R. Michael Weylandt wrote: ## CODE SNIPPET## a = 552315251254 b = a c = 552315251254 a is b # True _on my machine_ > >> >> And this pattern continues for any sort of Python object. a

Re: Imports (in Py3), please help a novice

2013-06-16 Thread John Ladasky
Thanks for your reply, Miki. On Sunday, June 16, 2013 7:50:53 AM UTC-7, Miki Tebeka wrote: > > Is there an import / distutils tutorial out there? I'm looking for it, but > > perhaps one of you already knows where to find it. Thanks! > > Did you have a look at http://docs.python.org/3.3/distuti

Re: Don't feed the troll...

2013-06-16 Thread Antoon Pardon
Op 15-06-13 21:29, Steven D'Aprano schreef: On Sat, 15 Jun 2013 11:18:03 -0700, rusi wrote: At least two people -- Alex and Antoon -- have told you that by supporting Nikos, when everyone else wants him off list, you are part of the problem. And others have publicly thanked me for giving usef

Re: Version Control Software

2013-06-16 Thread Terry Reedy
On 6/16/2013 11:48 AM, Lele Gaifax wrote: Roy Smith writes: In article , Chris Kwpolska Warrick wrote: (I��m using wc -c to count the bytes in all files there are. du is unaccurate with files smaller than 4096 bytes.) It's not that du is not accurate, it's that it's measuring something

Re: on git gc --aggressive [was Re: Version Control Software]

2013-06-16 Thread rusi
On Jun 16, 7:09 pm, Jason Swails wrote: > On Sat, Jun 15, 2013 at 11:55 PM, rusi wrote: > > On Jun 16, 4:14 am, Chris Angelico wrote: > > > On Sun, Jun 16, 2013 at 12:16 AM, Roy Smith wrote: > > > > The advantage of DVCS is that everybody has a full copy of the repo. > > > > The disadvantage of

Re: Version Control Software

2013-06-16 Thread Jason Swails
On Sun, Jun 16, 2013 at 9:30 AM, Chris “Kwpolska” Warrick < kwpol...@gmail.com> wrote: > On Sun, Jun 16, 2013 at 1:14 AM, Chris Angelico wrote: > > Hmm. ~/cpython/.hg is 200MB+, but ~/pike/.git is only 86MB. Does > > Mercurial compress its content? A tar.gz of each comes down, but only > > to ~17

Re: Timsort in Cpython

2013-06-16 Thread alphonse23
sorry about that. I'm new to google groups. I'm trying to make sense of python's implementation of timsort through cpython: http://hg.python.org/cpython/file/default/Objects/listobject.c I was replying to Terry Jan Reedy > > http://hg.python.org/cpython/file/default/Objects/listsort.txt > > is

Re: Version Control Software

2013-06-16 Thread Lele Gaifax
Roy Smith writes: > In article , > Chris Kwpolska Warrick wrote: > >> (I€™m using wc -c to count the bytes in all files there are. du is >> unaccurate with files smaller than 4096 bytes.) > > It's not that du is not accurate, it's that it's measuring something > different. It's measuring how

Re: OT: C vs Python terminology

2013-06-16 Thread Andreas Perstinger
On 16.06.2013 14:55, Dave Angel wrote: On 06/16/2013 07:22 AM, Andreas Perstinger wrote: On 16.06.2013 08:32, Denis McMahon wrote: C: ^ int a, b; b = 6; a = b; In C, this places the numeric value 6 into the memory location identified ^ by the variable "b", so far s

Re: Imports (in Py3), please help a novice

2013-06-16 Thread Miki Tebeka
> Is there an import / distutils tutorial out there? I'm looking for it, but > perhaps one of you already knows where to find it. Thanks! Did you have a look at http://docs.python.org/3.3/distutils/examples.html? Another thing to do is to look at what other packages on PyPi are doing. -- http

on git gc --aggressive [was Re: Version Control Software]

2013-06-16 Thread Jason Swails
On Sat, Jun 15, 2013 at 11:55 PM, rusi wrote: > On Jun 16, 4:14 am, Chris Angelico wrote: > > On Sun, Jun 16, 2013 at 12:16 AM, Roy Smith wrote: > > > The advantage of DVCS is that everybody has a full copy of the repo. > > > The disadvantage of the DVCS is that every MUST have a full copy of t

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Ferrous Cranus
On 16/6/2013 11:35 πμ, Nick the Gr33k wrote: On 16/6/2013 10:23 πμ, Denis McMahon wrote: On Sat, 15 Jun 2013 22:38:38 +0300, Nick the Gr33k wrote: PLEASE take a look, its not a huge code First, you need to start writing your code to less than 80 columns if you're going to keep posting it to

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Ferrous Cranus
On 16/6/2013 4:07 πμ, Nick the Gr33k wrote: On 16/6/2013 1:51 πμ, Chris Angelico wrote: On Sun, Jun 16, 2013 at 6:29 AM, Benjamin Schollnick wrote: cur.execute('''SELECT ID FROM counters WHERE url = %s''', page ) cur.execute('''INSERT INTO counters (url) VALUES (%s)''', page ) Sure, whoever w

Re: Version Control Software

2013-06-16 Thread Roy Smith
In article , Chris メKwpolskaモ Warrick wrote: > (I’m using wc -c to count the bytes in all files there are. du is > unaccurate with files smaller than 4096 bytes.) It's not that du is not accurate, it's that it's measuring something different. It's measuring how much disk space the file

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Ferrous Cranus
On 16/6/2013 2:13 μμ, Jussi Piitulainen wrote: If, instead of the above, you have a = 6 b = a b = 5 you will find that b == 5 and a == 6. So b is not the same as a. Else one would have changed when the other changed. I would say that a and b are different variables. They had the same value, bri

Re: A few questiosn about encoding

2013-06-16 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 10:35 PM, Benjamin Schollnick wrote: > Nick, > > The only thing that i didn't understood is this line. > First please tell me what is a byte value > > \x1b is a sequence you find inside strings (and "byte" strings, the > b'...' format). > > > \x1b is a character(ESC) repres

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Ferrous Cranus
On 16/6/2013 3:04 μμ, R. Michael Weylandt wrote: On Sun, Jun 16, 2013 at 12:06 PM, Ferrous Cranus wrote: I appreciate you've returned to your Ferrous Cranus persona for this interchange. It reminds me not to get hung up on concerns of futility... On 16/6/2013 1:42 μμ, R. Michael Weylandt wrot

Re: Version Control Software

2013-06-16 Thread Chris “Kwpolska” Warrick
On Sun, Jun 16, 2013 at 1:14 AM, Chris Angelico wrote: > Hmm. ~/cpython/.hg is 200MB+, but ~/pike/.git is only 86MB. Does > Mercurial compress its content? A tar.gz of each comes down, but only > to ~170MB and ~75MB respectively, so I'm guessing the bulk of it is > already compressed. But 200MB fo

Re: Timsort in Cpython

2013-06-16 Thread mm0fmf
Answer: The lost context. Question: What makes top-posted replies harder to read than bottom-posted? alphons...@gmail.com wrote: Yes I've read it. Very interesting read. There are other resources too online that make it very clear, for instance the wikipedia articles is pretty good. Though,

Re: OT: C vs Python terminology

2013-06-16 Thread Dave Angel
On 06/16/2013 07:22 AM, Andreas Perstinger wrote: On 16.06.2013 08:32, Denis McMahon wrote: C: int a, b; b = 6; a = b; In C, this places the numeric value 6 into the memory location identified by the variable "b", so far so good. then copies the value from the location pointed to by "b" in

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Steven D'Aprano
On Sun, 16 Jun 2013 09:22:20 +, Denis McMahon wrote: >>> Python: >>> >>> b = 6 >>> a = b >>> >>> In Python, this first puts the value 6 in in a memory location and >>> points "b" at that memory location, then makes "a" point to the same >>> memory location as "b" points to. That may be true i

Compiling vs interpreting [was Re: A certainl part of an if() structure never gets executed.]

2013-06-16 Thread Steven D'Aprano
On Sun, 16 Jun 2013 10:51:31 +, Denis McMahon wrote: > On Sun, 16 Jun 2013 12:59:00 +0300, Nick the Gr33k wrote: > >> Whats the difference of "interpreting " to "compiling" ? > > OK, I give up! Actually, that's a more subtle question than most people think. Python, for example, is a compil

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread YBM
Le 16.06.2013 13:06, Ferrous Cranus a écrit : what id() does, never heard of that function before. just type help(id) at Python prompt and stop flooding the group with superfluous demands. -- http://mail.python.org/mailman/listinfo/python-list

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread R. Michael Weylandt
On Sun, Jun 16, 2013 at 12:06 PM, Ferrous Cranus wrote: I appreciate you've returned to your Ferrous Cranus persona for this interchange. It reminds me not to get hung up on concerns of futility... > On 16/6/2013 1:42 μμ, R. Michael Weylandt wrote: >>> >> >> ## CODE SNIPPET## >> a = 552315251254

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread Chris “Kwpolska” Warrick
On Sun, Jun 16, 2013 at 1:09 PM, Mark Lawrence wrote: > On 16/06/2013 11:57, Ferrous Cranus wrote: >> >> i did Steven that why i asked in the 1st place >> >> To post a message to all the list members, send email to >> python-gre...@python.org. >> >> this is not a valid nrewgroup name/ >> > > Not v

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Mark Lawrence
On 16/06/2013 12:06, Ferrous Cranus wrote: what id() does, never heard of that function before. what google does, never heard of that function before. -- "Steve is going for the pink ball - and for those of you who are watching in black and white, the pink is next to the green." Snooker c

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Jussi Piitulainen
Nick the Gr33k writes: > On 16/6/2013 12:22 μμ, Denis McMahon wrote: > > For example, in Python > > > > a = 6 > > b = a > > c = 6 > > > > a and b point to one memory location that contains the value 6 > > c points to a different memory location that contains the value 6 > > I believe you are mista

OT: C vs Python terminology (was: A certainl part of an if() structure never gets executed)

2013-06-16 Thread Andreas Perstinger
On 16.06.2013 08:32, Denis McMahon wrote: C: int a, b; b = 6; a = b; In C, this places the numeric value 6 into the memory location identified by the variable "b", so far so good. then copies the value from the location pointed to by "b" into the location pointed to by "a". Wrong. Neither

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread Ferrous Cranus
On 16/6/2013 2:09 μμ, Mark Lawrence wrote: On 16/06/2013 11:57, Ferrous Cranus wrote: i did Steven that why i asked in the 1st place To post a message to all the list members, send email to python-gre...@python.org. this is not a valid nrewgroup name/ Not valid in the same way that supp...@

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Ferrous Cranus
On 16/6/2013 1:42 μμ, R. Michael Weylandt wrote: I believe you are mistaken. a here is not a pointer but variable, which is a memory location that stores value 6. b here is a pointer. It's value is the memory location of variable a which stores value 6. c here is just te same as a , a variabl

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread Mark Lawrence
On 16/06/2013 11:57, Ferrous Cranus wrote: i did Steven that why i asked in the 1st place To post a message to all the list members, send email to python-gre...@python.org. this is not a valid nrewgroup name/ Not valid in the same way that supp...@superhost.gr is not valid? -- "Steve is goi

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread Chris “Kwpolska” Warrick
On Sun, Jun 16, 2013 at 12:33 PM, Steven D'Aprano wrote: > > On Sun, 16 Jun 2013 11:28:00 +0300, Nick the Gr33k wrote: > > > On 16/6/2013 8:06 πμ, Steven D'Aprano wrote: > >> Nikos, > >> > >> Have you considered subscribing to this? > >> > >> http://mail.python.org/mailman/listinfo/python-greece >

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread Ferrous Cranus
On 16/6/2013 1:33 μμ, Steven D'Aprano wrote: On Sun, 16 Jun 2013 11:28:00 +0300, Nick the Gr33k wrote: On 16/6/2013 8:06 πμ, Steven D'Aprano wrote: Nikos, Have you considered subscribing to this? http://mail.python.org/mailman/listinfo/python-greece [...] I prefer staying here but i can a

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Denis McMahon
On Sun, 16 Jun 2013 12:59:00 +0300, Nick the Gr33k wrote: > Whats the difference of "interpreting " to "compiling" ? OK, I give up! -- Denis McMahon, denismfmcma...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Mark Lawrence
On 16/06/2013 11:42, R. Michael Weylandt wrote: Whats the difference of "interpreting " to "compiling" ? If only it could be googled Alas, no one has ever written anything about technology on the internet. Ironic that... Michael I'm very sorry but I don't understand the words "google

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread R. Michael Weylandt
On Sun, Jun 16, 2013 at 10:59 AM, Nick the Gr33k wrote: > On 16/6/2013 12:22 μμ, Denis McMahon wrote: >> >> For example, in Python >> >> a = 6 >> b = a >> c = 6 >> >> a and b point to one memory location that contains the value 6 >> c points to a different memory location that contains the value 6

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread Steven D'Aprano
On Sun, 16 Jun 2013 11:28:00 +0300, Nick the Gr33k wrote: > On 16/6/2013 8:06 πμ, Steven D'Aprano wrote: >> Nikos, >> >> Have you considered subscribing to this? >> >> http://mail.python.org/mailman/listinfo/python-greece [...] > I prefer staying here but i can also subscribe there as well if you

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Nick the Gr33k
On 16/6/2013 12:22 μμ, Denis McMahon wrote: On Sun, 16 Jun 2013 11:07:12 +0300, Nick the Gr33k wrote: On 16/6/2013 9:32 πμ, Denis McMahon wrote: On Sat, 15 Jun 2013 19:18:53 +0300, Nick the Gr33k wrote: In both situations we still have 2 memory units holding values, so hows that different?

Re: My son wants me to teach him Python

2013-06-16 Thread Cameron Simpson
On 14Jun2013 20:12, Dennis Lee Bieber wrote: | [...] PowerShell has been | available as a download on WinXP and standard on Win7 [PS 3 is a | download for Win7, stock on real Win8]. | While I'm not fluent in it, there are some commands I've gotten | rather engrained... | | get-childitem -re

Re: Version Control Software

2013-06-16 Thread Chris Angelico
On Sun, Jun 16, 2013 at 7:15 PM, Terry Reedy wrote: > On 6/16/2013 1:29 AM, Chris Angelico wrote: >> >> On Sun, Jun 16, 2013 at 3:20 PM, Steven D'Aprano >>> keep in mind that it includes the equivalent of four independent >>> implementations: >>> >>> - CPython 2.x >>> - CPython 3.x > > >>> - Stack

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Denis McMahon
On Sun, 16 Jun 2013 11:07:12 +0300, Nick the Gr33k wrote: > On 16/6/2013 9:32 πμ, Denis McMahon wrote: >> On Sat, 15 Jun 2013 19:18:53 +0300, Nick the Gr33k wrote: >> >>> In both situations we still have 2 memory units holding values, so >>> hows that different? >> >> Consider that each named vari

Re: Version Control Software

2013-06-16 Thread Terry Reedy
On 6/16/2013 1:29 AM, Chris Angelico wrote: On Sun, Jun 16, 2013 at 3:20 PM, Steven D'Aprano If you're bringing in the *entire* CPython code base, as shown here: http://hg.python.org/ This is the python.org collection of repositories, not just cpython. keep in mind that it includes the eq

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Denis McMahon
On Sun, 16 Jun 2013 11:35:12 +0300, Nick the Gr33k wrote: > TB behaves for me the same way. Any line > 80 chars gets a newline. Why > this is happening? Why not post up to 256 chars in a single line? Because this is usenet. Read the RFCs if you must know! -- Denis McMahon, denismfmcma...@gmail.

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Nick the Gr33k
On 16/6/2013 10:23 πμ, Denis McMahon wrote: On Sat, 15 Jun 2013 22:38:38 +0300, Nick the Gr33k wrote: PLEASE take a look, its not a huge code First, you need to start writing your code to less than 80 columns if you're going to keep posting it to usenet. I'm sure I'm not the only person who c

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread Nick the Gr33k
On 16/6/2013 8:06 πμ, Steven D'Aprano wrote: Nikos, Have you considered subscribing to this? http://mail.python.org/mailman/listinfo/python-greece Possibly some of these concepts will be easier for you to understand if explained to you in your native language. Or you might be able to join a l

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Nick the Gr33k
On 16/6/2013 4:55 πμ, Tim Roberts wrote: Nick the Gr33k wrote: Because Python lets you use arbitrary values in a Boolean context, the net result is exactly the same. What is an arbitrary value? don even knwo what arbitrary means literally in English. In a long series separated by "or", the

Re: A certainl part of an if() structure never gets executed.

2013-06-16 Thread Nick the Gr33k
On 16/6/2013 9:32 πμ, Denis McMahon wrote: On Sat, 15 Jun 2013 19:18:53 +0300, Nick the Gr33k wrote: In both situations we still have 2 memory units holding values, so hows that different? Consider that each named variable is a pointer to a memory location that holds a value. This is one of t

Re: Why 'files.py' does not print the filenames into a table format?

2013-06-16 Thread Denis McMahon
On Sat, 15 Jun 2013 22:38:38 +0300, Nick the Gr33k wrote: > PLEASE take a look, its not a huge code First, you need to start writing your code to less than 80 columns if you're going to keep posting it to usenet. I'm sure I'm not the only person who can't be bothered to unwrap it. Secondly, th