On Thu, Mar 14, 2013 at 3:05 PM, Steven D'Aprano
wrote:
> That depends on how you use the strings. Because strings are immutable,
> there isn't really anything like "switching between widths" -- the width
> is set when the string is created, and then remains fixed.
The nearest thing to "switching
On Thu, Mar 14, 2013 at 1:35 PM, Terry Reedy wrote:
>On 3/13/2013 7:43 PM, Chris Angelico wrote:
>> It's complexity cost, though, and people would need to know when it
>> would be worth giving Python that switch to change its string format.
>> Plus, every C extension would need to cope with both f
On Thu, 14 Mar 2013 02:01:35 +, MRAB wrote:
> On 14/03/2013 00:55, Chris Angelico wrote:
>> On Thu, Mar 14, 2013 at 11:52 AM, MRAB
>> wrote:
>>> On 13/03/2013 23:43, Chris Angelico wrote:
On Thu, Mar 14, 2013 at 3:49 AM, rusi wrote:
>
> On Mar 13, 3:59 pm, Chris Angelico w
On Wed, 13 Mar 2013 15:35:19 -0700, ch.valderanis wrote:
> Traceback (most recent call last):
> File "createsubmitfiles.py", line 12, in
> newfile=open(newname,'w')
> IOError: [Errno 27] File too large: 'FILENAME.sub;'
>
> I have changed the actual filename reported by the traceback.
> FI
On 3/13/2013 7:43 PM, Chris Angelico wrote:
On Thu, Mar 14, 2013 at 3:49 AM, rusi wrote:
This assumes that there are only three choices:
- narrow build that is buggy (surrogate pairs for astral characters)
- wide build that is 4-fold space inefficient for wide variety of
common (ASCII) use-cas
I've added special hooks into the framework to make integration with Django
projects fairly seemless, these are detailed under the django quick start
guide: http://www.webbot.ws/QuickStartGuide
I hope this addresses some of the questions that have come up here,
Thanks!
Timothy
--
http://mail.
On 14/03/2013 00:55, Chris Angelico wrote:
On Thu, Mar 14, 2013 at 11:52 AM, MRAB wrote:
On 13/03/2013 23:43, Chris Angelico wrote:
On Thu, Mar 14, 2013 at 3:49 AM, rusi wrote:
On Mar 13, 3:59 pm, Chris Angelico wrote:
On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
> Uhhh..
> Making the
On Thu, Mar 14, 2013 at 11:52 AM, MRAB wrote:
> On 13/03/2013 23:43, Chris Angelico wrote:
>>
>> On Thu, Mar 14, 2013 at 3:49 AM, rusi wrote:
>>>
>>> On Mar 13, 3:59 pm, Chris Angelico wrote:
On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
> Uhhh..
> Making the subject line use
On 13/03/2013 23:43, Chris Angelico wrote:
On Thu, Mar 14, 2013 at 3:49 AM, rusi wrote:
On Mar 13, 3:59 pm, Chris Angelico wrote:
On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
> Uhhh..
> Making the subject line useful for all readers
I should have read this one before replying in the other t
On Thu, Mar 14, 2013 at 4:37 AM, Steven D'Aprano
wrote:
> On Tue, 12 Mar 2013 12:54:11 +0100, Jean-Michel Pichavant wrote:
>
>>> > import pickle
>>> > a = 758
>>> > pickle.dump(a, open('test.pickle', 'w'))
>>> > !cat test.pickle
>>> > I758
>>> > .
>>>
>>>
>>> What is that? It's not Python code, !c
On Thu, Mar 14, 2013 at 4:42 AM, Thomas 'PointedEars' Lahn
wrote:
> Chris Angelico wrote:
>
>> On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
>>> Uhhh..
>>> Making the subject line useful for all readers
>>
>> I should have read this one before replying in the other thread.
>>
>> jmf, I'd like to s
What controls the yellow highlight bar that Sphinx sometimes puts in the
documentation?
E.g.:
.. py:function:: basic_parseStrTest ()
generates bold-face text, where
.. py:function:: basicParseStrTest ()
generates text with a yellow bar highlight.
I actually rather like the yellow bar highlight,
On Thu, Mar 14, 2013 at 3:49 AM, rusi wrote:
> On Mar 13, 3:59 pm, Chris Angelico wrote:
>> On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
>> > Uhhh..
>> > Making the subject line useful for all readers
>>
>> I should have read this one before replying in the other thread.
>>
>> jmf, I'd like to s
1405
577 SW Dexter Cir, Apt 201
1442 SW Haygood Loop, Apt 101
Lake City, FL 32025
(386) 438-8968
Local PD: (386) 752-4344
From: "6StringStu"
Newsgroups: alt.social-security-disability
Date: Fri, 2 Apr 2010 01:02:30 -0500
" Of the three felonies on my record,
1: Violation of the Mann act (federa
Dear Steven,
Thank you very much both for your answer and of course your comments. They are
taken into account.
I found out that when I touch FILENAME.sub in the command line, I get the same
error. So I guess it isn't a problem with the language but rather deeper. I
will solve this first before
I have solutions manuals to all problems and exercises in these textbooks. To
get one in an electronic format contact me at: kalvinmanual(at)gmail(dot)com
and let me know its title, author and edition. Please this service is NOT free.
SOLUTIONS MANUAL TO A First Course in Differential Equations
Walter Hurry wrote:
> On Wed, 13 Mar 2013 18:40:07 +, tinnews wrote:
>
> > I want to write a fairly trivial database driven application, it will
> > basically present a few columns from a database, allow the user to add
> > and/or edit rows, recalculate the values in one column and write the
On Wed, Mar 13, 2013 at 12:40 PM, wrote:
> I want to write a fairly trivial database driven application, it will
> basically present a few columns from a database, allow the user to add
> and/or edit rows, recalculate the values in one column and write the
> data back to the database.
>
> I want
On Wed, 13 Mar 2013 18:40:07 +, tinnews wrote:
> I want to write a fairly trivial database driven application, it will
> basically present a few columns from a database, allow the user to add
> and/or edit rows, recalculate the values in one column and write the
> data back to the database.
>
I want to write a fairly trivial database driven application, it will
basically present a few columns from a database, allow the user to add
and/or edit rows, recalculate the values in one column and write the
data back to the database.
I want to show the data and allow editing of the data in a da
- Original Message -
> On Tue, 12 Mar 2013 12:54:11 +0100, Jean-Michel Pichavant wrote:
>
> >> > import pickle
> >> > a = 758
> >> > pickle.dump(a, open('test.pickle', 'w'))
> >> > !cat test.pickle
> >> > I758
> >> > .
> >>
> >>
> >> What is that? It's not Python code, !cat test.pickle g
ANNOUNCING
eGenix.com pyOpenSSL Distribution
Version 0.13.1.1.0.1.5
An easy-to-install and easy-to-use distribution
of the pyOpenSSL Python interface fo
Chris Angelico wrote:
> On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
>> Uhhh..
>> Making the subject line useful for all readers
>
> I should have read this one before replying in the other thread.
>
> jmf, I'd like to see evidence that there has been a performance
> regression compared against
On Tue, 12 Mar 2013 12:54:11 +0100, Jean-Michel Pichavant wrote:
>> > import pickle
>> > a = 758
>> > pickle.dump(a, open('test.pickle', 'w'))
>> > !cat test.pickle
>> > I758
>> > .
>>
>>
>> What is that? It's not Python code, !cat test.pickle gives a syntax
>> error.
>
> It's a IPython shell
On Wed, 13 Mar 2013 09:53:17 -0700, ch.valderanis wrote:
> Hi,
>
> Relatively newcomer here.
> The following code fails with the above error: python version used 2.6.2
> under linux
Which part of the code fails? Please copy and paste the entire traceback,
starting with the line "Traceback (most
Hi,
Relatively newcomer here.
The following code fails with the above error:
python version used 2.6.2 under linux
filestring='somestring'
for files in glob.glob('*'):
f2=open(files.replace('.xml','.sub'),'w')
f2.write(filestring+files)
f2.close()
The glob commands retur
On Mar 13, 3:59 pm, Chris Angelico wrote:
> On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
> > Uhhh..
> > Making the subject line useful for all readers
>
> I should have read this one before replying in the other thread.
>
> jmf, I'd like to see evidence that there has been a performance
> regress
On 13/03/2013 15:06, olsr.ka...@gmail.com wrote:
how to get the coordonnée of a line from his Id in canvas python??
Write some code after you've referred to the response you got when you
posted the same question on 9th March.
Please don't post to the mailing list and the gmane group as they
how to get the coordonnée of a line from his Id in canvas python??
--
http://mail.python.org/mailman/listinfo/python-list
how to get the coordonnée of a line from his Id in canvas python??
--
http://mail.python.org/mailman/listinfo/python-list
On 13/03/2013 14:12, Steven D'Aprano wrote:
On Wed, 13 Mar 2013 11:23:22 +, Oscar Benjamin wrote:
On 13 March 2013 10:43, Wolfgang Maier
wrote:
thinking again about the question, then the min() solutions suggested
so far certainly do the job and they are easy to understand. However,
if y
Chris Angelico gmail.com> writes:
>
> > Sort cannot be O(log(n)) and it cannot be faster than a standard O(n)
> > minimum finding algorithm. No valid sorting algorithm can have even a
> > best case performance that is better than O(n). This is because it
> > takes O(n) just to verify that a list
On Wed, 13 Mar 2013 11:23:22 +, Oscar Benjamin wrote:
> On 13 March 2013 10:43, Wolfgang Maier
> wrote:
>>
>> thinking again about the question, then the min() solutions suggested
>> so far certainly do the job and they are easy to understand. However,
>> if you need to run the function repea
Top Bible scholar leaves Christianity
This is a short interview with a renowned Bible scholar who talks
about why he left Christianity.
http://www.youtube.com/v/aYSDTXYmdvs?rel=0
thank you
--
http://mail.python.org/mailman/listinfo/python-list
Wolfgang Maier wrote:
> Oscar Benjamin gmail.com> writes:
>
>>
>> Sort cannot be O(log(n)) and it cannot be faster than a standard O(n)
>> minimum finding algorithm. No valid sorting algorithm can have even a
>> best case performance that is better than O(n). This is because it
>> takes O(n) ju
On Wed, Mar 13, 2013 at 10:34 PM, Wolfgang Maier
wrote:
> Oscar Benjamin gmail.com> writes:
>
>>
>> Sort cannot be O(log(n)) and it cannot be faster than a standard O(n)
>> minimum finding algorithm. No valid sorting algorithm can have even a
>> best case performance that is better than O(n). Thi
On Wed, Mar 13, 2013 at 10:23 PM, Oscar Benjamin
wrote:
> On 13 March 2013 10:43, Wolfgang Maier
> wrote:
>>
>> thinking again about the question, then the min() solutions suggested so far
>> certainly do the job and they are easy to understand.
>> However, if you need to run the function repeate
Oscar Benjamin gmail.com> writes:
>
> Sort cannot be O(log(n)) and it cannot be faster than a standard O(n)
> minimum finding algorithm. No valid sorting algorithm can have even a
> best case performance that is better than O(n). This is because it
> takes O(n) just to verify that a list is sort
On 13 March 2013 10:43, Wolfgang Maier
wrote:
>
> thinking again about the question, then the min() solutions suggested so far
> certainly do the job and they are easy to understand.
> However, if you need to run the function repeatedly on larger lists, using
> min()
> is suboptimal because its p
On Wed, Mar 13, 2013 at 9:11 PM, rusi wrote:
> Uhhh..
> Making the subject line useful for all readers
I should have read this one before replying in the other thread.
jmf, I'd like to see evidence that there has been a performance
regression compared against a wide build of Python 3.2. You stil
On Tuesday, March 12, 2013 9:06:20 AM UTC-5, kevin@gmail.com wrote:
> I am currently trying to work on a program that will allow the user to
> display their dataset in the form of a colormap and through the use of
> sliders, it will also allow the user to adjust the threshold of the colormap
Steven D'Aprano pearwood.info> writes:
>
> On Tue, 12 Mar 2013 17:03:08 +, Norah Jones wrote:
>
> > For example:
> > a=[-15,-30,-10,1,3,5]
> >
> > I want to find a negative and a positive minimum.
> >
> > example: negative
> > print(min(a)) = -30
> >
> > positive
> > print(min(a)) = 1
>
n Wed, Mar 13, 2013 at 8:36 PM, jmfauth wrote:
> #~ py323 py330
>
> #~ test 1: 0.0153577374128190.019290216142579
> ...
> #~ test 35: 0.0998101303960320.249129715085319
>
But these numbers are utterly useless on their own. We
On Mar 13, 3:07 pm, rusi wrote:
> On Mar 13, 2:36 pm, jmfauth wrote:
>
>
>
>
>
>
>
>
>
> > As a reply to rusi's
> > comment:http://groups.google.com/group/comp.lang.python/browse_thread/thread/...
>
> > From string creation to the itertools usage. A medley. Some timings.
>
> > Important:
> > The
On Mar 13, 2:36 pm, jmfauth wrote:
> As a reply to rusi's
> comment:http://groups.google.com/group/comp.lang.python/browse_thread/thread/...
>
> From string creation to the itertools usage. A medley. Some timings.
>
> Important:
> The real/absolute values of these experiments are not important. I
As a reply to rusi's comment:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/a7689b158fdca29e#
>From string creation to the itertools usage. A medley. Some timings.
Important:
The real/absolute values of these experiments are not important. I do
not care and I'm not complain
Getting started with Python: The ultimate list with Tips, Tools and Resources
http://lurnq.com/lesson/Getting-started-with-Python-Tips-Tools-and-Resources/
Here is a lesson which includes a great set of resources including Books,
MOOCs, Video Tutorials, Interactive tutorials, exercises which can
47 matches
Mail list logo