在我开始之前,我有一个问题 [英] Please, I Have A Question before I get started

查看:62
本文介绍了在我开始之前,我有一个问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我将尝试学习Python因为我想写一个至少

一个程序来帮助我的残疾儿子进行交流。


我不是要求任何人为我这样做我只是想知道是否

我可以做我需要用Python做的事情.. ..


基本上程序会使屏幕空白并调出(例如)

6张图片。从图片到图片的闪烁边框。

当计算机感应鼠标点击它将清除屏幕并且

提供第二组选择...一个级别根据所选择的图片,比第一个更深......


再次......菜单图片食物,饮料,电视的价格高达5

秒。选择器发送输入(鼠标点击以进行例子)

,同时电视高亮。屏幕清晰,另一张图片菜单出现了...... b $ b这个更深层次的选择电视 - 也许是

卡通片和球...一个球被选中......屏幕上显示

清除和棒球,篮球或足球的菜单选择

出现...我的儿子选择棒球...他有现在通过

三个菜单级别让我们知道他想在电视上看什么....


python可以这样做吗?我意识到我负责菜单套装,

图片....附加声音等....


TIA

Mike

Hi All,

I am going to try and learn Python because I want to write at least
one program to help my disabled son with communitation.

I am not asking for anyone to do this for me I simply want to know if
I can do what I need to do with Python ....

Basically the program will blank the screen and call up (for example)
6 pictures. A flashing border with travel from picture to picture.
When the computer senses a mouse click it will clear the screen and
present a second set of choices ... one level deeper than the first
.... based on the chosen picture.

So again ... "menu pictures" of food, drink, tv are highlited for 5
seconds each. the chooser sends an input (mouse click for eample)
while the tv is highlited. The screen clears and another picture menu
appears ... this one a deeper level of the chose TV - maybe it is
pictures of a cartoon and a ball ... a ball is chosen ... the screeen
clears and menu choices of a baseball, basketball or football
appear... my son chooses the baseball ... he has now worked through
three menu levels to let us know what he would like to watch on TV....

Can python do this? I realize I am responsible for the menu sets,
pictures .... attaching sounds etc ....

TIA

Mike

推荐答案

2006年3月13日星期一02:19:39 +0000,Skipper写道:
On Mon, 13 Mar 2006 02:19:39 +0000, Skipper wrote:
大家好,

我将尝试学习Python,因为我想写一个程序,以帮助我的残疾儿子进行交流。

我不是要求任何人为我这样做我只是想知道我是否可以做我需要用Python做的事....


[snip]

python可以这样做吗?我意识到我负责菜单集,
图片....附加声音等......
Hi All,

I am going to try and learn Python because I want to write at least
one program to help my disabled son with communitation.

I am not asking for anyone to do this for me I simply want to know if
I can do what I need to do with Python ....
[snip]
Can python do this? I realize I am responsible for the menu sets,
pictures .... attaching sounds etc ....




Python没有理由'这样做。


如果你不熟悉编程,我建议你看看Pythoncard。

不幸的是,大多数图形用户界面库对于Python来说

有一个相当陡峭的学习曲线,而且一般来说,无论语言如何,构建GUI都可能很费劲和困难。 Pythoncard试图简化整个过程并使简单的事情变得简单。

http://pythoncard.sourceforge.net/

-

史蒂文。



There is no reason why Python can''t do this.

If you are new to programming, I suggest you have a look at Pythoncard.
Unfortunately, most of the Graphical User Interface libraries for Python
have a fairly steep learning curve, and in general building GUIs can be
tedious and difficult, regardless of language. Pythoncard is an attempt to
simplify the whole process and make simple things simple.

http://pythoncard.sourceforge.net/
--
Steven.


Steven D''Aprano< st *** @ REMOVETHIScyber.com.au>写道:

...
Steven D''Aprano <st***@REMOVETHIScyber.com.au> wrote:
...
python可以这样做吗?我意识到我负责菜单集,
图片....附加声音等....
Can python do this? I realize I am responsible for the menu sets,
pictures .... attaching sounds etc ....



没有理由为什么Python不能这样做。

如果您不熟悉编程,我建议您查看Pythoncard。



There is no reason why Python can''t do this.

If you are new to programming, I suggest you have a look at Pythoncard.




原始海报的用途,我认为PyGame(和PyUI

在它之上)可能更合适。但是,当然,对于没有任何编程经验的人来说,它不会是一个没有任何编程经验的人,而是使用

工具包(Pythoncard + wxPython或PyUI + PyGame) 。

Alex



For the original poster''s purposes, I was thinking as PyGame (and PyUI
on top of it) as perhaps more suitable. But, sure, it won''t be a
cakewalk, for somebody without any programming experience, with either
toolkit set (Pythoncard+wxPython, or PyUI+PyGame).
Alex


Skipper写道:
Skipper wrote:
大家好,

我要去尝试学习Python,因为我想写一个至少一个程序来帮助我的残疾儿子进行交流。

snip
蟒蛇可以这样做吗?我意识到我负责菜单集,
图片....附加声音等....
Hi All,

I am going to try and learn Python because I want to write at least
one program to help my disabled son with communitation.
snip
Can python do this? I realize I am responsible for the menu sets,
pictures .... attaching sounds etc ....




一个有趣的项目。


正如Steven所说,python的GUI工具包(以及其他几种主要的编程语言,如Java和C)都具有挑战性。我建议你从已经面向GUI的东西开始,

将消除很多显示图像的难度,检测

鼠标点击等等。


首先想到的是Powerpoint带有一些简短的自定义Visual Basic代码。另一个非常简单的替代方案可能是使用

一些基本Javascript的HTML。如果你在演示文稿中做出一些

的妥协,你不会需要10行代码,但你不能包括声音。更多

复杂的东西就像Flash一样。所有这些都可能比Python和GUI工具包花费更少的时间来学习。



An interesting project.

As Steven mentioned, the GUI toolkits for python (and several other
major programming languages such as Java and C) are challenging. I
recommend you start with something that is already GUI-oriented that
would eliminate a lot of the difficulty of display images, detecting
mouse clicks, etc.

The first thing that comes to mind would be Powerpoint with some short
custom Visual Basic code. Another very easy alternative may be HTML with
some basic Javascript. It won''t take 10 lines of code if you make some
compromises on the presentation but you can''t include sound. More
complex would be stuff like Flash. All would probably take you less time
to learn than Python and a GUI toolkit.


这篇关于在我开始之前,我有一个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆