On Mon, Apr 1, 2013 at 4:33 PM, rusi wrote:
> So I really wonder: Is python losing more by supporting SMP with
> performance hit on BMP?
If your strings fit entirely within the BMP, then you should see no
penalty compared to previous versions of Python. If they happen to fit
inside ASCII, then th
On Sun, Mar 31, 2013 at 11:33 PM, rusi wrote:
>
> So I really wonder: Is python losing more by supporting SMP with
> performance hit on BMP?
I don't believe so. Although performance is undeniably worse for some
benchmarks, it is also better for some others. Nobody has yet
demonstrated an actual
On Monday, April 1, 2013 1:24:52 AM UTC-4, Chris Angelico wrote:
> On Mon, Apr 1, 2013 at 4:15 PM, wrote:
>
> > integer = input("Enter a positive integer: ")
>
> > again = raw_input("Again? (Y/N): ")
>
>
>
> Okay, the first thing I'm going to say is: Don't use input() in Python
>
>
On Mar 31, 5:55 pm, Mark Lawrence wrote:
> I'm feeling very sorry for this horse, it's been flogged so often it's
> down to bare bones.
While I am now joining the camp of those fed up with jmf's whining, I
do wonder if we are shooting the messenger…
>From a recent Roy mysqldb-unicode thread:
On Mon, Apr 1, 2013 at 4:15 PM, wrote:
> integer = input("Enter a positive integer: ")
> again = raw_input("Again? (Y/N): ")
Okay, the first thing I'm going to say is: Don't use input() in Python
2. It's dangerous in ways you won't realize. Use int(raw_input(...))
for something like this
I want to add up the integers of this code in one line. For example, if I had
the code
integer = 0
denom = 10
again = "y" #sentinel:
while again == "y" or again == "Y":
integer = input("Enter a positive integer: ")
while denom <= integer:
denom = denom*10
while denom > 1:
executor.map()TypeError: zip argument #2 must support iteration
when I run it ,just generated TypeError: zip argument #2 must support iteration.
can anyone help me fix this problem ?
import time, concurrent.futures
lst100=[i for i in range(100)]
t1=time.clock()
print(list(map(str,lst100)))
t
On Mon, 01 Apr 2013 00:39:56 +, Alex wrote:
> Chris Angelico wrote:
>
>
>> Opening paragraph, "... exponentiation, which groups from right to
>> left". It follows the obvious expectation from mathematics. (The OP is
>> using Python 2, but the same applies.)
>
> Thanks. I did miss that paren
Sorry.
Won't happen again.
signing off this topic.
Eric.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Apr 1, 2013 at 11:39 AM, Alex wrote:
> Given that
>
> 3
> 5
> 4
>
> (i.e.: 4**5**3) is transitive, I would have expected Python to exhibit
> more consistency with the other operators. I guess that is one of the
> foolish consistencies that comprise the hobgoblins of my little mind,
> th
Chris Angelico wrote:
>
> Opening paragraph, "... exponentiation, which groups from right to
> left". It follows the obvious expectation from mathematics. (The OP is
> using Python 2, but the same applies.)
Thanks. I did miss that parenthetical comment in para 6.15, and that
would have been the
On 03/31/2013 10:57 AM, Byron Ruth wrote:
I submitted this as bug last night: http://bugs.python.org/issue17584 and was
*honored* to be rejected by Raymond Hettinger. However, I would like feedback
on whether my concern (this bug) is justified and clarity if not.
Consider:
```python
class A(o
On 31 March 2013 23:34, Dave Angel wrote:
>[...] With my Python
> 2.7.2, exit(something) with something being a string prints the string and
> then exits. Nowhere have I seen that documented, and I thought it either
> took an int or nothing.
It is documented, just not exactly where you'd expect
On Mon, Apr 1, 2013 at 9:27 AM, Eric Parry wrote:
> [ chomp 128 lines of quoted text ]
>
> I tried all those things. The program keeps running after the solution in
> every case. Never mind. It won't do that in VBA when I finish it.
> Eric.
You have just spammed us with, and I counted them, one
On 03/31/2013 06:03 PM, Eric Parry wrote:
I think in the original it was exit(a). That did not work either.
There you go again. "Did not work" tells us very little. With my
Python 2.7.2, exit(something) with something being a string prints the
string and then exits. Nowhere have I s
On 03/31/2013 06:06 PM, Alex wrote:
Dave Angel wrote:
On 03/31/2013 02:56 AM, morphex wrote:
1**2
1
1**2**3
1
1**2**3**4
1L
1**2**3**4**5
Traceback (most recent call last):
File "", line 1, in
MemoryError
Does anyone know why this raises a MemoryError? Doesn't make sense
to me.
On Mon, Apr 1, 2013 at 9:28 AM, Chris Angelico wrote:
> On Mon, Apr 1, 2013 at 9:06 AM, Alex wrote:
>> Really?
>>
>> The Python 3 documentation
>> (http://docs.python.org/3/reference/expressions.html) says in section
>> 6.14 (Evaluation order) that "Python evaluates expressions from left to
>> ri
On Mon, Apr 1, 2013 at 9:06 AM, Alex wrote:
> Dave Angel wrote:
>
>> On 03/31/2013 02:56 AM, morphex wrote:
>> > > > > 1**2
>> > 1
>> > > > > 1**2**3
>> > 1
>> > > > > 1**2**3**4
>> > 1L
>> > > > > 1**2**3**4**5
>> > Traceback (most recent call last):
>> > File "", line 1, in
>> > MemoryError
>
On Monday, April 1, 2013 8:33:47 AM UTC+10:30, Eric Parry wrote:
> On Sunday, March 31, 2013 9:45:36 AM UTC+10:30, Dave Angel wrote:
>
> > On 03/30/2013 06:06 PM, Eric Parry wrote:
>
> >
>
> > > On Saturday, March 30, 2013 8:41:08 AM UTC+10:30, Dave Angel wrote:
>
> >
>
> > >> On 03/29/2013
On Mon, Apr 1, 2013 at 9:02 AM, Mark Lawrence wrote:
> On 31/03/2013 22:21, Chris Angelico wrote:
>>>
>>>sue = time.mktime(
>>> (int(m.group(7)), int(months[m.group(2)]), int(m.group(3)),
>>>int(m.group(4)), int(m.group(5)), int(m.group(6)),
>>>int(days[m.g
Dave Angel wrote:
> On 03/31/2013 02:56 AM, morphex wrote:
> > > > > 1**2
> > 1
> > > > > 1**2**3
> > 1
> > > > > 1**2**3**4
> > 1L
> > > > > 1**2**3**4**5
> > Traceback (most recent call last):
> > File "", line 1, in
> > MemoryError
> > > > >
> >
> > Does anyone know why this raises a Memor
On Sunday, March 31, 2013 9:45:36 AM UTC+10:30, Dave Angel wrote:
> On 03/30/2013 06:06 PM, Eric Parry wrote:
>
> > On Saturday, March 30, 2013 8:41:08 AM UTC+10:30, Dave Angel wrote:
>
> >> On 03/29/2013 05:47 PM, Eric Parry wrote:
>
> >>
>
> >>>
>
> >>
>
> >> Sometimes a bug in such a fun
On 31/03/2013 22:21, Chris Angelico wrote:
sue = time.mktime(
(int(m.group(7)), int(months[m.group(2)]), int(m.group(3)),
int(m.group(4)), int(m.group(5)), int(m.group(6)),
int(days[m.group(1)]), 0, 0)
)
expire_time = (sue current_time)/60
On Sunday, March 31, 2013 3:27:06 PM UTC-6, Roy Smith wrote:
> If this is for an interview, you really should be doing this on your
> own. I assume the point of the interview is to see how well you know
> Python. Please don't expect people here to take your interview for you.
Maybe the interv
On Sunday, March 31, 2013 5:35:38 PM UTC-4, Chris Angelico wrote:
> On Mon, Apr 1, 2013 at 8:21 AM, jojo wrote:
>
> > Thanks for your replies. Just to be clear this is for a interview and they
> > would like me to figure out what the code does and come back with some test
> > cases
>
>
>
> T
On 03/31/2013 02:41 PM, Roy Smith wrote:
In article ,
Dave Angel wrote:
On 03/31/2013 12:52 PM, C.T. wrote:
On Sunday, March 31, 2013 12:20:25 PM UTC-4, zipher wrote:
Thank you, Mark! My problem is the data isn't consistently ordered. I can
use slicing and indexing to put the year in
On Sunday, March 31, 2013 5:27:06 PM UTC-4, Roy Smith wrote:
> In article <4455829d-5b4a-44ee-b65f-5f72d429b...@googlegroups.com>,
>
> jojo wrote:
>
>
>
> > Thanks for your replies. Just to be clear this is for a interview and they
>
> > would like me to figure out what the code does and co
On Mon, Apr 1, 2013 at 8:21 AM, jojo wrote:
> Thanks for your replies. Just to be clear this is for a interview and they
> would like me to figure out what the code does and come back with some test
> cases
That explains the utter lack of comments, then. In well-maintained
code, you would simpl
In article <4455829d-5b4a-44ee-b65f-5f72d429b...@googlegroups.com>,
jojo wrote:
> Thanks for your replies. Just to be clear this is for a interview and they
> would like me to figure out what the code does and come back with some test
> cases. I don't need to code the tests, just give some hig
On Sunday, March 31, 2013 5:13:49 PM UTC-4, Roy Smith wrote:
> In article <2912c674-e30b-4339-9344-1f460cb96...@googlegroups.com>,
>
> jojo wrote:
>
>
>
> > for fname in dirList:
>
> > cmd = "keytool �printcert �file " + fname
>
> > for line in os.popen(cmd).readlines():
>
> >line =
On Sunday, March 31, 2013 5:21:00 PM UTC-4, Chris Angelico wrote:
> On Mon, Apr 1, 2013 at 8:06 AM, jojo wrote:
>
> > On Sunday, March 31, 2013 4:39:11 PM UTC-4, Chris Angelico wrote:
>
> >> On Mon, Apr 1, 2013 at 7:10 AM, jojo wrote:
>
> >>
>
> >> > Im used to C# so the syntax looks bizarre t
On Mon, Apr 1, 2013 at 8:06 AM, jojo wrote:
> On Sunday, March 31, 2013 4:39:11 PM UTC-4, Chris Angelico wrote:
>> On Mon, Apr 1, 2013 at 7:10 AM, jojo wrote:
>>
>> > Im used to C# so the syntax looks bizarre to me! Any help would be great.
>>
>>
>>
>> The first thing you'll need to understand abo
In article <2912c674-e30b-4339-9344-1f460cb96...@googlegroups.com>,
jojo wrote:
> for fname in dirList:
> cmd = "keytool printcert file " + fname
> for line in os.popen(cmd).readlines():
>line = line.rstrip()
>m = p.search(line)
>if m:
> sue = time.mktime(
> (int(m.
In article <37f23623-8bf5-421a-ab6a-34ff622c6...@googlegroups.com>,
jojo wrote:
> Hi - I am a newbie to python and was wondering can someone tell me what the
> following code does. I need to figure out how to test it
I know this is going to sound unhelpful, but if your task is to test the
cod
On Sunday, March 31, 2013 4:39:11 PM UTC-4, Chris Angelico wrote:
> On Mon, Apr 1, 2013 at 7:10 AM, jojo wrote:
>
> > Im used to C# so the syntax looks bizarre to me! Any help would be great.
>
>
>
> The first thing you'll need to understand about Python syntax is that
>
> indentation is impor
On Mon, Apr 1, 2013 at 7:10 AM, jojo wrote:
> Im used to C# so the syntax looks bizarre to me! Any help would be great.
The first thing you'll need to understand about Python syntax is that
indentation is important. By posting this code flush-left, you've
actually destroyed its block structure. C
Τη Κυριακή, 31 Μαρτίου 2013 11:21:21 μ.μ. UTC+3, ο χρήστης ru...@yahoo.com
έγραψε:
> On 03/31/2013 02:08 PM, Νίκος Γκρ33κ wrote:
>
>
>
> > But i look the code and run python via interactive prompt and it says
>
> > it has no error.
>
>
>
> Does it produce any output? Is that output the rig
On 03/31/2013 02:08 PM, Νίκος Γκρ33κ wrote:
> But i look the code and run python via interactive prompt and it says
> it has no error.
Does it produce any output? Is that output the right html? That is, if
you save the html to a file and open that file in a browser, does it look
right?
> So i
On 03/31/2013 01:19 PM, Νίκος Γκρ33κ wrote:
> I just tried the testmysql.py script:
>[...snip code...]
I hope no one who reads this list also has access to your database
and that you don't use that username/password anyplace else.
> it works, as you can see at:
> http://superhost.gr/cgi-bin/test
Hi - I am a newbie to python and was wondering can someone tell me what the
following code does. I need to figure out how to test it
import time
import glob
import re
import os
current_time = time.time() + 60*60+24*30
dirList = glob.glob('\content\paytek\ejbProperties\cybersource\*.crt')
q = r
Τη Κυριακή, 31 Μαρτίου 2013 10:46:57 μ.μ. UTC+3, ο χρήστης ru...@yahoo.com
έγραψε:
> On 03/31/2013 01:12 PM, Νίκος Γκρ33κ wrote:
>
> > Firsly, thank you for your willing to help me. i wrote, uploaded an
>
> > chmoded test.py and you can see the cgi enviromental table here:
>
> > http://superhos
Thanks for responding Terry.
I can assure you I did not initially realize both the `next` and the `__iter__`
methods were implemented when I ran into my original problem. I saw a behavior
and had to work backwards to realize why it was behaving the way it was (the
comparison against Iterator).
On 03/31/2013 01:12 PM, Νίκος Γκρ33κ wrote:
> Firsly, thank you for your willing to help me. i wrote, uploaded an
> chmoded test.py and you can see the cgi enviromental table here:
> http://superhost.gr/cgi-bin/test.py All values seem okey, so it
> really isnt somehting wrong with the cgi enviromen
On 3/31/2013 1:57 PM, Byron Ruth wrote:
I submitted this as bug last night: http://bugs.python.org/issue17584 and was
*honored* to be rejected by Raymond Hettinger. However, I would like feedback
on whether my concern (this bug) is justified and clarity if not.
Consider:
```python
class A(obj
Raymond's replied to my follow-up and made me realize that the `next` property
could return a callable and it would be transparent to the caller.
On Sunday, March 31, 2013 1:57:08 PM UTC-4, Byron Ruth wrote:
> I submitted this as bug last night: http://bugs.python.org/issue17584 and was
> *honor
Hi everyone,
i'm new to the newsgroup and to python allthough (thanks to internet and the
helpfull people i find) i've done a few scripts in python working like a charm.
First of all i have to say i'm working on linux with python 2.3.7 (hope it's
right) and libreoffice calc.
My calc file gathe
I just tried the testmysql.py script:
#!/usr/bin/python3
# coding=utf-8
import cgitb; cgitb.enable()
import cgi, re, os, sys, socket, datetime, MySQLdb, locale, random, subprocess
# connect to database
con = MySQLdb.connect( db = 'nikos_metrites', host = 'localhost', user =
'nikos_nikos', pas
Τη Κυριακή, 31 Μαρτίου 2013 9:14:43 μ.μ. UTC+3, ο χρήστης ru...@yahoo.com
έγραψε:
> On 03/31/2013 08:03 AM, Νίκος Γκρ33κ wrote:
>
> > Hello all,
>
> >
>
> > i need some help
>
> > i recently changes pythoon 2.6 code => python 3.2.3 but my script although
> > not producing any errors now does
On 3/31/2013 11:52 AM, C.T. wrote:
Hello,
I'm currently working on a homework problem that requires me to create a
dictionary from a .txt file that contains some of the worst cars ever made. The
file looks something like this:
1958 MGA Twin Cam
1958 Zunndapp Janus
1961 Amphicar
1961 Corvair
1
I was investigating G. Spencer-Brown's Laws of Form[1] by implementing it
in Python. You can represent the "marks" of LoF as datastructures in
Python composed entirely of tuples.
For example:
A mark: ()
A mark next to a mark: (), ()
A mark within a mark: ((),)
and so on...
It is known that the
In article ,
Dave Angel wrote:
> On 03/31/2013 12:52 PM, C.T. wrote:
> > On Sunday, March 31, 2013 12:20:25 PM UTC-4, zipher wrote:
> >>
> >>
> >
> > Thank you, Mark! My problem is the data isn't consistently ordered. I can
> > use slicing and indexing to put the year into a tuple, but becaus
On 03/31/2013 08:03 AM, Νίκος Γκρ33κ wrote:
> Hello all,
>
> i need some help
> i recently changes pythoon 2.6 code => python 3.2.3 but my script although
> not producing any errors now doesnt display anything else but a blank page at
> htp://superhost.gr
> can you help?
>
> I tried MySQLdb, py
I submitted this as bug last night: http://bugs.python.org/issue17584 and was
*honored* to be rejected by Raymond Hettinger. However, I would like feedback
on whether my concern (this bug) is justified and clarity if not.
Consider:
```python
class A(object):
def __init__(self):
self
On 03/31/2013 12:52 PM, C.T. wrote:
On Sunday, March 31, 2013 12:20:25 PM UTC-4, zipher wrote:
Thank you, Mark! My problem is the data isn't consistently ordered. I can use
slicing and indexing to put the year into a tuple, but because a car
manufacturer could have two names (ie, Aston Ma
On Sunday, March 31, 2013 12:38:56 PM UTC-4, Roy Smith wrote:
> In article ,
>
> "C.T." wrote:
>
>
>
> > Hello,
>
> >
>
> > I'm currently working on a homework problem that requires me to create a
>
> > dictionary from a .txt file that contains some of the worst cars ever made.
>
> > T
On Mon, Apr 1, 2013 at 4:19 AM, C.T. wrote:
> Thank you, Chris! I could use slicing and indexing to build the dictionary
> but the problem is with the car manufacturer an the car model. Either or both
> could be multiple names.
Then you're going to need some other form of magic to recognize whe
On Sunday, March 31, 2013 12:06:18 PM UTC-4, Chris Angelico wrote:
> On Mon, Apr 1, 2013 at 2:52 AM, C.T.
>
> > After playing around with the code, I came up with the following code to
> > get everything into a list:
>
> >
>
> > d=[]
>
> > car_file = open('worstcars.txt', 'r')
>
> > for line
On Sunday, March 31, 2013 12:20:25 PM UTC-4, zipher wrote:
> Every line is now an element in list d. The question I have now is how can I
> make a dictionary out of the list d with the car manufacturer as the key and
> a tuple containing the year and the model should be the key's value. Here is
In article ,
"C.T." wrote:
> Hello,
>
> I'm currently working on a homework problem that requires me to create a
> dictionary from a .txt file that contains some of the worst cars ever made.
> The file looks something like this:
>
> 1958 MGA Twin Cam
> 1958 Zunndapp Janus
> 1961 Amphicar
> 1
>
> Every line is now an element in list d. The question I have now is how can
> I make a dictionary out of the list d with the car manufacturer as the key
> and a tuple containing the year and the model should be the key's value.
> Here is a sample of what list d looks like:
>
> ['1899 Horsey Hors
On Mon, Apr 1, 2013 at 2:52 AM, C.T. wrote:
> After playing around with the code, I came up with the following code to get
> everything into a list:
>
> d=[]
> car_file = open('worstcars.txt', 'r')
> for line in car_file:
> d.append(line.strip('\n'))
> print (d)
> car_file.close()
>
> Every l
Hello,
I'm currently working on a homework problem that requires me to create a
dictionary from a .txt file that contains some of the worst cars ever made. The
file looks something like this:
1958 MGA Twin Cam
1958 Zunndapp Janus
1961 Amphicar
1961 Corvair
1966 Peel Trident
1970 AMC Gremlin
197
I like to feed trolls :-)
On 31 Mrz., 16:03, Νίκος Γκρ33κ wrote:
> Hello all,
Hello Ferrous Cranus [3]!
> ...
> I tried MySQLdb, pymysql, oursql, but nothing happens.
> i still get a blank page. I dont know what else to try since i see no error.
Well, the output of your cgi is:
--> -->
A Healthy Alternative to Takeaway Regret
http://natigtas7ab.blogspot.com/2013/03/a-healthy-alternative-to-takeaway-regret.html
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Steve B wrote:
> I found a piece of code
> [http://blog.pamelafox.org/2012/04/converting-addresses-to-timezones-in.html
> ] which uses the function [https://gist.github.com/pamelafox/2288222]
>
> When I try to run the code, I get the error geonames is not defined (This is
> the fun
Hi All
I'm new to python (4 days J) and was wondering if anyone out there can help
me
I am trying to get the time zones for latitude and longitude coordinates
but am having a few problems
The mistakes are probably very basic
I have a table in a database with around 600 rows. Each row
Hello all,
i need some help
i recently changes pythoon 2.6 code => python 3.2.3 but my script although not
producing any errors now doesnt display anything else but a blank page at
htp://superhost.gr
can you help?
I tried MySQLdb, pymysql, oursql, but nothing happens.
i still get a blank page.
On Sun, Mar 31, 2013 at 9:15 AM, Roy Smith wrote:
>
> > $ prtstat 29937
> > Process: mongodState: S (sleeping)
> > [...]
> > Memory
> > Vsize: 1998285 MB
> > RSS: 5428 MB
> > RSS Limit: 18446744073709 MB
>
> If I counted the digits right, that 1.9 TB. I love the R
On 19.03.2013 21:01, maiden129 wrote:
Hello,
I'm using python 3.2.3 and I'm making a program that show the of occurrences of
the character in the string in Tkinter.
My questions are:
How can I make an empty Entry object that will hold a word that a user will
enter?
How to make an empty Entr
In article ,
Dave Angel wrote:
> I'm typing this while a terminal is open doing the particular operation,
> and the system doesn't seem in the least sluggish.
>
> Currently the memory used is at 10gig, and while there are some pauses
> in my typing, the system has not died. This is on Linux
In article <8276eff6-9e5c-4060-b9e8-94fab6062...@googlegroups.com>,
morphex wrote:
> Aha, OK. Thought I found a bug but yeah that makes sense ;)
>
> While we're on the subject, wouldn't it be nice to have some cap there so
> that it isn't possible to more or less block the system with large
On 31/03/2013 08:35, jmfauth wrote:
--
Neil Hodgson:
"The counter-problem is that a French document that needs to include
one mathematical symbol (or emoji) outside Latin-1 will double in size
as a Python string."
Serious developers/typographers/users know that you can not compose
a text i
In article <5157e6cc$0$29974$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> For what it's worth, that last intermediate result (two to the power of
> the 489-digit number) has approximately a billion trillion trillion
> trillion trillion trillion trillion trillion trillion trill
On 03/31/2013 08:07 AM, morphex wrote:
Aha, OK. Thought I found a bug but yeah that makes sense ;)
While we're on the subject, wouldn't it be nice to have some cap there so that
it isn't possible to more or less block the system with large exponentiation?
There's an assumption there. The O
Aha, OK. Thought I found a bug but yeah that makes sense ;)
While we're on the subject, wouldn't it be nice to have some cap there so that
it isn't possible to more or less block the system with large exponentiation?
On Sunday, March 31, 2013 9:33:32 AM UTC+2, Steven D'Aprano wrote:
> On Sat, 3
On Sun, 31 Mar 2013 00:35:23 -0700, jmfauth wrote:
> This is not really the problem. "Serious users" may notice sooner or
> later, Python and Unicode are walking in opposite directions
> (technically and in spirit).
>
timeit.repeat("'a' * 1000 + 'ẞ'")
> [1.1088995672090292, 1.08422666132619
On 03/31/2013 03:33 AM, Steven D'Aprano wrote:
On Sat, 30 Mar 2013 23:56:46 -0700, morphex wrote:
Hi.
I was just doodling around with the python interpreter today, and here
is the dump from the terminal:
morphex@laptop:~$ python
Python 2.7.3 (default, Sep 26 2012, 21:53:58) [GCC 4.7.2] on lin
--
Neil Hodgson:
"The counter-problem is that a French document that needs to include
one mathematical symbol (or emoji) outside Latin-1 will double in size
as a Python string."
Serious developers/typographers/users know that you can not compose
a text in French with "latin-1". This is now a
On Sat, 30 Mar 2013 23:56:46 -0700, morphex wrote:
> Hi.
>
> I was just doodling around with the python interpreter today, and here
> is the dump from the terminal:
>
> morphex@laptop:~$ python
> Python 2.7.3 (default, Sep 26 2012, 21:53:58) [GCC 4.7.2] on linux2
> Type "help", "copyright", "cre
On 03/31/2013 02:56 AM, morphex wrote:
Hi.
I was just doodling around with the python interpreter today, and here is the
dump from the terminal:
morphex@laptop:~$ python
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for mor
Hi.
I was just doodling around with the python interpreter today, and here is the
dump from the terminal:
morphex@laptop:~$ python
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1**2
1
>>> 1**2**3
1
81 matches
Mail list logo