(You forgot to separate the parts of my comments that you were quoting
from your responses. Any decent email program will do that for you
automatically, inserting "< " in front of each quoted line. Then you
just hit enter a couple of times to type the new stuff right after the
part you're quo
On Sat, Apr 6, 2013 at 8:18 PM, Roy Smith wrote:
> In article ,
> Ian Kelly wrote:
>
>> On Sat, Apr 6, 2013 at 7:29 PM, Steven D'Aprano
>> wrote:
>> > For some definition of "easily".
>> >
>> > if implementation == "CPython":
>> > if version < "3.3":
>> > if sys.maxunicode exists:
>
Now you've saved the data in a different file. How does the next run of
the program find it?
What user? In what environment can a user enter function calls into
your code?
-The user will call the function out from IDLE
Why is the command invalid?
-Because the user need to type out a name
On 04/06/2013 11:22 PM, Frank wrote:
Hi Dave,
Sorry for my unclear question.
I didn't use the d = load_friends('friends.csv') now because I'm going use it
for other function later on, I should have remove it first to avoid confusion.
This is the code for load_friends , add_info ,display_frie
Hi Dave,
Sorry for my unclear question.
I didn't use the d = load_friends('friends.csv') now because I'm going use it
for other function later on, I should have remove it first to avoid confusion.
This is the code for load_friends , add_info ,display_friends, save_friends
function:
def load_
Then you see my point, unless you are being told what to use by a boss then
there are plenty of other languages you can choose from. Python is rigid
about it's format, that's just what it is and a lot of people like it but
if it's not your thing then some other language will probably suit you
bette
In article <5160bcbc.3030...@gmail.com>, Gene
wrote:
> I hope someone can help with this problem with pythonbrew on my mac
> running OS X 10.8.3 with updated Xcode and CLT.
[...]
> The python 3.3.0 install using pythonbrew was made with default options
> and seems to be working okay but when I
> Am I the only one here who has used a typewriter?
>
> I used one. And http://en.wikipedia.org/wiki/White-Out. And
http://en.wikipedia.org/wiki/Correction_tape.
My wife typed her dissertation on this:
http://en.wikipedia.org/wiki/File:Hardwarewordprocessor.png.
--
http://mail.python.org/mailma
In article ,
Ian Kelly wrote:
> On Sat, Apr 6, 2013 at 7:29 PM, Steven D'Aprano
> wrote:
> > For some definition of "easily".
> >
> > if implementation == "CPython":
> > if version < "3.3":
> > if sys.maxunicode exists:
> > use it to decide whether this is a wide or narr
In article <5160cc44$0$29995$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> On Sun, 07 Apr 2013 01:20:32 +1100, Chris Angelico wrote:
>
> > On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote:
> >> Historically, software and hardware which assigns a meaning to a tab
> >> character has
On Sat, Apr 6, 2013 at 3:24 PM, Chris Angelico wrote:
> On Sat, Apr 6, 2013 at 8:09 PM, Serhiy Storchaka wrote:
>> 04.04.13 00:57, Chris Angelico написав(ла):
>>> http://bugs.python.org/issue17629 opened.
>>
>>
>> See also the discussion at
>> http://comments.gmane.org/gmane.comp.python.ideas/156
On Sat, Apr 6, 2013 at 7:29 PM, Steven D'Aprano
wrote:
> For some definition of "easily".
>
> if implementation == "CPython":
> if version < "3.3":
> if sys.maxunicode exists:
> use it to decide whether this is a wide or narrow build
> if a wide build: return 4
On Sun, Apr 7, 2013 at 1:05 AM, Tom P wrote:
> On 04/05/2013 02:27 PM, Dylan Evans wrote:
>
>> On 05/04/2013 9:09 PM, "Tom P" wrote:
>>
>>>
>>> First, here's a sample test program:
>>>
>>> import sys
>>> from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
>>>
>>> class MyRequestHandle
On 04/06/2013 09:03 PM, Frank wrote:
Hi all, I would require advise on this question for function call interact:
the desire outcome:
interact()
Friends File: friends.csv
Command: f John Cleese
John Cleese: Ministry of Silly Walks, 421, 27 October
Command: f Michael Palin
Unknown friend Micha
On Sat, 06 Apr 2013 11:01:04 -0400, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote:
>> > Historically, software and hardware which assigns a meaning to a tab
>> > character has come in two flavours:
>> >
>> > 1. Tab stops are every 8
On Sun, 07 Apr 2013 01:20:32 +1100, Chris Angelico wrote:
> On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote:
>> Historically, software and hardware which assigns a meaning to a tab
>> character has come in two flavours:
>>
>> 1. Tab stops are every 8 columns; this cannot be changed. 2. Tab stops
>>
On Sat, 06 Apr 2013 14:58:23 -0700, Ethan Furman wrote:
> On 04/06/2013 02:24 PM, Chris Angelico wrote:
>> On Sat, Apr 6, 2013 at 8:09 PM, Serhiy Storchaka
>> wrote:
>>> 04.04.13 00:57, Chris Angelico написав(ла):
http://bugs.python.org/issue17629 opened.
>>>
>>>
>>> See also the discussion
Hi all, I would require advise on this question for function call interact:
the desire outcome:
interact()
Friends File: friends.csv
Command: f John Cleese
John Cleese: Ministry of Silly Walks, 421, 27 October
Command: f Michael Palin
Unknown friend Michael Palin
Command: f
Invalid Command: f
On 04/06/2013 08:35 PM, Mark Janssen wrote:
(Apologies in advance if you get multiple copies of this. My Usenet
connection seems to be having a conniption fit at the moment.)
I'm looking for an official way to tell what interpreter (if any) is
running, or at least a not-too-horrible unofficial w
> (Apologies in advance if you get multiple copies of this. My Usenet
> connection seems to be having a conniption fit at the moment.)
>
> I'm looking for an official way to tell what interpreter (if any) is
> running, or at least a not-too-horrible unofficial way.
I was going to work on this IDLE
On 4/5/2013 5:30 AM, Steven D'Aprano wrote:
I'm looking for an official way to tell what interpreter (if any) is
running, or at least a not-too-horrible unofficial way.
The interpreters distributed by PSF identify themselves on startup, as
least in interactive mode, by displaying a line like
Hi,
I hope someone can help with this problem with pythonbrew on my mac
running OS X 10.8.3 with updated Xcode and CLT.
$PATH =
/Users/Gene/.pythonbrew/bin:/Users/Gene/.pythonbrew/pythons/Python-3.3.0/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/
On 04/06/2013 02:24 PM, Chris Angelico wrote:
On Sat, Apr 6, 2013 at 8:09 PM, Serhiy Storchaka wrote:
04.04.13 00:57, Chris Angelico написав(ла):
http://bugs.python.org/issue17629 opened.
See also the discussion at
http://comments.gmane.org/gmane.comp.python.ideas/15640 . I agree with
rejec
The Story of Jesus and Mary in the Holy Quran
The following three part series consists entirely of verses from the
Holy Quran about Mary (Mother of
Jesus) including her birth, childhood, personal qualities, and the
miraculous birth of Jesus.
This part explores the life of the Prophet Jesus, his me
On 04/05/2013 01:02 PM, Tom P wrote:
ok, after much experimenting it looks like the solution is as follows:
class MyWebServer(object):
def __init__(self):
# self.foo = "foo" delete these from self
# self.bar = "bar"
myServer = HTTPServer
myServer.foo = "foo" #
On Sun, Apr 7, 2013 at 2:01 AM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote:
>> > Historically, software and hardware which assigns a meaning to a tab
>> > character has come in two flavours:
>> >
>> > 1. Tab stops are every 8 colum
On Sat, Apr 6, 2013 at 8:09 PM, Serhiy Storchaka wrote:
> 04.04.13 00:57, Chris Angelico написав(ла):
>> http://bugs.python.org/issue17629 opened.
>
>
> See also the discussion at
> http://comments.gmane.org/gmane.comp.python.ideas/15640 . I agree with
> rejection. This is an implementation detail
Finding The Best Deals For Hair Care
http://natigtas7ab.blogspot.com/2013/03/finding-best-deals-for-hair-care.html
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, April 7, 2013 2:14:41 AM UTC+5:30, Dave Angel wrote:
> On 04/06/2013 03:56 PM, subhabangal...@gmail.com wrote:
>
> > Dear Group,
>
> >
>
> > I was using a package named NLTK in Python.
>
> >
>
> > I was trying to write a code given in section 3.8 of
>
> >
>
> > http://docs.huihoo.
Am 06.04.2013 22:48, schrieb cmcp:
> On Saturday, 6 April 2013 21:43:11 UTC+1, Georg Brandl wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>>
>> Hash: SHA1
>>
>>
>>
>> On behalf of the Python development team, I am pleased to announce the
>>
>> final releases of Python 3.2.4 and 3.3.1.
>>
> Th
On 2013-04-06, Neal Becker wrote:
> Working again. Funny how you come to rely on these things. There is no
> alternative to gmane.
I try not to think about that. I read this "list" via Usenet, but
there are a good dozen or so mailing lists for which I rely completely
on gmane.
--
Grant Edwa
On Saturday, 6 April 2013 21:43:11 UTC+1, Georg Brandl wrote:
> -BEGIN PGP SIGNED MESSAGE-
>
> Hash: SHA1
>
>
>
> On behalf of the Python development team, I am pleased to announce the
>
> final releases of Python 3.2.4 and 3.3.1.
>
The Python 3.3.1 Release page on python.org still s
On 04/06/2013 03:56 PM, subhabangal...@gmail.com wrote:
Dear Group,
I was using a package named NLTK in Python.
I was trying to write a code given in section 3.8 of
http://docs.huihoo.com/nltk/0.9.5/guides/tag.html.
Here, in the >>> test = ['up', 'down', 'up'] if I put more than 3 values and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On behalf of the Python development team, I am pleased to announce the
final releases of Python 3.2.4 and 3.3.1.
Python 3.2.4 is the final regular maintenance release for the Python 3.2
series, while Python 3.3.1 is the first maintenance release for t
On 04/05/2013 10:36 PM, Timothy Madden wrote:
[snip...]
8-character tab stops should be the default. Debating that is I believe another
topic, and
compatibility with python2 should be enough to make that debate unnecessary.
As everyone keeps telling you -- there is NO default tab size. Defau
I'm thrilled to announce the release of Python 2.7.4.
2.7.4 is the latest maintenance release in the Python 2.7 series. It includes
hundreds of bugfixes to the core language and standard library.
Downloads are at
http://python.org/download/releases/2.7.4/
As always, please report bugs to
Dear Group,
I was using a package named NLTK in Python.
I was trying to write a code given in section 3.8 of
http://docs.huihoo.com/nltk/0.9.5/guides/tag.html.
Here, in the >>> test = ['up', 'down', 'up'] if I put more than 3 values and
trying to write the reciprocal codes, like,
Joshua Landau, 06.04.2013 12:27:
> On 5 April 2013 03:29, John Ladasky wrote:
>> I'm revisiting a project that I haven't touched in over a year. It was
>> written in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced
>> a 20% performance increase when I used Psyco, because I had a
>>
breamore...@yahoo.co.uk wrote:
> The gmane site is online but none of the Python lists I subscribe to have been
> updated for over 24 hours. I fired off an email yesterday evening to larsi +
> gmane at gnus dot org but I've no idea whether there's anybody to read it, or
> even if it's actually be
On 06/04/2013 15:51, breamore...@yahoo.co.uk wrote:
The gmane site is online but none of the Python lists I subscribe to have been
updated for over 24 hours. I fired off an email yesterday evening to larsi +
gmane at gnus dot org but I've no idea whether there's anybody to read it, or
even if
On 2013-04-05 09:39, John Ladasky wrote:
On Friday, April 5, 2013 1:27:40 AM UTC-7, Chris Angelico wrote:
1) Can you optimize your algorithms? Three days of processing is... a LOT.
Neural network training. Yes, it takes a long time. Still, it's not the most
tedious code I run. I also do mo
04.04.13 00:57, Chris Angelico написав(ла):
On Thu, Apr 4, 2013 at 2:07 AM, Steven D'Aprano
wrote:
On Thu, 04 Apr 2013 01:17:28 +1100, Chris Angelico wrote:
Probably, but it still has to scan the body of the string. It'd not be
too bad if it's all astral, but if it's all BMP, it has to scan t
On 2013-04-06, Roy Smith wrote:
> In article ,
> Neil Cerutti wrote:
>
>> Bjarne Stroustrup likes it
>
> This is supposed to impress me?
Hehe. No! But he's got enough clout to give the notion some
traction.
> Yeah, most of the books I recall that used this were C++ books.
Yes, that would b
On Apr 6, 8:41 pm, Grant Edwards wrote:
> On 2013-04-06, Neil Cerutti wrote:
>
> > On 2013-04-06, Roy Smith wrote:
> >> (*) There was a fad about 10 or 15 years ago to print code
> >> samples in books in proportional fonts. Prentice-Hall seemed
> >> to be particularly guilty of this. Fortunate
In article ,
Neil Cerutti wrote:
> Bjarne Stroustrup likes it
This is supposed to impress me?
Yeah, most of the books I recall that used this were C++ books.
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Grant Edwards wrote:
> On 2013-04-05, terminato...@gmail.com wrote:
>
> [Mad that in 3.3 you can no longer use ambiguous mixtures of spaces
> and tabs within a single indent level.]
>
> My boss would refer to this as a failure to be "bug-compatible" with
> the previous version.
>
In article ,
Grant Edwards wrote:
> On 2013-04-06, Ethan Furman wrote:
> > On 04/05/2013 10:36 PM, Timothy Madden wrote:
> >>
> >> 8-character tab stops should be the default. Debating that is I believe
> >> another topic, and compatibility with python2
> >> should be enough to make that debat
On 2013-04-06, Neil Cerutti wrote:
> On 2013-04-06, Roy Smith wrote:
>> (*) There was a fad about 10 or 15 years ago to print code
>> samples in books in proportional fonts. Prentice-Hall seemed
>> to be particularly guilty of this. Fortunately, common sense
>> prevailed and everybody has gone
On Apr 5, 7:29 am, John Ladasky wrote:
> I guess I can live with the 20% slower execution, but sometimes my code would
> run for three solid days...
Oooff! Do you know where your goal-posts are?
ie if your code were redone in (top-class) C or Fortran would it go
from 3 days to 2 days or 2 hours
On 2013-04-06, Ethan Furman wrote:
> On 04/05/2013 10:36 PM, Timothy Madden wrote:
>>
>> 8-character tab stops should be the default. Debating that is I believe
>> another topic, and compatibility with python2
>> should be enough to make that debate unnecessary.
>
> Python 3 broke a lot of things
On Apr 5, 8:52 pm, Demian Brecht wrote:
> Thanks for sharing some of your work with the community. However...
>
> Speaking to the sharing aspect: Why would you post a block of code in an
> email? If you're looking for people to contribute, it would likely be a
> much better idea to post it on gith
On Apr 6, 8:01 pm, Roy Smith wrote:
> What makes sense for a word processor and what makes sense for a
> programming language are two very different things.
>
> Word processors are almost always working with blocks of running text,
> set in proportional fonts, often with multiple font sizes and st
On 2013-04-06, Timothy Madden wrote:
> When the default tab size is 8, than tab size does matter.
There is no default size. The size of a tab isn't even constant
across a line -- they're individually adjustable. The tabs "default"
to wherever they were left by the last person who used the typ
On 2013-04-05, terminato...@gmail.com wrote:
[Mad that in 3.3 you can no longer use ambiguous mixtures of spaces
and tabs within a single indent level.]
My boss would refer to this as a failure to be "bug-compatible" with
the previous version.
Whether or not to maintain bug-compatibility when y
On 2013-04-06, Roy Smith wrote:
> (*) There was a fad about 10 or 15 years ago to print code
> samples in books in proportional fonts. Prentice-Hall seemed
> to be particularly guilty of this. Fortunately, common sense
> prevailed and everybody has gone back to monotype.
Bjarne Stroustrup likes
On 04/05/2013 02:27 PM, Dylan Evans wrote:
On 05/04/2013 9:09 PM, "Tom P" wrote:
First, here's a sample test program:
import sys
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
class MyRequestHandler(BaseHTTPRequestHandler, object):
def do_GET(self):
top_self = su
In article ,
Chris Angelico wrote:
> On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote:
> > Historically, software and hardware which assigns a meaning to a tab
> > character has come in two flavours:
> >
> > 1. Tab stops are every 8 columns; this cannot be changed.
> > 2. Tab stops are configurabl
On Apr 5, 9:26 pm, Andrew Berg wrote:
> On 2013.04.05 20:07, Roy Smith wrote:> I know this is off-topic, but I
> encourage people to NOT invent their own
> > licenses.
>
> Perhaps he meant this existing license:http://www.wtfpl.net/about/
> --
> CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1
The gmane site is online but none of the Python lists I subscribe to have been
updated for over 24 hours. I fired off an email yesterday evening to larsi +
gmane at gnus dot org but I've no idea whether there's anybody to read it, or
even if it's actually been delivered :( Is there anybody lur
On 06.04.2013 17:20, Chris Angelico wrote:
On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote:
Historically, software and hardware which assigns a meaning to a tab
character has come in two flavours:
1. Tab stops are every 8 columns; this cannot be changed.
2. Tab stops are configurable, defaulting
On 06.04.2013 13:17, Joshua Landau wrote:
[...]
Yours frustratedly,
Joshua Landau
But seriously, please at least look like you've read other people's
posts. It doesn't matter what
On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote:
> Historically, software and hardware which assigns a meaning to a tab
> character has come in two flavours:
>
> 1. Tab stops are every 8 columns; this cannot be changed.
> 2. Tab stops are configurable, defaulting to every 8 columns.
3. Tab stops ar
On Fri, 05 Apr 2013 21:53:40 -0600, Ian Kelly wrote:
> 8 characters is common, but no more "correct" than any other,
This is pure revisionism. 8-column tabs may never have been a significant
/de jure/ standard (although they have been that in many specific
domains), but they have been a significa
On Fri, 05 Apr 2013 06:49:14 -0700, Candide Dandide wrote:
> So, could someone please explain what exactly the is operator returns ?
> The official doc says :
>
> The ‘is‘ operator compares the identity of two objects; the id()
> function returns an integer representing its identity (currently
>
terminato...@gmail.com wrote:
>[...]
>> The "def" line has four spaces. The "for" line then has a hard tab.
>> This is ambiguous. If the hard tab is assumed to have a width of four
>> spaces, then they are at the same indentation level. If it is assumed
>> to have a width of eight spaces, then
In article ,
Darren Spruell wrote:
> I'd like to work with user submitted/uploaded SSH public keys from
> Python. I'm trying to solve what I'd thought might be a simple need:
> given a user's OpenSSH formatted _public_ key (RSA, or DSA, or
> whatever), how do you obtain information about it such
Am Sat, 06 Apr 2013 02:37:31 + schrieb Steven D'Aprano:
>>> [...]
>> def __init__(self):
>> self.events = {}
>> self.components = []
>> self.contents = []
>> self.uid = uuid4().int
>> self.events['OnLook'] = teventlet()
>>
>>
>> Basically even
On 5 April 2013 03:29, John Ladasky wrote:
> I'm revisiting a project that I haven't touched in over a year. It was
> written in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced
> a 20% performance increase when I used Psyco, because I had a
> computationally-intensive routine whi
On 5 April 2013 19:37, Devin Jeanpierre wrote:
> On Fri, Apr 5, 2013 at 4:34 AM, John Ladasky
> wrote:
> > On Thursday, April 4, 2013 7:39:16 PM UTC-7, MRAB wrote:
> >> Have you looked at Cython? Not quite the same, but still...
> >
> > I'm already using Numpy, compiled with what is supposed to
On 6 April 2013 07:56, Timothy Madden wrote:
> On 06.04.2013 08:53, Ian Kelly wrote:
>
>> On Fri, Apr 5, 2013 at 11:07 PM, Timothy Madden
>> wrote:
>>
> [...]
>
>> So in other words, everybody must be forced to use 8-character tabs
>> because you want to be able to mix tabs and spaces.
>>
>> Pe
I have test that wrapper, under Bash 4.1.2, ./myscript.py works, it doesn't
work under Bash 3.2.25, seems Bash relative.
http://stackoverflow.com/questions/15838183/run-python-script-with-dot-slash
On Fri, Apr 5, 2013 at 11:58 PM, Dylan Evans wrote:
>
>
>
> On Sat, Apr 6, 2013 at 1:04 AM, Luba
On Sat, Apr 6, 2013 at 6:15 PM, Jan Riechers wrote:
> The invalid syntax is raised when? Can you post the error a bit more
> detailed, this will help giving you any advice.
>
> If you know the code part raising the error and you post it, this will also
> help.
Agreed. But my guess would be the la
On 06.04.2013 01:41, Satabdi Mukherjee wrote:
i am a rookie in python and i am trying to develop a simple webpage using
jinja2.
can anyone please help me how to do that
i am trying in this way but showing invalid syntax error
[...]
{% for item in navigation %}
{{ item.ca
On 06.04.2013 08:58, Michael Torrie wrote:
[...]
As for your problems, perhaps instead of coming on the list with a
poorly-thought-out subject line, and desire to simply argue, perhaps you
could run your code through a reformatter [...]
Hey, I was feeling frustrated ... ! It is how people feel
On 06.04.2013 08:53, Ian Kelly wrote:
On Fri, Apr 5, 2013 at 11:07 PM, Timothy Madden wrote:
[...]
So in other words, everybody must be forced to use 8-character tabs
because you want to be able to mix tabs and spaces.
People say I can use tabs all the way, just set them to the indent I want
On Sat, 06 Apr 2013 08:36:23 +0300, Timothy Madden wrote:
> 8-character tab stops should be the default. Debating that is I believe
> another topic, and compatibility with python2 should be enough to make
> that debate unnecessary.
Compatibility with Python 2 is not a requirement. Python 3 exists
76 matches
Mail list logo