I have googled for a solution to this problem. None I have tried
worked.
I have a very short program that runs for a count of 20 and ends.
What I do is click on the IDLE window and without making any changes I
just hit f5 to rerun the program.
Sometimes I get the error "the python shell window i
On 17 September 2014 02:25, Chris Angelico wrote:
> On Wed, Sep 17, 2014 at 2:08 AM, Robert Kern
> wrote:
> > Yes, but this is due to different design decisions of git and Mercurial.
> git
> > prioritized the multiple branches in a single clone use case; Mercurial
> > prioritized re-cloning. It'
On 9/16/2014 5:40 PM, cool-RR wrote:
While debugging my code I found that the bug was because I assumed
that something like `divmod(float('inf'), 1)` would be equal to
`(float('inf'), float('nan'))`, while Python returns `(float('nan'),
float('nan'))`. Why does Python make the division result be
The latest version of the Zeus IDE adds Python autocomplete using
the Jedi package.
Details about Jedi can be found here:
http://jedi.jedidjah.ch/en/latest/
Details of how the autocomplete works can be found here:
http://www.zeusedit.com/zforum/viewtopic.php?t=7200
Details of whats new in this
Jason Swails :
> One of the code git repos I work with every day is ~4 GB for a working
> repo and ~1.6 GB for a bare one. At any given time, I have ~6 branches
> I'm working on.
Well, branches could be seen as a compression technique.
I'm trying to keep my git repositories in the < 1 MB range.
While debugging my code I found that the bug was because I assumed that
something like `divmod(float('inf'), 1)` would be equal to `(float('inf'),
float('nan'))`, while Python returns `(float('nan'), float('nan'))`. Why does
Python make the division result be NaN in this case? `float('inf') / 1`
Hi All,
I am having some problem in python.
I have written the code
import pandas as pd
import numpy as np
from scipy.optimize import minimize
pd.set_option('display.mpl_style', 'default')
"""Read the input file into the dataframe""" """T1 file contains the decision
variables, corresponding inve
Terry Reedy writes:
> I agree. If a post on parquet flooring were held for moderation, I
> would discard it. Threads that wander off into parquet flooring type
> topics are best let die.
I'm glad to know that, thank you.
> >> (2) Parquetry flooring has nothing to do with Python programming,
> >
On 2014-09-16 17:25, Chris Angelico wrote:
On Wed, Sep 17, 2014 at 2:08 AM, Robert Kern wrote:
Yes, but this is due to different design decisions of git and Mercurial. git
prioritized the multiple branches in a single clone use case; Mercurial
prioritized re-cloning. It's natural to do this kin
On 9/16/2014 7:25 AM, D Moorcroft wrote:
Can i be taken off the list please as i am getting too many e-mails.
Go to
https://mail.python.org/mailman/listinfo/python-list
and at the bottom, enter your email address in the box after
"To unsubscribe from Python-list, get a password reminder, or ch
On 9/16/2014 4:00 AM, Albert-Jan Roskam wrote
On Tue, Sep 16, 2014 9:37 AM CEST Steven D'Aprano wrote:
Ben Finney wrote:
"Frank Millman" writes:
I know there some Git experts on this list, so I hope you don't mind
me posting this question here
I do. There may be experts on parquetry f
On Wed, Sep 17, 2014 at 2:08 AM, Robert Kern wrote:
> Yes, but this is due to different design decisions of git and Mercurial. git
> prioritized the multiple branches in a single clone use case; Mercurial
> prioritized re-cloning. It's natural to do this kind of branching in git,
> and more natura
On 2014-09-16 13:14, Steven D'Aprano wrote:
Chris Angelico wrote:
On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
"Frank Millman" :
You are encouraged to make liberal use of 'branches',
Personally, I only use forks, IOW, "git clone". I encourage that
practice. Then, there is little
On Tue, Sep 16, 2014 at 6:49 PM, Thomas Rachel
wrote:
> Am 13.09.2014 09:22 schrieb Chris Angelico:
>
>> In that case, don't iterate over the list at all. Do something like this:
>>
>> while lst:
>> element = lst.pop(0)
>> # work with element
>> lst.append(new_element)
>
>
> And if
Am 13.09.2014 09:22 schrieb Chris Angelico:
In that case, don't iterate over the list at all. Do something like this:
while lst:
element = lst.pop(0)
# work with element
lst.append(new_element)
And if you don't like that, define a
def iter_pop(lst):
while lst:
yiel
Am 11.09.2014 23:32 schrieb Ervin Hegedüs:
There is no upper limit to the thread name other than that you will
eventually run out of memory ;)
thanks - I hope that the memory will not run out by these
threads... :)
Anyway, that means, on my system:
import sys
print sys.maxint
9223372036854
On Tue, 2014-09-16 at 10:59 +0200, Frank Millman wrote:
> "Chris Angelico" wrote in message
> news:CAPTjJmr5gh8=1zPjG_KdTmA2QgT_5jj=kh=jyvrfv1atl1e...@mail.gmail.com...
> > On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
> >> "Frank Millman" :
> >>
> >>> You are encouraged to make liberal
On 16 September 2014 22:14, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> Chris Angelico wrote:
>
> > On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa
> wrote:
> >> "Frank Millman" :
> >>
> >>> You are encouraged to make liberal use of 'branches',
> >>
> >> Personally, I only us
On Tue, Sep 16, 2014 at 10:14 PM, Steven D'Aprano
wrote:
> Chris Angelico wrote:
>
>> On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
>>> "Frank Millman" :
>>>
You are encouraged to make liberal use of 'branches',
>>>
>>> Personally, I only use forks, IOW, "git clone". I encourage tha
Chris Angelico wrote:
> On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
>> "Frank Millman" :
>>
>>> You are encouraged to make liberal use of 'branches',
>>
>> Personally, I only use forks, IOW, "git clone". I encourage that
>> practice. Then, there is little need for "git checkout". Inste
On 2014-09-16 12:25, D Moorcroft wrote:
Hi,
Can i be taken off the list please as i am getting too many e-mails.
[snip]
It's up to you to unsubscribe from the list.
--
https://mail.python.org/mailman/listinfo/python-list
On 2014-09-16 06:58, dieter wrote:
Harish Tech writes:
Let me demonstrate the problem I encountered :
I had a list
a = [1, 2, 3]
when I did
a.insert(100, 100)
[1, 2, 3, 100]
as list was originally of size 4 and I was trying to insert value at index
100 , it behaved like append instead o
Hi,
Can i be taken off the list please as i am getting too many e-mails.
Thank you,
David Moorcroft
ICT Operations Manager &
Website Manager
Turves Green Girls' School
- Original Message -
From: "Steven D'Aprano"
To: python-list@python.org
Sent: Monday, 15 September, 2014 3:08:09 PM
Su
jayte wrote:
> On Mon, 15 Sep 2014 09:29:02 +0200, Peter Otten <__pete...@web.de> wrote:
>
>>jayte wrote:
>>
>>> Sorry, I neglected to mention the values' significance. The MXP program
>>> uses the "distance estimate" algorithm in its fractal data generation.
>>> The values are thus, for each po
On Sep 16, 2014 4:17 AM, "Nicholas Cannon"
wrote:
>
> Nah I mean like there is performance issues. It delivers result that I
want just mot very conveinetly fast.
Take a look at the cProfile module. That's what it's called in Python 2.x.
Not sure if it lost its camel case spelling in 3.x or is now
"Albert-Jan Roskam" wrote in message >
>
> I like "Pragmatic guide to Git". 122 pages, to the point, practical.
>
Thanks, Albert-Jan. I have started reading it, and it looks useful.
Thanks too for your previous response, which was also 'pragmatic and to the
point' :-)
Frank
--
https://mai
Nah I mean like there is performance issues. It delivers result that I want
just mot very conveinetly fast.
--
https://mail.python.org/mailman/listinfo/python-list
"Chris Angelico" wrote in message
news:CAPTjJmr5gh8=1zPjG_KdTmA2QgT_5jj=kh=jyvrfv1atl1e...@mail.gmail.com...
> On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
>> "Frank Millman" :
>>
>>> You are encouraged to make liberal use of 'branches',
>>
>> Personally, I only use forks, IOW, "git c
-
On Tue, Sep 16, 2014 10:29 AM CEST Chris Angelico wrote:
>On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
>> "Frank Millman" :
>>
>> You are encouraged to make liberal use of 'branches',
>>
>> Personally, I only use forks, IOW, "git clone". I encourage that
>
On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
> "Frank Millman" :
>
>> You are encouraged to make liberal use of 'branches',
>
> Personally, I only use forks, IOW, "git clone". I encourage that
> practice. Then, there is little need for "git checkout". Instead, I just
> cd to a different
"Frank Millman" :
> You are encouraged to make liberal use of 'branches',
Personally, I only use forks, IOW, "git clone". I encourage that
practice. Then, there is little need for "git checkout". Instead, I just
cd to a different directory.
Branches and clones are highly analogous processwise; I
-
On Tue, Sep 16, 2014 9:37 AM CEST Steven D'Aprano wrote:
>Ben Finney wrote:
>
>> "Frank Millman" writes:
>>
>> I know there some Git experts on this list, so I hope you don't mind
>> me posting this question here.
>>
>> I do. There may be experts on parquetry floo
Ben Finney wrote:
> "Frank Millman" writes:
>
>> I know there some Git experts on this list, so I hope you don't mind
>> me posting this question here.
>
> I do. There may be experts on parquetry flooring in this forum, but a
> topic is not on-topic merely because some people here may know abou
Chris Angelico wrote:
> On Tue, Sep 16, 2014 at 9:15 AM, ISE Development
> wrote:
>> @functools.wraps(func)
>> def wrapper(self):
>> func(self)
>> return wrapper
>>
>> try:
>> k.method(1)
>> except Exception as e:
>> print('exception:',e
34 matches
Mail list logo