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

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

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 3:04 μμ, R. Michael Weylandt wrote: On Sun, Jun 16, 2013 at 12:06 PM, Ferrous Cranus supp...@superhost.gr 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

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,

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 benja...@schollnick.net wrote: cur.execute('''SELECT ID FROM counters WHERE url = %s''', page ) cur.execute('''INSERT INTO counters (url) VALUES (%s)''',

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: 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

Re: Important features for editors

2013-07-04 Thread Ferrous Cranus
Στις 4/7/2013 9:40 μμ, ο/η Grant Edwards έγραψε: On 2013-07-04, ?? ni...@superhost.gr wrote: If you guys want to use it i can send you a patch for it. I know its illegal thing to say but it will help you use it without buying it. A new low. Now he's offering to help people steal

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-07-04 Thread Ferrous Cranus
Στις 4/7/2013 11:08 μμ, ο/η Dennis Lee Bieber έγραψε: On Thu, 04 Jul 2013 13:38:09 +0300, ? ni...@superhost.gr declaimed the following: What character is 0xb6 anyways? It depends on the encoding... In EBCDIC it's unassigned. It's a paragraph mark in ISO-Latin-1 (ISO-8859-1).

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-07-05 Thread Ferrous Cranus
Στις 5/7/2013 3:06 πμ, ο/η Nobody έγραψε: On Thu, 04 Jul 2013 13:38:09 +0300, Νίκος wrote: So you are also suggesting that what gesthostbyaddr() returns is not utf-8 encoded too? The gethostbyaddr() OS function returns a byte string with no specified encoding. Python 3 will doubtless try to

Re: crack a router passcode

2013-07-09 Thread Ferrous Cranus
Στις 9/7/2013 3:08 μμ, ο/η Neil Cerutti έγραψε: On 2013-07-09, saadharana saadhar...@gmail.com wrote: I need to crack my router passcode to see what firmware it's running. There's a passcode set but I don't remember it and it's not written down anywhere. No you don't. If it's your router and

Re: crack a router passcode

2013-07-09 Thread Ferrous Cranus
Στις 9/7/2013 4:32 μμ, ο/η Chris Angelico έγραψε: On Tue, Jul 9, 2013 at 11:23 PM, Ferrous Cranus ni...@superhost.gr wrote: Could python somehow brute force http://192.168.1.1/login.php giving user and pass trying to guess the password? Could it be able to pass values to the input boxes

Re: crack a router passcode

2013-07-09 Thread Ferrous Cranus
Στις 9/7/2013 5:46 μμ, ο/η Dave Angel έγραψε: On 07/09/2013 10:26 AM, Ferrous Cranus wrote: Στις 9/7/2013 4:32 μμ, ο/η Chris Angelico έγραψε: On Tue, Jul 9, 2013 at 11:23 PM, Ferrous Cranus ni...@superhost.gr wrote: Could python somehow brute force http://192.168.1.1/login.php giving user

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-07-12 Thread Ferrous Cranus
Στις 12/7/2013 2:47 μμ, ο/η Wayne Werner έγραψε: On Thu, 4 Jul 2013, Νίκος Γκρ33κ wrote: Στις 4/7/2013 6:10 μμ, ο/η MRAB έγραψε: What do you mean I don't know how to catch the exception with OSError? You've tried except socket.gaierror and except socket.herror, well just write except OSError

<    1   2   3