考虑python - 有几个问题。 [英] Considering python - have a few questions.

查看:47
本文介绍了考虑python - 有几个问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好......


我正在寻找一个小程序供我自己使用,也许还有一大堆其他人的b $ b b ,我正在尝试决定使用什么语言最好的

语言。


我是一个退休的语言。程序员,从DOS世界开始。 (好吧,我猜

我开始在DOS之前......)。我学习了C ++(用于DOS)和Pascal(用于DOS),当时我在学校里学习了 - 并且在Basic中编程了几年。 (好吧 - 这不是我的选择 - 但这是我被聘用的程序 - 每个单用户

许可证大约是7,000美元 - 所以谁是我争辩!)我后来在Visual Basic中做了一些东西

,并在其中做了一些OOP。


但是 - 我没有编写单个5年多的事情。

虽然我确实记得如何编程一般,但我好像不记得

还记得Visual Basic那么......所以我在找。 (毕竟,如果

我将不得不重新学习一门语言 - 可能也值得一试!)


我想知道有多难然而,它是在python中做我想要的。


我需要建立一个GUI界面。有些屏幕需要动态创建,并在屏幕上显示数据库中的信息。包含在数据库中

将是需要显示的图片(.gif或.jpg)。第二个

数据库将保存用户的数据。我还需要能够以类似的方式打印

报告。


我希望程序能够在Windows中运行。如果它可以在Mac和其他系统上运行,那将是一个加分。我真的很喜欢

能够在互联网上运行(允许多个人b / b
访问数据),但我''除了基本的

网页以及网页编辑器(Dreamweaver)之外,我从未做过任何其他事情。


btw - 我设计了数据库(以及程序信息)数据库填写)

访问....


我不介意努力学习如何做....我只是想要知道是否
Python是一个不错的选择!


感谢您的耐心等待!


Hi all...

I am looking at writing a little program for my own use, and probably for a
bunch of other people too, and I am trying to decide what would be the best
language to use.

I am a "retired" programmer, that started in the DOS world. (Well, I guess
I started pre-DOS...). I learned C++ (for DOS), and Pascal (for DOS) when I
was in school - and programmed for several years in Basic. (Ok - it wasn''t
my choice - but it was what I was hired to program in - and each single-user
license was around $7,000 - so who was I to argue!) I later did some stuff
in Visual Basic, and did some OOP in it.

HOWEVER - I have not programmed a single darned thing for over 5 years.
And although I do remember how to program in general, I don''t seem to
remember Visual Basic that well... so I''m looking around. (After all, If
I''m going to have to relearn a language - might as well be worth while!)

I am wondering how hard it is to do what I want in python, however.

I need to make a GUI interface. Some of the screens need to be dynamically
created, with the screen information in a database. Included in the database
will be pictures (.gif or .jpg) that need to be displayed. A second
database would hold the user''s data. I would also need to be able to print
reports made in a similar fashion.

I would want the program to run in Windows for sure. If it could work on a
Mac and other systems, that would be a plus. I would really love it to be
able to also be able to be run on the internet (allowing more than one
person access to the data), but I''ve never done anything other than basic
web pages with a web page editor (dreamweaver.)

btw - I have the database designed (and the program info database filled) in
Access....

I don''t mind working hard to learn how to do it.... I just want to know if
Python is a good choice or not!

Thanks for your patience!


推荐答案

7,000 - 所以我要争辩!)我后来在Visual Basic中做了一些东西

,并在其中做了一些OOP。 br />

但是 - 我已经编程了5年以上的一件事。

虽然我确实记得如何编程一般,但我不是似乎

记得Visual Basic那么......所以我在四处寻找。 (毕竟,如果

我将不得不重新学习一门语言 - 可能也值得一试!)


我想知道有多难然而,它是在python中做我想要的。


我需要建立一个GUI界面。有些屏幕需要动态创建,并在屏幕上显示数据库中的信息。包含在数据库中

将是需要显示的图片(.gif或.jpg)。第二个

数据库将保存用户的数据。我还需要能够以类似的方式打印

报告。


我希望程序能够在Windows中运行。如果它可以在Mac和其他系统上运行,那将是一个加分。我真的很喜欢

能够在互联网上运行(允许多个人b / b
访问数据),但我''除了基本的

网页以及网页编辑器(Dreamweaver)之外,我从未做过任何其他事情。


btw - 我设计了数据库(以及程序信息)数据库填写)

访问....


我不介意努力学习如何做....我只是想要要知道是否

Python是一个不错的选择!


感谢您的耐心等待!


7,000 - so who was I to argue!) I later did some stuff
in Visual Basic, and did some OOP in it.

HOWEVER - I have not programmed a single darned thing for over 5 years.
And although I do remember how to program in general, I don''t seem to
remember Visual Basic that well... so I''m looking around. (After all, If
I''m going to have to relearn a language - might as well be worth while!)

I am wondering how hard it is to do what I want in python, however.

I need to make a GUI interface. Some of the screens need to be dynamically
created, with the screen information in a database. Included in the database
will be pictures (.gif or .jpg) that need to be displayed. A second
database would hold the user''s data. I would also need to be able to print
reports made in a similar fashion.

I would want the program to run in Windows for sure. If it could work on a
Mac and other systems, that would be a plus. I would really love it to be
able to also be able to be run on the internet (allowing more than one
person access to the data), but I''ve never done anything other than basic
web pages with a web page editor (dreamweaver.)

btw - I have the database designed (and the program info database filled) in
Access....

I don''t mind working hard to learn how to do it.... I just want to know if
Python is a good choice or not!

Thanks for your patience!



Heather Stovold写道:
Heather Stovold wrote:
我需要建立一个GUI界面。


有很多可供选择。我更喜欢wxPython(wxpython.org)。便携式,具有原生外观,带有良好的文档和

优秀的演示应用程序。

我真的很喜欢它也能够在
互联网上运行


你当然可以用Python做网络IO,并且有几个

附加组件,使其更容易:pyro在pyro.sourceforge.net或

内置的XML-RPC客户端和服务器。

btw - 我有Access中的数据库设计(和程序信息数据库已填充)....


这里有几个关于连接Access的线程。

我不介意努力学习如何去做....我只是想知道Python是不是一个好选择!
I need to make a GUI interface.
There are many to choose from. I prefer wxPython (wxpython.org). It is
portable, has native look-and-feel, comes with good documentation and an
excellent demo application.
I would really love it to be able to also be able to be run on the
internet
You can certainly do network IO with Python, and there are several
add-ons that make it even easier: Pyro at pyro.sourceforge.net or the
built-in XML-RPC client and server.
btw - I have the database designed (and the program info database
filled) in Access....
There have been several threads here about connecting to Access.
I don''t mind working hard to learn how to do it.... I just want to
know if Python is a good choice or not!




我肯定会这么说。玩得开心!

-

Benji York
成为*** @ benjiyork .com



I''d definitely say so. Have fun!
--
Benji York
be***@benjiyork.com


" Heather Stovold" < H _ ******* @ hotmail.com>写道:
"Heather Stovold" <h_*******@hotmail.com> wrote:

我需要建立一个GUI界面。某些屏幕需要动态创建,屏幕信息在数据库中。包含在数据库中的将是需要显示的图片(.gif或.jpg)。第二个数据库将保存用户的数据。我还需要能够以类似的方式打印报告。

我希望程序能够在Windows中运行。如果它可以在Mac和其他系统上运行,那将是一个加分。我真的很喜欢它能够在互联网上运行(允许不止一个人访问数据),但我从来没有做过基本的其他事情<带网页编辑器的网页(Dreamweaver。)

顺便说一句 - 我已经设计了数据库(以及程序信息数据库填写)
Access ....
我不介意努力学习如何去做....我只是想知道Python是不是一个好选择!

I need to make a GUI interface. Some of the screens need to be dynamically
created, with the screen information in a database. Included in the database
will be pictures (.gif or .jpg) that need to be displayed. A second
database would hold the user''s data. I would also need to be able to print
reports made in a similar fashion.

I would want the program to run in Windows for sure. If it could work on a
Mac and other systems, that would be a plus. I would really love it to be
able to also be able to be run on the internet (allowing more than one
person access to the data), but I''ve never done anything other than basic
web pages with a web page editor (dreamweaver.)

btw - I have the database designed (and the program info database filled) in
Access....

I don''t mind working hard to learn how to do it.... I just want to know if
Python is a good choice or not!




Python是一个很好的选择。就个人而言,根据您的要求,我会将此作为一个Web应用程序。在我看来,HTML是动态生成用户界面的最简单方法。使用像CherryPy这样的软件包,你可以获得一个内置的Web服务器。你在后台启动服务器,

将Internet Explorer称为你的用户界面。

-

- Tim Roberts, ti ** @ probo.com

Providenza& Boekelheide,Inc。



Python is a great choice. Personally, given your requirements, I would
make this a web application. In my opinion, HTML is the easiest way to
generate a user interface on-the-fly. With a package like CherryPy, you
get a web server built-in. You fire up the server in the background, and
bring up Internet Explorer as "your" user interface.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.


这篇关于考虑python - 有几个问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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