On 10/21/2015 1:50 AM, Randy Day wrote:
When I read your post, I realized I'm doing
a crude animation. After a bit of searching
on 'python canvas animation', I found a
reference to how it's done:
I made my 'root' Tk instance global, and
call root.update_idletasks() after the
.put
I did not se
On 10/21/2015 2:53 AM, Laura Creighton wrote:
In a message of Wed, 21 Oct 2015 10:30:35 +1100, "Steven D'Aprano" writes:
On Wed, 21 Oct 2015 01:44 am, Laura Creighton wrote:
No, we are removing them because we want to.
Who are "we"? You're not talking about *you and me*.
Anybody who was inv
> According to Ralf, python.org is hosted in the Netherlands,
One could change that.
> I want to buy peanut butter, but I don't, because I know that when it comes
> to peanut butter I have no self-control and would eat the entire jar in a
> single sitting. So I simply don't buy it in the first p
Today I have tried to register and upload a new package by executing
setup.py register
I was asked if I want to save the creditentials in a .pypirc file and I
answered yes.
Next I wanted to run
setup.py upload
and I got this error:
Traceback (most recent call last):
File "C:\Python\Projec
In article ,
tjre...@udel.edu says...
[snip]
> > I made my 'root' Tk instance global, and
> > call root.update_idletasks() after the
> > .put
> I did not see the original post, but the alternative way to animate is
> to use root.after(milliseconds, callback, *args) at the end of callbacks
> t
So here what I have, I have a 3 IF's within the same level. If one IF is
satisfied, I would like to "skip" the other IFs and continue with my code.
# 4 second open
if wb1_sheet1.cell(row=cell + 1, column=2).value == 0 and
wb1_sheet1.cell(row=cell + 1, column=3).value == 0 and wb1_sh
On Wed, Oct 21, 2015 at 11:31 AM, wrote:
> So here what I have, I have a 3 IF's within the same level. If one IF is
> satisfied, I would like to "skip" the other IFs and continue with my code.
I think you're looking for the elif keyword. An elif branch will only
be considered if the previous b
In <50a6789a-3965-430b-9a91-b08adcedf...@googlegroups.com>
bigred04...@gmail.com writes:
> So here what I have, I have a 3 IF's within the same level. If one IF is s=
> atisfied, I would like to "skip" the other IFs and continue with my code.
> # 4 second open
> if wb1_sheet1.cell(r
O...MG I cannot believe I just asked this question ha. I ended up
realizing I need to use an elif after I took a break from it and re read
everything...Brain fart, thanks for replies.
Brice
--
https://mail.python.org/mailman/listinfo/python-list
I have recently been working on a terminal/console animation package
(https://github.com/peterbrittain/asciimatics). Beyond the high-level animation
methods/objects it provides, it also needed to be cross-platform and and simple
to install with pip (including any dependencies).
This cross-platf
Den 2015-10-20 skrev Ian Kelly :
>>
>> Anyone into CSP willing to offer me a hint?
>
> I assume that your variables are the individuals and the domains of
> those variables are the rooms. Based on the python-constraint docs,
> your constraint could look something like this:
>
> from collections imp
In a message of Wed, 21 Oct 2015 11:30:25 -0700, Peter Brittain writes:
>I have recently been working on a terminal/console animation package
>(https://github.com/peterbrittain/asciimatics). Beyond the high-level
>animation methods/objects it provides, it also needed to be cross-platform and
>an
On Wed, 21 Oct 2015 10:31:04 -0700, bigred04bd3 wrote:
> So here what I have, I have a 3 IF's within the same level. If one IF
> is satisfied, I would like to "skip" the other IFs and continue with my
> code.
c1 = wb1_sheet1.cell(row=cell + 1, column=2).value == 0 and
wb1_sheet1.cell(row=c
On 2015-10-21, Denis McMahon wrote:
> On Wed, 21 Oct 2015 10:31:04 -0700, bigred04bd3 wrote:
>
>> So here what I have, I have a 3 IF's within the same level. If one IF
>> is satisfied, I would like to "skip" the other IFs and continue with my
>> code.
>
> c1 = wb1_sheet1.cell(row=cell + 1, column
>
> Did you try https://pypi.python.org/pypi/UniCurses ?
>
Yes - it failed to install with pip and also looked like a dead project when I
followed the project home page URL.
--
https://mail.python.org/mailman/listinfo/python-list
On 10/21/15, Peter Brittain wrote:
>>
>> Did you try https://pypi.python.org/pypi/UniCurses ?
>>
>
> Yes - it failed to install with pip and also looked like a dead project when
> I followed the project home page URL.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Also check out th
@Dennis,
Thanks for your example. My structure is very similar. Perhaps I was
reading too much into Luca's below statement regarding declaring
variables.
Regards,
JonRob
Luca wrote...
>Please, note that declaring a variable in the constructor is only a
>convention: in Python you can a
On Wed, 21 Oct 2015 20:07:21 +, Grant Edwards wrote:
> On 2015-10-21, Denis McMahon wrote:
>> On Wed, 21 Oct 2015 10:31:04 -0700, bigred04bd3 wrote:
>>
>>> So here what I have, I have a 3 IF's within the same level. If one IF
>>> is satisfied, I would like to "skip" the other IFs and continu
Using Python 2.6, don't hate me.
I have select.poll, but I'm looking for something like ppoll instead. From
the Linux man page:
ppoll()
The relationship between poll() and ppoll() is analogous to the
relationship between select(2) and pselect(2): like pselect(2),
Il 20/10/2015 23:33, JonRob ha scritto:
Hello Luca,
I very much appreciated your comments. And I understand the
importance of "doing something right" (i.e. convention).
This leads me to another question.
Because I am interfacing with an I2C sensor I have many register
definations to includ
20 matches
Mail list logo