> I can control the size of my pyqtgraph window below with 'resize'.
>
> But how can I control the position on the screen?
>
Also, try
w.setGeometry( x_pos , y_pos , width , height )
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
https://mail.python.org/mailman/listinf
On Friday, February 13, 2015 at 7:27:54 PM UTC-6, Ian wrote:
> On Fri, Feb 13, 2015 at 8:39 AM, Russell wrote:
> > I have a shared library, libfoo.so, that references another .so which isn't
> > linked but instead loaded at runtime with
> > myso=dlopen("/usr/local/lib/libbar.so", RTLD_NOW); when
Mark Lawrence wrote:
I still think it's a bug as the 'p' being referred to in the OP's
original message is "The precision is a decimal number indicating how
many digits should be displayed after the decimal point for a floating
point value formatted with 'f' and 'F', or before and after the dec
> I can control the size of my pyqtgraph window below
> with 'resize'.
>
> But how can I control the position on the screen ?
>
> import pyqtgraph as pg
>
> w = pg.GraphicsWindow()
> w.resize(250,400)
>
> for i in range(4):
> w.addPlot(0, i)
>
> def onClick(event):
> but=event.button()
On 14/02/2015 00:11, Ian Kelly wrote:
On Fri, Feb 13, 2015 at 4:05 PM, Mark Lawrence wrote:
I still think it's a bug as the 'p' being referred to in the OP's original
message is "The precision is a decimal number indicating how many digits
should be displayed after the decimal point for a float
On Fri, Feb 13, 2015 at 8:39 AM, Russell wrote:
> I have a shared library, libfoo.so, that references another .so which isn't
> linked but instead loaded at runtime with
> myso=dlopen("/usr/local/lib/libbar.so", RTLD_NOW); when I try to load it with
> ctypes, the call hangs and I have to ctl-c.
On Fri, Feb 13, 2015 at 4:05 PM, Mark Lawrence wrote:
> I still think it's a bug as the 'p' being referred to in the OP's original
> message is "The precision is a decimal number indicating how many digits
> should be displayed after the decimal point for a floating point value
> formatted with 'f
On 12/02/2015 23:46, Ian Kelly wrote:
On Thu, Feb 12, 2015 at 1:23 PM, Hrvoje Nikšić wrote:
from decimal import Decimal as D
x = D(1)/D(999)
'{:.15g}'.format(x)
'0.00100100100100100'
[...]
I'd say it's a bug. P is 15, you've got 17 digits after the decimal place
and two of those are insign
On 12/02/15 15:39, Marko Rauhamaa wrote:
I write both Py2 and Py3 code, but I keep the two worlds hermetically
separated from each other.
In SciPy world we run the same code on Python 2 and Python 3.
Sturla
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, Feb 14, 2015 at 6:40 AM, John Ladasky
wrote:
> The default font that the Geany program editor uses on my Ubuntu system
> renders everything I've tried. When I look up that font in Geany's
> Preferences menu, it is called, simply, "monospace".
>
That's a font alias. Unfortunately, I've
On Fri, Feb 13, 2015 at 2:40 PM, Ian Kelly wrote:
> On Fri, Feb 13, 2015 at 2:22 PM, Grant Edwards
> wrote:
>> On 2015-02-13, Dave Angel wrote:
>>> On the other hand, the Decimal package has a way that the programmer
>>> can tell how many digits to use at each stage of the calculation.
>>
>> Th
On Fri, Feb 13, 2015 at 2:22 PM, Grant Edwards wrote:
> On 2015-02-13, Dave Angel wrote:
>> On the other hand, the Decimal package has a way that the programmer
>> can tell how many digits to use at each stage of the calculation.
>
> That's what surpised me. From TFM:
>
> https://docs.python.org
On 2015-02-13, Dave Angel wrote:
> On 02/13/2015 03:33 PM, Grant Edwards wrote:
>> On 2015-02-13, Ian Kelly wrote:
>>
>>> Significant digits are within the precision of the calculation.
>>> Writing 1.230 indicates that the fourth digit is known to be zero.
>>> Writing 1.23 outside a context of ex
On 02/13/2015 03:33 PM, Grant Edwards wrote:
On 2015-02-13, Ian Kelly wrote:
Significant digits are within the precision of the calculation.
Writing 1.230 indicates that the fourth digit is known to be zero.
Writing 1.23 outside a context of exact calculation indicates that the
fourth digit i
On Fri, Feb 13, 2015 at 1:33 PM, Grant Edwards wrote:
> On 2015-02-13, Ian Kelly wrote:
>> On Fri, Feb 13, 2015 at 7:02 AM, Grant Edwards
>> wrote:
>>> On 2015-02-12, Ian Kelly wrote:
On Thu, Feb 12, 2015 at 1:23 PM, Hrvoje Nikšić wrote:
> {:.15g} is supposed to give 15 digits o
On 2015-02-13, Ian Kelly wrote:
> On Fri, Feb 13, 2015 at 7:02 AM, Grant Edwards
> wrote:
>> On 2015-02-12, Ian Kelly wrote:
>>> On Thu, Feb 12, 2015 at 1:23 PM, Hrvoje Nikšić wrote:
>>>
{:.15g} is supposed to give 15 digits of precision, but with trailing
zeros removed.
>>>
>>> The
On Thursday, February 12, 2015 at 7:12:01 PM UTC-8, Steven D'Aprano wrote:
> John Ladasky wrote:
>
> > And I use Unicode in my Python. In implementing some mathematical models
> > which have variables like delta, gamma, and theta, I decided that I didn't
> > like the line lengths I was getting wi
In article ,
__pete...@web.de says...
>
> self.data = dict(row)
I didn't realize from the documentation it could be this simple. Thanks.
>
> And now an unsolicited remark: if you have more than one instance of Unknown
> you might read the data outside the initialiser or at least keep the
> c
On Fri, Feb 13, 2015 at 7:02 AM, Grant Edwards wrote:
> On 2015-02-12, Ian Kelly wrote:
>> On Thu, Feb 12, 2015 at 1:23 PM, Hrvoje Nikšić wrote:
>>
>>> {:.15g} is supposed to give 15 digits of precision, but with trailing
>>> zeros removed.
>>
>> The doc says with "insignificant" trailing zeros
On Fri, Feb 13, 2015 at 2:26 AM, Hrvoje Nikšić wrote:
> Ian Kelly writes:
>> When you specify the a precision of 15 in your format string, you're
>> telling it to take the first 15 of those. It doesn't care that the
>> last couple of those are zeros, because as far as it's concerned,
>> those digi
I have a shared library, libfoo.so, that references another .so which isn't
linked but instead loaded at runtime with
myso=dlopen("/usr/local/lib/libbar.so", RTLD_NOW); when I try to load it with
ctypes, the call hangs and I have to ctl-c.
(build)[dev]$ export LD_LIBRARY_PATH=/usr/local/bin
(bu
"Frank Millman" a écrit dans le message de
news:mailman.18720.1423801380.18130.python-l...@python.org...
I use Windows Server 2003. It also ran an automatic update yesterday. Something seems to have gone
wrong with the system font. I don't use IDLE, but I use OutlookExpress and Textpad, and
"Terry Reedy" a écrit dans le message de
news:mailman.18714.1423775571.18130.python-l...@python.org...
Do you get anything similar when running the console interpreter?
yes
import tkinter as tk
root = tk.Tk()
text = tk.Text()
text.pack()
text.insert('1.0', 'this is a test eeeccee')
s
On 2015-02-12, Ian Kelly wrote:
> On Thu, Feb 12, 2015 at 1:23 PM, Hrvoje Nikšić wrote:
>
>> {:.15g} is supposed to give 15 digits of precision, but with trailing
>> zeros removed.
>
> The doc says with "insignificant" trailing zeros removed, not all
> trailing zeros.
Can somebody explain the di
Robert Kern wrote:
> @profile
> def run():
> pass
>
> run()
No, this doesn't work either. Same failure
kernprof -l test_prof.py
Wrote profile results to test_prof.py.lprof
Traceback (most recent call last):
File "/home/nbecker/.local/bin/kernprof", line 9, in
load_entry_point('line-pro
Robert Kern wrote:
> On 2015-02-11 01:17, Steven D'Aprano wrote:
>> Neal Becker wrote:
>>
>>
>>> To quote from https://pypi.python.org/pypi/line_profiler/
>>>
>>> $ kernprof -l script_to_profile.py
>>> kernprof will create an instance of LineProfiler and insert it into the
>>> __builtins__ namespa
Mario Figueiredo wrote:
> Currently i'm using the following code to transform a row fetched from an
> sqlite database into a dictionary property:
class Unknown:
> def __init__(self, id_):
> self.id = id_
> self.data = None
> ...
> conn = sqlite3.connect('data'
I can control the size of my pyqtgraph window below with 'resize'.
But how can I control the position on the screen?
Poul Riis
import pyqtgraph as pg
w = pg.GraphicsWindow()
w.resize(250,400)
for i in range(4):
w.addPlot(0, i)
def onClick(event):
but=event.button()
print("but: ",b
Currently i'm using the following code to transform a row fetched from an
sqlite database into a dictionary property:
def __init__(self, id_):
self.id = id_
self.data = None
...
conn = sqlite3.connect('data')
conn.row_factory = sqlite3.Row
row = conn.
Ian Kelly writes:
> When you specify the a precision of 15 in your format string, you're
> telling it to take the first 15 of those. It doesn't care that the
> last couple of those are zeros, because as far as it's concerned,
> those digits are significant.
OK, it's a bit surprising, but also cons
Emile van Sebille writes:
> I adapt difflib's SequenceMatcher for my fuzzy search needs now -- can
> you provide some perspective on how fuzzysearch compares?
Hi Emile,
fuzzysearch is made for this purpose, is straightforward to use, is better
documented and is much faster.
What do you mean by
Emile van Sebille writes:
> I adapt difflib's SequenceMatcher for my fuzzy search needs now -- can
> you provide some perspective on how fuzzysearch compares?
Hi Emile,
fuzzysearch is made for this purpose, is straightforward to use, is better
documented and is much faster.
What do you mean by
32 matches
Mail list logo