Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo

2013-10-21 Thread Terry Reedy
On 10/22/2013 1:28 AM, Metallicow wrote: Here is links to the apng/gif on ImageShack uploaded with the "Do Not Resize" option. Checked/Views fine with default Firefox/Opera browsers. Animated 3D Python Powered Logo apng - 120frames 1/60 sec http://img34.imageshack.us/img34/4717/f4l4.png Neat:

Re: IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Chris Angelico
On Tue, Oct 22, 2013 at 4:57 PM, Steven D'Aprano wrote: > Yep, I got that, but what I'm saying is that it is too strict to raise > the exception at the point where it sees "nonlocal q". The CPython > interpreter allows q to be defined inside function a but after function > b, e.g. this is allowed:

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Chris Angelico
On Tue, Oct 22, 2013 at 2:19 PM, rusi wrote: > On Tuesday, October 22, 2013 8:25:58 AM UTC+5:30, Peter Cacioppi wrote: > > Guess-who said: > >> "but it's "ugly", by which I mean it is hard to use, error prone, and not >> easily maintained." >> >> OK, I see the problem. What you call "ugly" is real

Re: IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Steven D'Aprano
On Mon, 21 Oct 2013 23:26:28 -0400, Terry Reedy wrote: > On 10/21/2013 7:52 PM, Steven D'Aprano wrote: >> On Mon, 21 Oct 2013 15:51:56 -0400, Terry Reedy wrote: >> >>> On 10/21/2013 11:06 AM, Chris Angelico wrote: Try typing this into IDLE: >>> def a(): def b():

Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo

2013-10-21 Thread Metallicow
Here is links to the apng/gif on ImageShack uploaded with the "Do Not Resize" option. Checked/Views fine with default Firefox/Opera browsers. Animated 3D Python Powered Logo apng - 120frames 1/60 sec http://img34.imageshack.us/img34/4717/f4l4.png gif - 120frames about 1/10sec or as fast as it ca

Re: Python Front-end to GCC

2013-10-21 Thread Steven D'Aprano
On Mon, 21 Oct 2013 21:24:38 -0700, Mark Janssen wrote: >> A language specification in BNF is just syntax. It doesn't say anything >> about semantics. So how could this be used to produce executable C code >> for a program? BNF is used to produce parsers. But a parser isn't >> sufficient. > > A C

Re: Python Front-end to GCC

2013-10-21 Thread Dave Angel
On 22/10/2013 00:24, Mark Janssen wrote: >> A language specification in BNF is just syntax. It doesn't say anything >> about semantics. So how could this be used to produce executable C code >> for a program? BNF is used to produce parsers. But a parser isn't >> sufficient. > > A C program is just

Re: Python Front-end to GCC

2013-10-21 Thread Mark Janssen
> A language specification in BNF is just syntax. It doesn't say anything > about semantics. So how could this be used to produce executable C code > for a program? BNF is used to produce parsers. But a parser isn't > sufficient. A C program is just syntax also. How does the compiler generate exe

Re: Receive packet using socket

2013-10-21 Thread john pierce
Tom wrote: BTW what I am trying to accomplish is easily done in hping3 using this comm= and: hping3 mtalk.google.com -S -p 5228=20 I just want those same kind of results using python so I can make an exe ou= t of it. Hi Tom, Not sure if it's exactly what you're looking for, but I wrote a tcp syn

Re: Using "with" context handler, and catching specific exception?

2013-10-21 Thread Ben Finney
Victor Hooi writes: > Aha, good point about IOError encapsulating other things, I'll use > FileNotFoundError, and also add in some other except blocks for the > other ones. Or not; you can catch OSError, which is the parent of FileNotFoundError http://docs.python.org/3/library/exceptions.html#ex

Re: Python Front-end to GCC

2013-10-21 Thread Piet van Oostrum
Mark Janssen writes: >> No its not like those 'compilers' i dont really agree with a compiler >> generating C/C++ and saying its producing native code. I dont really believe >> its truely within the statement. Compilers that do that tend to put in alot >> of type saftey code and debugging inte

Re: Python Front-end to GCC

2013-10-21 Thread rusi
On Tuesday, October 22, 2013 1:59:36 AM UTC+5:30, Ned Batchelder wrote: > On 10/21/13 4:14 PM, Mark Janssen wrote: > > > On Mon, Oct 21, 2013 at 12:46 AM, Steven D'Aprano wrote: > >> An optimizing JIT compiler can > >> often produce much more efficient, heavily optimized code than a static > >> AO

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-21 Thread Dave Angel
On 21/10/2013 17:19, Peter Cacioppi wrote: > Just because the CPython implementation does something doesn't mean If you're going to drop messages in here with no context, you'd be better off just putting it in a bottle and tossing it into the sea. Include a quote from whomever you're responding

Re: Using "with" context handler, and catching specific exception?

2013-10-21 Thread Victor Hooi
Hi, Thanks for the replies =). Aha, good point about IOError encapsulating other things, I'll use FileNotFoundError, and also add in some other except blocks for the other ones. And yes, I didn't use the exception object in my sample - I just sort. I'd probably be doing something like this.

Re: IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Terry Reedy
On 10/21/2013 7:52 PM, Steven D'Aprano wrote: On Mon, 21 Oct 2013 15:51:56 -0400, Terry Reedy wrote: On 10/21/2013 11:06 AM, Chris Angelico wrote: Try typing this into IDLE: def a(): def b(): nonlocal q SyntaxError: no binding for nonlocal 'q' found If you submit those thr

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread rusi
On Tuesday, October 22, 2013 8:25:58 AM UTC+5:30, Peter Cacioppi wrote: Guess-who said: > "but it's "ugly", by which I mean it is hard to use, error prone, and not > easily maintained." > > OK, I see the problem. What you call "ugly" is really just objectively bad. You continue to not attribute

Re: Using "with" context handler, and catching specific exception?

2013-10-21 Thread Ben Finney
Victor Hooi writes: > try: > with open('somefile.log', 'wb' as f: > f.write("hello there") > except IOError as e: > logger.error("Uhoh, the file wasn't there"). IOError, as Steven D'Aprano points out, is not equivalent to “file not found”. Also, you're not doi

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Peter Cacioppi
"but it's "ugly", by which I mean it is hard to use, error prone, and not easily maintained." OK, I see the problem. What you call "ugly" is really just objectively bad. Ugliness and beauty are subjective qualities that can't really be debated on a deep level. Like I mentioned in other post, I f

Re: Using "with" context handler, and catching specific exception?

2013-10-21 Thread Steven D'Aprano
On Mon, 21 Oct 2013 18:43:39 -0700, Victor Hooi wrote: > try: > with open('somefile.log', 'wb' as f: > f.write("hello there") > except IOError as e: > logger.error("Uhoh, the file wasn't there"). I hope that this isn't what you are actually doing. IOError is no

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Steven D'Aprano
On Mon, 21 Oct 2013 01:43:52 -0700, Peter Cacioppi wrote: > Specifically the following seems so misguided as to be deliberate > trolling. > > "One of the reasons multiple languages exist is because people find that > useful programming idioms and styles are *hard to use* or "ugly" in some > langu

Re: Using "with" context handler, and catching specific exception?

2013-10-21 Thread MRAB
On 22/10/2013 02:43, Victor Hooi wrote: Hi, I suspect I'm holding How should I use the "with" context handler as well as handling specific exceptions? For example, for a file: with open('somefile.log', 'wb') as f: f.write("hello there") How could I specifically catch IOError i

Using "with" context handler, and catching specific exception?

2013-10-21 Thread Victor Hooi
Hi, I suspect I'm holding How should I use the "with" context handler as well as handling specific exceptions? For example, for a file: with open('somefile.log', 'wb') as f: f.write("hello there") How could I specifically catch IOError in the above, and handle that? Should I wra

Re: IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Steven D'Aprano
On Mon, 21 Oct 2013 15:51:56 -0400, Terry Reedy wrote: > On 10/21/2013 11:06 AM, Chris Angelico wrote: >> Try typing this into IDLE: >> > def a(): >> def b(): >> nonlocal q >> SyntaxError: no binding for nonlocal 'q' found > > If you submit those three lines to Python from the c

Re: Python Front-end to GCC

2013-10-21 Thread Steven D'Aprano
On Mon, 21 Oct 2013 10:55:10 +0100, Oscar Benjamin wrote: > On 21 October 2013 08:46, Steven D'Aprano wrote: >> On the contrary, you have that backwards. An optimizing JIT compiler >> can often produce much more efficient, heavily optimized code than a >> static AOT compiler, and at the very lea

Re: how to get current max_heap_size value of minimark in pypy 2.x

2013-10-21 Thread Steven D'Aprano
Hi Ricky, On Sun, 20 Oct 2013 19:53:18 -0700, roadhome wrote: > I read some articles about setting PYPY_GC_MAX environment variable. But > I can't find how to get current max_heap_size value of minimark. Unfortunately it seems that not a lot of people here have enough experience with PyPy to an

Re: Python Front-end to GCC

2013-10-21 Thread Mark Janssen
> No its not like those 'compilers' i dont really agree with a compiler > generating C/C++ and saying its producing native code. I dont really believe > its truely within the statement. Compilers that do that tend to put in alot > of type saftey code and debugging internals at a high level to ge

Re: Class construction

2013-10-21 Thread Marcin Szamotulski
You can inspect the process in this way: >>> c = 'class A: pass' >>> code = compile(c, '', 'exec') >>> from dis import dis >>> dis(code) 1 0 LOAD_BUILD_CLASS 1 LOAD_CONST 0 (", line 1>) 4 LOAD_CONST 1 ('A') 7 MAKE_FUN

Re: python -c commands on windows.

2013-10-21 Thread Terry Reedy
On 10/21/2013 5:14 PM, random...@fastmail.us wrote: On Mon, Oct 21, 2013, at 16:47, Terry Reedy wrote: Manual says "-c Execute the Python code in command. command can be one or more statements separated by newlines, with significant leading whitespace as in normal module code." In Window

Re: python -c commands on windows.

2013-10-21 Thread Ned Batchelder
On 10/21/13 4:47 PM, Terry Reedy wrote: Manual says "-c Execute the Python code in command. command can be one or more statements separated by newlines, with significant leading whitespace as in normal module code." In Windows Command Prompt I get: C:\Programs\Python33>python -c "a=1\npr

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-21 Thread Mark Lawrence
On 17/10/2013 00:36, Skybuck Flying wrote: Unfortunately python does not have labels and goto statements as far as I know http://entrian.com/goto/ -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence -- https:/

Re: python -c commands on windows.

2013-10-21 Thread Chris Angelico
On Tue, Oct 22, 2013 at 8:14 AM, wrote: > C:\>python -c a=1^ > More? > More? print(a) > 1 Note that you have to hit enter *twice* for this to work. (I'm not sure why; the caret is supposed to escape the newline, but that doesn't explain this. For all I know, it could be an ascended bug[1].) Also

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-21 Thread Peter Cacioppi
Just because the CPython implementation does something doesn't mean that thing is something other than risky/tricky/to-be-avoided-if-possible. Python (and it's implementations) exist so that ordinary people can avoid doing risky stuff. I'm not critiquing the CPython implementation here, I'm poin

Re: python -c commands on windows.

2013-10-21 Thread random832
On Mon, Oct 21, 2013, at 16:47, Terry Reedy wrote: > Manual says "-c > Execute the Python code in command. command can be one or more > statements separated by newlines, with significant leading whitespace as > in normal module code." > > In Windows Command Prompt I get: > C:\Programs\Pyth

Re: Python Front-end to GCC

2013-10-21 Thread Philip Herron
On Monday, 21 October 2013 21:26:06 UTC+1, zipher wrote: > On Mon, Oct 21, 2013 at 4:08 AM, Philip Herron > > wrote: > > > Thanks, i've been working on this basically on my own 95% of the compiler > > is all my code, in my spare time. Its been fairly scary all of this for me. > > I personally

python -c commands on windows.

2013-10-21 Thread Terry Reedy
Manual says "-c Execute the Python code in command. command can be one or more statements separated by newlines, with significant leading whitespace as in normal module code." In Windows Command Prompt I get: C:\Programs\Python33>python -c "a=1\nprint(a)" File "", line 1 a=1\nprint(

Re: Python Front-end to GCC

2013-10-21 Thread Ned Batchelder
On 10/21/13 4:14 PM, Mark Janssen wrote: On Mon, Oct 21, 2013 at 12:46 AM, Steven D'Aprano wrote: On Sun, 20 Oct 2013 20:35:03 -0700, Mark Janssen wrote: [Attribution to the original post has been lost] Is a jit implementation of a language (not just python) better than traditional ahead of t

Re: What's wrong with Windows Command Prompt (was Re: Error Testing)

2013-10-21 Thread Tim Chase
On 2013-10-21 15:55, David Robinow wrote: > I wasn't aware that the interactive interpreter on Linux had > features that the Windows version didn't. I'm curious what those > features might be. It's mostly the benefits that come from being built with the readline library, meaning you get - command

Re: Python Front-end to GCC

2013-10-21 Thread Mark Janssen
On Mon, Oct 21, 2013 at 4:08 AM, Philip Herron wrote: > Thanks, i've been working on this basically on my own 95% of the compiler is > all my code, in my spare time. Its been fairly scary all of this for me. I > personally find this as a real source of interest to really demystify > compilers a

Re: Python Front-end to GCC

2013-10-21 Thread Mark Janssen
On Mon, Oct 21, 2013 at 12:46 AM, Steven D'Aprano wrote: > On Sun, 20 Oct 2013 20:35:03 -0700, Mark Janssen wrote: > > [Attribution to the original post has been lost] >>> Is a jit implementation of a language (not just python) better than >>> traditional ahead of time compilation. >> >> Not at al

Re: What's wrong with Windows Command Prompt (was Re: Error Testing)

2013-10-21 Thread David Robinow
On Sat, Oct 19, 2013 at 4:35 PM, Terry Reedy wrote: > On 10/19/2013 2:31 PM, Tim Chase wrote: >> >> On 2013-10-19 14:08, David Robinow wrote: >>> >>> On Sat, Oct 19, 2013 at 9:01 AM, Chris Angelico wrote: You can try all these out in the interactive interpreter (you probably have ID

Re: IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Terry Reedy
On 10/21/2013 11:06 AM, Chris Angelico wrote: Try typing this into IDLE: def a(): def b(): nonlocal q SyntaxError: no binding for nonlocal 'q' found If you submit those three lines to Python from the command line, that is what you see. In interactive command-line Python, th

Re: skipping __init__ and using exploiting a class member instead

2013-10-21 Thread Neil Cerutti
On 2013-10-20, Ben Finney wrote: > Roy Smith writes: > >> Scott Meyers is an incredibly smart C++ wizard. His books are amazing. >> The fact that it takes somebody that smart, and books that amazing, to >> teach you how not to shoot yourself in the foot with a C++ compiler says >> a lot abou

Re: IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Chris Angelico
On Tue, Oct 22, 2013 at 3:09 AM, Peter Otten <__pete...@web.de> wrote: > Chris Angelico wrote: >> But typing this into IDLE interactive mode requires some fiddling >> around with the editor. Is it trying to be too clever? Am I doing >> something that makes no sense? > > Yes, but you should still fi

Re: IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Peter Otten
Chris Angelico wrote: > Try typing this into IDLE: > def a(): > def b(): > nonlocal q > SyntaxError: no binding for nonlocal 'q' found > > > In interactive command-line Python, this doesn't throw an error, and > it works fine if the name is used later: > def a(): > de

Re: Printing a drop down menu for a specific field.

2013-10-21 Thread Joel Goldstick
On Mon, Oct 21, 2013 at 3:31 AM, Mark Lawrence wrote: > > On 21/10/2013 07:07, Νίκος Αλεξόπουλος wrote: >> >> >> Any help would be appreciated. > > > It is considered polite to wait for at least 24 hours before pinging. If > waiting for this time isn't an option then paying for support is. > > --

Class construction

2013-10-21 Thread Demian Brecht
Hi all, I'm trying to wrap my head around how classes are constructed at the interpreter level (as a side effect of digging into metaclasses) and I'm hoping to have my investigation either validated or ridiculed ;) The pipeline that I've figured through some gdb debugging (starting at type_call):

IDLE being too clever checking nonlocal declarations?

2013-10-21 Thread Chris Angelico
Try typing this into IDLE: >>> def a(): def b(): nonlocal q SyntaxError: no binding for nonlocal 'q' found In interactive command-line Python, this doesn't throw an error, and it works fine if the name is used later: >>> def a(): def b(): nonlocal q q+=1 q=1

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Roy Smith
On Mon, Oct 21, 2013 at 1:07 PM, Steven D'Aprano wrote: > One of the reasons multiple languages exist is because people find that > useful programming idioms and styles are *hard to use* or "ugly" in some > languages, so they create new languages with different syntax to make > those useful patte

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread rusi
On Monday, October 21, 2013 2:13:52 PM UTC+5:30, Peter Cacioppi wrote: > Specifically the following seems so misguided as to be deliberate trolling. The same could be said for this below… but… > > "One of the reasons multiple languages exist is because people find that > useful programming idio

Re: Python Front-end to GCC

2013-10-21 Thread Philip Herron
Hey all, Thanks, i've been working on this basically on my own 95% of the compiler is all my code, in my spare time. Its been fairly scary all of this for me. I personally find this as a real source of interest to really demystify compilers and really what Jit compilation really is under the ho

Re: Python Front-end to GCC

2013-10-21 Thread Oscar Benjamin
On 21 October 2013 08:46, Steven D'Aprano wrote: > On Sun, 20 Oct 2013 20:35:03 -0700, Mark Janssen wrote: > > [Attribution to the original post has been lost] >>> Is a jit implementation of a language (not just python) better than >>> traditional ahead of time compilation. >> >> Not at all. The

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Metallicow
Are you suggesting Advertising is the Best language there is? # After many years, I agree not, but what to may... def If I do Something do, you not react(): IsMySyntaxNotCorrect() CanINotCorrectMyGrammaticalMistakesAndSeekAcceptance(): # The most arguable language

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Peter Cacioppi
Specifically the following seems so misguided as to be deliberate trolling. "One of the reasons multiple languages exist is because people find that useful programming idioms and styles are *hard to use* or "ugly" in some languages, so they create new languages with different syntax to make tho

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Metallicow
Python is the Best! -- https://mail.python.org/mailman/listinfo/python-list

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Steven D'Aprano
On Sun, 20 Oct 2013 23:44:27 -0700, Peter Cacioppi wrote: > This is just one language feature. I could go on and on. The idea that > the differences between these languages is just syntactic sugar and > aesthetics is so profoundly misguided that I can only assume that this > misconception was prop

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Mark Lawrence
On 21/10/2013 08:43, Chris Angelico wrote: On Mon, Oct 21, 2013 at 6:39 PM, Mark Lawrence wrote: On 21/10/2013 08:31, Chris Angelico wrote: "I use Google Groups and it sucks, so I delete all the context because then nobody can see how much it sucks at showing context." Because it's written

Re: Python Front-end to GCC

2013-10-21 Thread Steven D'Aprano
On Sun, 20 Oct 2013 20:35:03 -0700, Mark Janssen wrote: [Attribution to the original post has been lost] >> Is a jit implementation of a language (not just python) better than >> traditional ahead of time compilation. > > Not at all. The value of jit compilation, I believe, is purely for the > d

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Chris Angelico
On Mon, Oct 21, 2013 at 6:39 PM, Mark Lawrence wrote: > On 21/10/2013 08:31, Chris Angelico wrote: > >> "I use Google Groups and it sucks, so I delete all the context because >> then nobody can see how much it sucks at showing context." > > > Because it's written in (say) C++ in an object orientat

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Mark Lawrence
On 21/10/2013 08:31, Chris Angelico wrote: "I use Google Groups and it sucks, so I delete all the context because then nobody can see how much it sucks at showing context." Because it's written in (say) C++ in an object orientated style, so by rewriting it using assembler in a procedural styl

Re: Printing a drop down menu for a specific field.

2013-10-21 Thread Νίκος Αλεξόπουλος
Στις 21/10/2013 9:58 πμ, ο/η Steven D'Aprano έγραψε: On Mon, 21 Oct 2013 09:07:17 +0300, Νίκος Αλεξόπουλος wrote: for row in data: (host, city, useros, browser, ref, hits, lastvisit) = row lastvisit = lastvisit.strftime('%A %e %b, %H:%M') print( "" )

Re: Printing a drop down menu for a specific field.

2013-10-21 Thread Mark Lawrence
On 21/10/2013 07:07, Νίκος Αλεξόπουλος wrote: Any help would be appreciated. It is considered polite to wait for at least 24 hours before pinging. If waiting for this time isn't an option then paying for support is. -- Python is the second best programming language in the world. But the bes

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Chris Angelico
On Mon, Oct 21, 2013 at 6:27 PM, Mark Lawrence wrote: > On 21/10/2013 07:44, Peter Cacioppi wrote: >> [ a whole lot of stuff ] > > As my crystal ball is once again being mended, would you please be kind > enough to tell all of us who and exactly what you're replying to. Mine is in service at the

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Mark Lawrence
On 21/10/2013 07:44, Peter Cacioppi wrote: I've written a fair bit of code in pure C, C++, C#, Java and now getting there in Python. The difference between C# and Java is fairly minor. The others have large and significant differences between them. Garbage collectors or not is huge. Exception

Re: skipping __init__ and using exploiting a class member instead

2013-10-21 Thread feedthetroll
Am Montag, 21. Oktober 2013 06:31:36 UTC+2 schrieb Peter Cacioppi: > That sound you hear is Roy Smith hitting the nail on the head. PLONK: The sound you hear, when a context-less troll is hitting the bottom of my killfile. -- https://mail.python.org/mailman/listinfo/python-list

Animated PNG Vs Gif: 120fr 3D Python Powered Logo

2013-10-21 Thread Metallicow
Discussion: Dear Guido and friends, Noticed this is gaining alot more support lately. http://www.kickstarter.com/projects/374397522/apngasm-foss-animated-png-tools-and-apng-standardi After testing my gif and apng Animated 3D Python Powered Logos... The difference is real obvious at first. apng w

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread Chris Angelico
On Mon, Oct 21, 2013 at 5:44 PM, Peter Cacioppi wrote: > I've written a fair bit of code in pure C, C++, C#, Java and now getting > there in Python. > > The difference between C# and Java is fairly minor. > > The others have large and significant differences between them. Garbage > collectors or

Re: Printing a drop down menu for a specific field.

2013-10-21 Thread Steven D'Aprano
On Mon, 21 Oct 2013 09:07:17 +0300, Νίκος Αλεξόπουλος wrote: >> for row in data: >> (host, city, useros, browser, ref, hits, lastvisit) = row >> lastvisit = lastvisit.strftime('%A %e %b, %H:%M') >> >> print( "" ) >> for item in (host, city, useros, browser,