Cross platform scripting language and database
Andrew L. Gould
algould
Mon May 17 11:56:49 PDT 2004
On Saturday 13 December 2003 07:37 am, Joel Hammer wrote:
> I need to write some simple software for organizing digital images.
> There will be a need to automatically label the images, add comments,
> and create a database. There needs to be a pretty GUI for the enduser.
>
> This will run mainly on a windows 2000 box but I would like:
> 1. to use something beside visual basic or other proprietary software.
> 2. to have a cross platform language, since I will likely be developing
> this on my home computer in large part, which runs lindows.
>
> So, of the cross platform scripting languages out there, which ones
> are good for windows 2000 and linux? Which ones are simple?
>
> Thanks,
>
> Joel
>
Unless your going to develop an web front-end, I would suggest Python. It's
easy to learn; and even easier to read 6 months later. Python is object
oriented.
When dealing with relative paths, use the forward slash. If you run the
script in Windows, the interpreter will understand and make any conversions
needed. For absolute paths, you'll still need to add the drive letter, etc.
There are modules for accessing databases and various cross-platform GUI's.
Python has an interactive shell in which you can get immediate feedback on
commands and errors.
Your Linux distro probably (almost certainly?) has Python.
There's also a Windows version and an additional Windows extension that has an
editor and interactive shell. I highly recommend the Windows extension.
The home page: http://www.python.org/
The current, stable version: http://www.python.org/2.3.2/
Windows extensions (editor, etc): http://starship.python.net/crew/mhammond/
Best of luck,
Andrew Gould
More information about the Linux-users
mailing list