Platform Query

Hi, thanks for the response - the second option is what I want to do.

I’m just confirming that under Python I will be able to use SQL and incorporate GUI screen displays - if this is the case then I can investigate further.

I’m not expecting to be able to use the original flash development, just wish to develop something with similar look and feel in Python.

Thanks for the help.

Regards

Greg

···

On Sunday, March 17, 2013 5:23:10 PM UTC+11, Greg wrote:

Hi

New to this, and unsure if this is right place to ask. If this isn’t the correct place to ask the below could someone let me know where it would be more appropriate please?

I have a flash application that has been running under Windows and I want to rewrite it to use under Debian with Python / MySQL with a GUI front-end.

The intention also is that touchscreens will be supported.

Alternatively, if any one knows of another environment in which the requirements above can be easily met those suggestions would be well received.

Any advice would be appreciated.

Regards

Greg

Hi,

Hi, thanks for the response - the second option is what I want to do.

I’m just confirming that under Python I will be able to use SQL and incorporate GUI screen displays - if this is the case then I can investigate further.

I’m not expecting to be able to use the original flash development, just wish to develop something with similar look and feel in Python.

Thanks for the help.

Of course you can use SQL in your GUIs in Python. I wrote a few articles on the subject where I used SQLAlchemy to interface with SQLite and display data in a wxPython app. Here are a couple links:

and here’s a simpler example: http://www.blog.pythonlibrary.org/2012/06/04/wxpython-and-sqlalchemy-loading-random-sqlite-databases-for-viewing/

I’ve connected Python and wxPython to several SQL backends, such as PostGres and Microsoft SQL Server. At my current job, we use Python to interface with DB2.

Hope that helps!
Mike

···

On Monday, March 18, 2013 11:46:33 PM UTC-5, Greg wrote:

If you want a pretty "standard" desktop GUI app look, then wxPytohn is
a great choice.

However, you mention touch screens -- if that is the primary use-case,
you may want to look at Kivi:

Very cool project. From what I've seen it's GUI stuff is designed for
touch screens, and the same code should work on Desktop OSs, iOS,
Android....

-Chris

···

On Mon, Mar 18, 2013 at 9:46 PM, Greg <greg.pristine@gmail.com> wrote:

I'm just confirming that under Python I will be able to use SQL and
incorporate GUI screen displays - if this is the case then I can investigate
further.

I'm not expecting to be able to use the original flash development, just
wish to develop something with similar look and feel in Python.

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Hi Chris

Thanks for reply.

I’ve searched many combinations looking for “kivi” but have not been able to locate anything like that for Debian.

Am I doing something incorrect please?

Thanks and regards

Greg

···

On Wednesday, March 20, 2013 11:05:54 AM UTC+11, Chris Barker - NOAA Federal wrote:

On Mon, Mar 18, 2013 at 9:46 PM, Greg greg.p...@gmail.com wrote:

I’m just confirming that under Python I will be able to use SQL and

incorporate GUI screen displays - if this is the case then I can investigate

further.

I’m not expecting to be able to use the original flash development, just

wish to develop something with similar look and feel in Python.

If you want a pretty “standard” desktop GUI app look, then wxPytohn is

a great choice.

However, you mention touch screens – if that is the primary use-case,

you may want to look at Kivi:

Very cool project. From what I’ve seen it’s GUI stuff is designed for

touch screens, and the same code should work on Desktop OSs, iOS,

Android…

-Chris

Christopher Barker, Ph.D.

Oceanographer

Emergency Response Division

NOAA/NOS/OR&R (206) 526-6959 voice

7600 Sand Point Way NE (206) 526-6329 fax

Seattle, WA 98115 (206) 526-6317 main reception

Chris....@noaa.gov

Hi Chris

Thanks for reply.

I’ve searched many combinations looking for “kivi” but have not been able to locate anything like that for Debian.

Am I doing something incorrect please?

Thanks and regards

Greg

I’m just confirming that under Python I will be able to use SQL and

incorporate GUI screen displays - if this is the case then I can investigate

further.

I’m not expecting to be able to use the original flash development, just

wish to develop something with similar look and feel in Python.

If you want a pretty “standard” desktop GUI app look, then wxPytohn is

a great choice.

However, you mention touch screens – if that is the primary use-case,

you may want to look at Kivi:

Very cool project. From what I’ve seen it’s GUI stuff is designed for

touch screens, and the same code should work on Desktop OSs, iOS,

Android…

-Chris

Christopher Barker, Ph.D.

Oceanographer

Emergency Response Division

NOAA/NOS/OR&R (206) 526-6959 voice

7600 Sand Point Way NE (206) 526-6329 fax

Seattle, WA 98115 (206) 526-6317 main reception

Chris....@noaa.gov

···

On Wednesday, March 20, 2013 12:08:05 PM UTC+11, Greg wrote:

On Wednesday, March 20, 2013 11:05:54 AM UTC+11, Chris Barker - NOAA Federal wrote:

On Mon, Mar 18, 2013 at 9:46 PM, Greg greg.p...@gmail.com wrote:

Greg wrote:

Hi Chris
Thanks for reply.
I've searched many combinations looking for "kivi" but have not been
able to locate anything like that for Debian.
Am I doing something incorrect please?

···

--
Robin Dunn
Software Craftsman

Hi

It appears that kivy is only compatible with python 2.7 from what I can find. Is this correct please or is it now compatible with python 3?

Thanks

Greg

···

On Wednesday, March 20, 2013 4:50:07 PM UTC+11, Robin Dunn wrote:

Greg wrote:

Hi Chris
Thanks for reply.
I’ve searched many combinations looking for “kivi” but have not been
able to locate anything like that for Debian.
Am I doing something incorrect please?

http://kivy.org/


Robin Dunn
Software Craftsman
http://wxPython.org

It appears that kivy is only compatible with python 2.7 from what I can find. Is this correct please or is it now compatible with python 3?

It may well be py2 only, but this isn’t the place to ask.

But why is that a problem? And wxPython is still in a testing phase for py3 as well ( the Phoenix project).

Anyway, wx is an excellent choice for traditional desktop apps. But you mentioned touch screens, so I thought kivy might be of interest.

By the way, anyone know about wx and touch devices? With win8 I’d expect the windows native widgets should be getting touch friendly, and I image GTK has done some work, and iOS is built on cocoa, so it may well be doable (don’t have any idea about android, however).

-Chris

···

On Mar 22, 2013, at 12:58 AM, Greg greg.pristine@gmail.com wrote:

Thanks

Greg

On Wednesday, March 20, 2013 4:50:07 PM UTC+11, Robin Dunn wrote:

Greg wrote:

Hi Chris
Thanks for reply.
I’ve searched many combinations looking for “kivi” but have not been
able to locate anything like that for Debian.
Am I doing something incorrect please?

http://kivy.org/


Robin Dunn
Software Craftsman
http://wxPython.org

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Hi Chris,

···

On Friday, March 22, 2013 10:00:11 AM UTC-5, Chris Barker - NOAA Federal wrote:

On Mar 22, 2013, at 12:58 AM, Greg greg.p...@gmail.com wrote:

It appears that kivy is only compatible with python 2.7 from what I can find. Is this correct please or is it now compatible with python 3?

It may well be py2 only, but this isn’t the place to ask.

But why is that a problem? And wxPython is still in a testing phase for py3 as well ( the Phoenix project).

Anyway, wx is an excellent choice for traditional desktop apps. But you mentioned touch screens, so I thought kivy might be of interest.

By the way, anyone know about wx and touch devices? With win8 I’d expect the windows native widgets should be getting touch friendly, and I image GTK has done some work, and iOS is built on cocoa, so it may well be doable (don’t have any idea about android, however).

-Chris

I created a touch-screen app for a kiosk one time with wxPython. It worked pretty well. The biggest problem I had was that the scroll bars for widgets like the List Ctrl are a little too skinny for fingers and there’s no way to make them wider. And if you wanted to include the title bar so the user could exit by hitting the “X”, that was too small as well. You just have to be creative to get around that stuff though.

  • Mike

Was that Windows?

Anyway, I consulted n a job where we were doing that too -- I never
saw it in action on the touch screen, but I understand it worked well.

However, if you go beyond simple kiosk apps with buttons and text
entries, and want what is now a "standard" touch screen experience:

pinch to zoom
"flicking" to scroll through long lists

and even stuff like "how do you do a hover-over tooltip with a touch screen.

Then wxPython is not a great option (particularly on phones or tablets.

Unless wx wrapped some native touch-screen widgets sets...I haven't
been following wx-dev, so I have no idea where that's at.

-Chris

···

On Fri, Mar 22, 2013 at 10:55 AM, Mike Driscoll <kyosohma@gmail.com> wrote:

I created a touch-screen app for a kiosk one time with wxPython. It worked
pretty well.

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Hi Chris,

I created a touch-screen app for a kiosk one time with wxPython. It worked
pretty well.

Was that Windows?

Yes. Windows XP! Although I think we ended up moving it to Linux.

Anyway, I consulted n a job where we were doing that too – I never
saw it in action on the touch screen, but I understand it worked well.

However, if you go beyond simple kiosk apps with buttons and text
entries, and want what is now a “standard” touch screen experience:

pinch to zoom
“flicking” to scroll through long lists

Yeah…we didn’t have those features. I’m not aware of wxPython having anything like that. Of course, most widgets don’t need pinch-to-zoom. Maybe Robin will know more.

and even stuff like "how do you do a hover-over tooltip with a touch screen.

Then wxPython is not a great option (particularly on phones or tablets.

Unless wx wrapped some native touch-screen widgets sets…I haven’t
been following wx-dev, so I have no idea where that’s at.

-Chris

  • Mike
···

On Friday, March 22, 2013 5:08:00 PM UTC-5, Chris Barker - NOAA Federal wrote:

On Fri, Mar 22, 2013 at 10:55 AM, Mike Driscoll kyos...@gmail.com wrote:

It is not yet:

···

On Fri, Mar 22, 2013 at 8:58 AM, Greg <greg.pristine@gmail.com> wrote:

Hi

It appears that kivy is only compatible with python 2.7 from what I can
find. Is this correct please or is it now compatible with python 3?

Hi again

Thanks very much for the replies, I’m going to look at doing it with python 2.7 and tkinter and see how that works.

Regards

Greg

···

On Tuesday, March 26, 2013 11:56:31 AM UTC+11, Stani wrote:

On Fri, Mar 22, 2013 at 8:58 AM, Greg greg.p...@gmail.com wrote:

Hi

It appears that kivy is only compatible with python 2.7 from what I can
find. Is this correct please or is it now compatible with python 3?

It is not yet:
http://pyfound.blogspot.nl/2012/11/grants-to-assist-kivy-nltk-in-porting.html

Interesting choice--I thought one of the downsides of wx (and kivy)
for you was not-quite-there it 3 support?

Of course, folks on this list have made their choice, but if you want
a modern, multi-platform UI--you'll be happier with wxPython.

-Chris

···

On Mar 26, 2013, at 5:52 PM, Greg <greg.pristine@gmail.com> wrote:

Thanks very much for the replies, I'm going to look at doing it with python 2.7 and tkinter and see how that works.