On Mon, 3 Oct 2016 10:57:27 -0700 (PDT), sohcahto...@gmail.com declaimed
the following:
>
My car is similar, but the R is actually to the left of 1. It looks like this:
R 1 3 5
+-+-+-+
2 4 6
Mine is actually like that too, but it feels like you're
doing the same thing in both cases -- push l
On Monday, October 3, 2016 at 1:30:29 AM UTC-7, Phil Thompson wrote:
> On 3 Oct 2016, at 4:29 am, John Ladasky wrote:
> > And as you can see: trying to call versionFunctions() is exactly where my
> > program failed.
>
> Try passing a QOpenGLVersionProfile object to versionFunctions() that has a
On 10/03/2016 08:21 PM, Steve D'Aprano wrote:
> On Tue, 4 Oct 2016 05:48 am, Michael Torrie wrote:
>
>> There is that old, but false, saying that the only intuitive interface
>> is the nipple. Turns out everything, even that, is learned
>
> Citation required.
Sure, just ask a nursing woman.
>
On Tuesday, October 4, 2016 at 8:11:41 AM UTC+5:30, Steve D'Aprano wrote:
> On Mon, 3 Oct 2016 04:15 pm, Jussi Piitulainen wrote:
>
> > Steve D'Aprano writes:
> >> Why shouldn't people say that binding and assignment are the same
> >> thing in Python? What's the difference?
> >
> > Outside Python
On Mon, Oct 3, 2016 at 9:27 PM, Michael Felt wrote:
>
> int perfstat_subsystem_total(
>perfstat_id_t *name,
>perfstat_subsystem_total_t *userbuff,
>int sizeof_struct,
>int desired_number);
> ...
>+79 class cpu_total:
>+80 def __init__(self):
>+81 __perfst
On Mon, 3 Oct 2016 04:15 pm, Jussi Piitulainen wrote:
> Steve D'Aprano writes:
>> Why shouldn't people say that binding and assignment are the same
>> thing in Python? What's the difference?
>
> Outside Python, (lambda x : f(x)) is said to "bind" x. It's different
> from assigning a new value to
On Tue, 4 Oct 2016 05:48 am, Michael Torrie wrote:
> There is that old, but false, saying that the only intuitive interface
> is the nipple. Turns out everything, even that, is learned
Citation required.
Of course many things are intuitive/instinctive, e.g. breathing, but as far
as *interfaces*
BartC wrote:
On 03/10/2016 12:53, Marko Rauhamaa wrote:
Well, it could be worse. This layout is pretty traditional:
1 3 5
| | |
+--+--+
| | |
2 4 R
Yes, you get a funny grinding sound when attempting to change from 5th
to '6th' at 70mph/110kph. Fortunately it doe
Sayth Renshaw wrote:
Is there a standard library feature that allows you to define a declarative
map or statement that defines the data and its objects to be parsed and
output format?
Not really.
Just wondering as for loops are good but when i end up 3-4 for loops deep and
want multiple match
On 02-Oct-16 19:50, Michael Felt wrote:
class perfstat_cpu_total_t(Structure):
"""
typedef struct { /* global cpu information */
int ncpus;/* number of active logical
processors */
int ncpus_cfg; /* number of configured processors */
cha
On 10/03/2016 11:57 AM, sohcahto...@gmail.com wrote:
> Surprisingly, despite driving that previous car for 13 years, the switch was
> incredibly easy. I've never accidentally gone to sixth gear instead of
> reverse, or forgotten to shift into sixth on the highway. Also, accidentally
> going in
On 10/03/2016 03:10 AM, Gregory Ewing wrote:
> Rustom Mody wrote:
>> My new car goes in reverse when I put it in first gear but only on full-moon
>> nights with the tank on reserve when the left light is blinking
>
> OT aside: When I went to take my current car (a manual)
> for a test drive, I ha
On 03-Oct-16 16:35, Michael Felt wrote:
I'd alias the type instead of defining a struct, e.g. `time_t =
c_long`. This preserves automatic conversion of the simple type.
The reason for the not using alias is because a) I was trying to be
more inline with the text of the include file.
I will hav
Τη Δευτέρα, 3 Οκτωβρίου 2016 - 7:17:03 μ.μ. UTC+3, ο χρήστης
chrischr...@gmail.com έγραψε:
> hello
>
>
> i try to follow some tutorial but i have that error :
>
> Traceback (most recent call last):
> File "C:\Python27\test\test\earth.py", line 42, in
> slope_array = np.ones_like(data_arr
On Monday, October 3, 2016 at 2:11:12 AM UTC-7, Gregory Ewing wrote:
> Rustom Mody wrote:
> > My new car goes in reverse when I put it in first gear but only on
> > full-moon
> > nights with the tank on reserve when the left light is blinking
>
> OT aside: When I went to take my current car (a m
On 2016-10-03 17:48, chrischris201...@gmail.com wrote:
Τη Δευτέρα, 3 Οκτωβρίου 2016 - 7:17:03 μ.μ. UTC+3, ο χρήστης
chrischr...@gmail.com έγραψε:
hello
i try to follow some tutorial but i have that error :
Traceback (most recent call last):
File "C:\Python27\test\test\earth.py", line 42, i
Steve D'Aprano writes:
> The dependencies needed to build 4.8 aren't available for my system. And
> there's no supported upgrade path.
If you're system runs 4.4 it should be able to build 4.8 I'd hope. I
have Debian 7 which comes with 4.7, and I was able to download and build
6.1 with any signif
On Monday, October 3, 2016 at 12:46:41 PM UTC-4, Skip Montanaro wrote:
> On Mon, Oct 3, 2016 at 10:23 AM, udhay prakash pethakamsetty
> > Hi skip,
> >
> > I am unable to even install that curses package
> >
> >
> > C:\>pip install curses
> > Collecting curses
> > Could not find a version that sat
On Monday, October 3, 2016 at 5:41:23 PM UTC+1, BartC wrote:
> On 03/10/2016 16:03, wrote:
> > On Monday, October 3, 2016 at 12:53:55 PM UTC+1, Marko Rauhamaa wrote:
> >> Gregory Ewing:
> >>
> >>> Turns out the only difference between first and reverse on that model
> >>> is whether you lift up a l
Τη Δευτέρα, 3 Οκτωβρίου 2016 - 7:17:03 μ.μ. UTC+3, ο χρήστης
chrischr...@gmail.com έγραψε:
> hello
>
>
> i try to follow some tutorial but i have that error :
>
> Traceback (most recent call last):
> File "C:\Python27\test\test\earth.py", line 42, in
> slope_array = np.ones_like(data_arr
On 2016-10-03 17:14, chrischris201...@gmail.com wrote:
hello
i try to follow some tutorial but i have that error :
Traceback (most recent call last):
File "C:\Python27\test\test\earth.py", line 42, in
slope_array = np.ones_like(data_array) * nodataval
TypeError: unsupported operand type
On Mon, Oct 3, 2016 at 10:23 AM, udhay prakash pethakamsetty
wrote:
> Hi skip,
>
> I am unable to even install that curses package
>
>
> C:\>pip install curses
> Collecting curses
> Could not find a version that satisfies the requirement curses (from
> versions: )
> No matching distribution foun
On 03/10/2016 16:03, breamore...@gmail.com wrote:
On Monday, October 3, 2016 at 12:53:55 PM UTC+1, Marko Rauhamaa wrote:
Gregory Ewing:
Turns out the only difference between first and reverse on that model
is whether you lift up a little ring on the shaft of the gear lever
prior to engagement.
On Mon, 3 Oct 2016 09:14:23 -0700 (PDT), chrischris201...@gmail.com wrote:
[snip]
>
> i try to follow some tutorial but i have that error :
>
> Traceback (most recent call last):
> File "C:\Python27\test\test\earth.py", line 42, in
> slope_array = np.ones_like(data_array) * nodataval
> TypeE
hello
i try to follow some tutorial but i have that error :
Traceback (most recent call last):
File "C:\Python27\test\test\earth.py", line 42, in
slope_array = np.ones_like(data_array) * nodataval
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
first i define that lin
On Mon, Oct 3, 2016 at 2:35 PM, Michael Felt wrote:
> On 02-Oct-16 23:44, eryk sun wrote:
>> On Sun, Oct 2, 2016 at 5:50 PM, Michael Felt
>> wrote:
>>
>>> b) what I am not understanding - as the basic documentation shows
>>> FOO.value as the way to set/get the value of a _field_
>>
>> You may b
On Monday, October 3, 2016 at 12:53:55 PM UTC+1, Marko Rauhamaa wrote:
> Gregory Ewing:
>
> > Turns out the only difference between first and reverse on that model
> > is whether you lift up a little ring on the shaft of the gear lever
> > prior to engagement.
> >
> > Who came up with *that* brill
> When we are printing to the console, is there a way to display to the
> previous line in the console.
Check out the curses module:
https://docs.python.org/3.6/library/curses.html
Skip
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
\t is for tab(forward) space; and
\r is for carriage return (back space)
When we are printing to the console, is there a way to display to the previous
line in the console.
We can achive that easily in file operations, But I want a solution in
displaying on Console.
regards
Udhay Pr
On Tue, Oct 4, 2016 at 1:06 AM, Steve D'Aprano
wrote:
> On Sun, 2 Oct 2016 04:45 pm, Paul Rubin wrote:
>
>> Steve D'Aprano writes:
>>> Yes, this. You need gcc 4.8 or better to build CPython 3.6, and the most
>>> recent any of my systems support is 4.4.
>>
>> Building gcc takes a while but it's re
On Sunday, October 2, 2016 at 2:12:39 AM UTC+1, 38016...@gmail.com wrote:
> I am trying to print a simple decision tree for my homework.
> The answer must keep in this format:
>
> Top 7,4,0.95
> career gain = 100
> 1.Management 2, 3, 0.9709505944546686
> 2.Service 5, 1, 0.6500224216483
On 02-Oct-16 23:44, eryk sun wrote:
On Sun, Oct 2, 2016 at 5:50 PM, Michael Felt wrote:
a) where is documentation on "CField"'s?
It's undocumented.
So I do not feel so bad about not finding anything :)
A CField is a data descriptor that accesses a
struct field with the given type, size,
On Sun, 2 Oct 2016 04:45 pm, Paul Rubin wrote:
> Steve D'Aprano writes:
>> Yes, this. You need gcc 4.8 or better to build CPython 3.6, and the most
>> recent any of my systems support is 4.4.
>
> Building gcc takes a while but it's reasonably simple. Just start it
> going and read a book for a
>Have you looked at f2py?
>There is also fortran magic for Jupyter notebooks
>f90wrap extends f2py to support modern Fortran
f2py and others are great to use static Fortran code, like LAPACK or BLAS.
By static, I mean that no change is necessary to the Fortran code.
Fython can do that too, and als
On Mon, Oct 3, 2016 at 1:26 PM, Nagy László Zsolt wrote:
>
> Is it possible to write a win32 service with 64 bit python 3.5? The
> pywin32 package does exist on 3.5 64bit, but missing some modules:
Try pip installing the "pypiwin32" package.
--
https://mail.python.org/mailman/listinfo/python-lis
Hello,
Is it possible to write a win32 service with 64 bit python 3.5? The
pywin32 package does exist on 3.5 64bit, but missing some modules:
>>> import win32service
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed:The specified module could not be found.
Parsita is a parser combinator library for Python. I wrote it because I
missed the intuitive parser combinator library in Scala while trying to
parse custom model file formats in Python. Parsita is focused on a clean
grammar-like syntax, defining operators like `|` and `&` and functions like
`o
On 03/10/2016 12:53, Marko Rauhamaa wrote:
Gregory Ewing :
Turns out the only difference between first and reverse on that model
is whether you lift up a little ring on the shaft of the gear lever
prior to engagement.
Who came up with *that* brilliant piece of user interface design I
don't kno
On Mon, 03 Oct 2016 22:10:52 +1300, Gregory Ewing wrote:
> Rustom Mody wrote:
>> My new car goes in reverse when I put it in first gear but only on
>> full-moon nights with the tank on reserve when the left light is
>> blinking
>
> OT aside: When I went to take my current car (a manual) for a tes
Gregory Ewing :
> Turns out the only difference between first and reverse on that model
> is whether you lift up a little ring on the shaft of the gear lever
> prior to engagement.
>
> Who came up with *that* brilliant piece of user interface design I
> don't know. It seems specifically designed t
On 02-Oct-16 23:44, eryk sun wrote:
On Sun, Oct 2, 2016 at 5:50 PM, Michael Felt wrote:
>
>a) where is documentation on "CField"'s?
I will reply more later - just a quick thanks.
Not using maxsize will be good, also in a different patch - also
specific to AIX.
This "thing" I am working
Rustom Mody wrote:
My new car goes in reverse when I put it in first gear but only on full-moon
nights with the tank on reserve when the left light is blinking
OT aside: When I went to take my current car (a manual)
for a test drive, I had to stop and ask the dealer how
to put it into reverse.
Steve D'Aprano wrote:
x = str = 1
assert x == 1 and str == 1
del x, str
assert str # succeeds
assert x # NameError
x = str = 2 # create new bindings, or update existing ones?
Is it our conclusion that therefore Python creates a new binding for str
but not for x? Or that the evidence for x is
Antoon Pardon writes:
> Op 02-10-16 om 07:59 schreef Rustom Mody:
>>
>> You are explaining the mechanism behind the bug. Thanks. The bug
>> remains. My new car goes in reverse when I put it in first gear but
>> only on full-moon nights with the tank on reserve when the left light
>> is blinking T
On 3 Oct 2016, at 4:29 am, John Ladasky wrote:
>
> On Sunday, October 2, 2016 at 7:21:15 PM UTC-7, blue wrote:
>> You have here a PyQt5 Reference Guide
>> http://pyqt.sourceforge.net/Docs/PyQt5/index.html
>> Some example can be found here 4 and 5
>> http://codeprogress.com/python/libraries/pyqt
Op 02-10-16 om 07:59 schreef Rustom Mody:
>
> You are explaining the mechanism behind the bug. Thanks. The bug remains.
> My new car goes in reverse when I put it in first gear but only on full-moon
> nights with the tank on reserve when the left light is blinking
> The engineer explains the inter
Chris Angelico wrote:
The only way to prove that something is a new binding is to
demonstrate that, when this binding is removed, a previous one becomes
visible.
Or capture them both with closures and show that each
closure sees a different version of the binding.
--
Greg
--
https://mail.pytho
Steve D'Aprano wrote:
No it doesn't mean that at all. The result you see is compatible with *both*
the "update existing slot" behaviour and "create a new slot" behavior.
We're getting sidetracked talking about slots here.
It's not really relevant. The point is that there is
only *one* binding f
48 matches
Mail list logo