I have a substantial wxpython-based application that I'm trying to port from
python-2 to -3.
Almost everything is working properly, except for a few small but important
sections that use
the OGL library. That executes without any exceptions, but the objects created
within the
diagram/canvas
On Sat, 23 Feb 2019 14:56:03 +1100, Chris Angelico wrote:
> On Sat, Feb 23, 2019 at 2:51 PM Frank Miles
> wrote:
>>
>> I have a Debian/Linux machine that I just upgraded to the newer
>> "testing"
>> distribution. I'd done that earlier to another m
I have a Debian/Linux machine that I just upgraded to the newer "testing"
distribution. I'd done that earlier to another machine and all went
well. With the latest machine, python2 is OK but python3 can barely run
at all. For example:
$ python3
Python 3.7.2+ (default, Feb 2 2019, 14:31:48)
On Wed, 12 Apr 2017 04:18:45 -0700, Masoud Afshari wrote:
> filename ="Ex_resample" +'_sdf_'+ str(n)+'.dat'
> with open(filename, 'rb') as f: #read binary file data = np.fromfile(f,
> dtype='float64', count=nx*ny) #float64 for Double precision float numbers
> Ex = np.reshape(data, [ny, nx], ord
On Tue, 04 Apr 2017 08:01:42 -0700, venkatachalam.19 wrote:
> Hello All,
>
> I am writing a python code for processing a data obtained from a sensor. The
> data from sensor is obtained by executing a python script. The data obtained
> should be further given to another python module where the r
On Tue, 28 Mar 2017 15:38:38 -0400, Terry Reedy wrote:
> On 3/28/2017 2:51 PM, Frank Miles wrote:
>> I tried running a bit of example code from the py2.7 docs
>> (16.6.1.2. Exchanging objects between processes)
>> only to have it fail. The code is simply:
>
I tried running a bit of example code from the py2.7 docs
(16.6.1.2. Exchanging objects between processes)
only to have it fail. The code is simply:
#
from multiprocessing import Process, Queue
def f(q):
q.put([42, None, 'hello'])
if __name__ == '__main__':
q = Queue()
On Thu, 11 Feb 2016 14:29:04 +, cl wrote:
> I am trying out wxGlade on Linux, version 0.7.1 of wxGlade on xubuntu
> 15.10.
>
> I have already written something using wxPython directly so I have the
> basics (of my Python skills and the environment) OK I think.
>
> I am having a lot of troubl
On Fri, 24 Jul 2015 19:31:36 +0100, Paulo da Silva wrote:
[snip]
> Which technology is better?
> matplotlib?
> tkinter?
> wxwidgets?
> qt?
Sadly - I don't think wxpython has been ported to python3 yet.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 05 Aug 2014 20:06:05 +, Frank Miles wrote:
> I need to evaluate a complicated function over a multidimensional space
> as part of an optimization problem. This is a somewhat general problem
> in which the number of dimensions and the function being evaluated can
> vary
I need to evaluate a complicated function over a multidimensional space
as part of an optimization problem. This is a somewhat general problem
in which the number of dimensions and the function being evaluated can
vary from problem to problem.
I've got a working version (with loads of conditional
On Tue, 14 Jan 2014 07:26:10 -0800, ngangsia akumbo wrote:
> When i run this code on my pc it actually runs but signals that the app is
> not responding.
[snip most of the code]-
> def main():
> ex = wx.App()
> Example(None)
> ex.Mainloop()
>
>
> if __name__ == "__main__":
> m
On Thu, 12 Dec 2013 16:18:22 -0500, Larry Martell wrote:
> On Thu, Dec 12, 2013 at 11:51 AM, bob gailer wrote:
>> On 12/11/2013 9:07 PM, Larry Martell wrote:
>>
>>> Nope. Long before that I was working on computers that didn't boot when
>>> you powered them up, You had to manually key in a bootst
On Tue, 22 Oct 2013 16:40:32 +, Steven D'Aprano wrote:
> On Tue, 22 Oct 2013 15:39:42 +, Grant Edwards wrote:
>
>>> No, I was thinking of an array. Arrays aren't automatically
>>> initialised in C.
>>
>> If they are static or global, then _yes_they_are_. They are zeroed.
>
> Not that I
On Tue, 14 May 2013 08:05:53 -0700, Christian Jurk wrote:
> Hi folks,
>
> This questions may be asked several times already, but the development
> of relevant software continues day-for-day. For some time now I've been
> using xhtml2pdf [1] to generate PDF documents from HTML templates (which
> a
On Thu, 09 May 2013 23:35:53 +0800, chandan kumar wrote:
> Hi all,I'm new to python and facing issue using serial in python.I'm
> facing the below error
> ser.write(port,command)NameError: global name 'ser' is not defined
> Please find the attached script and let me know whats wrong in my scri
On Wed, 25 Apr 2012 23:03:36 +0200, Kiuhnm wrote:
> On 4/25/2012 22:05, Frank Miles wrote:
>> I have an exceedingly simple function that does a "named import". It
>> works perfectly for one file "r"- and fails for the second "x".
>>
>> If
I have an exceedingly simple function that does a "named import".
It works perfectly for one file "r"- and fails for the second "x".
If I reverse the order of being called, it is still "x" that fails,
and "r" still succeeds.
os.access() always reports that the file is readable (i.e. "true")
If I
On Tue, 20 Nov 2007, joe jacob wrote:
> There are a lot of web frameworks for python like django, mod_python,
> spyce, turbo gears, Zope, Cherrypy etc. Which one is the best in terms
> of performance and ease of study.
Personally I found zope/plone to be very much its own enormously complex world
In article <[EMAIL PROTECTED]>,
Timothy Smith <[EMAIL PROTECTED]> wrote:
>Leif B. Kristensen wrote:
>
>>Timothy Smith skrev:
>>
>>
>>
>>>has anyone got some hard numbers on which pg access module is the
>>>fastest, i currently use pypgsql, but i can't help but feel it's a
>>>little slow.
>>>3 se
In article <[EMAIL PROTECTED]>,
Robert Brewer <[EMAIL PROTECTED]> wrote:
>Roland Heiber wrote:
>> i recently migrated from mysql to postgresql and did use
>> severel python
>> postgres-modules. All do what they are designed for, so
>> which one would
>> you use? psycopg, pygresql, pypgsql? psyc
21 matches
Mail list logo