472,793 Members | 2,277 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,793 software developers and data experts.

dirrection for simple record keeping app.

Hey there,
i have been spending some time learning python. i do enjoy it so.
Heres the deal. i need some dirrection advice.
i have a friend that wants me to set up a customer database for him.
Easy stuff like name, phone number, email address. and current status.
he also wants to be able to print this stuff out.
Heres the deal. He runs windows xp.
how could i write something to help him out ? i thought of glade, since
its gtk and gtk can use a windows runtime.... i also thought of making
something web-based and doing this with cgi scripts. but what would be
easier to learn.... using a database like mysql, or writing text files
and reading them to retrieve the info. The scripting itself could just
be a simple dictionary... so........
any suggestions?
thanks

Jul 19 '05 #1
2 1662
As much as I hate to suggest anything Microsoft, you would probably
save yourself a lot of work by using MS Access. That is what it is
designed for.

That said mySQL is probably a bit of a sledgehammer solution to the
problem. If you want a database, you might want to look at SQLite.
Is is pretty lightweight has python bindings and runs out of a file.

pyGTK is one good option. wxWidgets is another. pyGTK tends to be a
bit more unix centric while wxWidgets is more Windows centric. pyGTK
is nicer to program in, but wxWidgets will give you more of what you
need. Printing in Windows is hard (one of the advantages of MS Access
is that it will take care of that for you) but wxWidgets apparently
has a printing framework that you could use.

Of course if you are already familliar with HTML and javascript, CGI
route is a good one. It is easy to get a decent user interface set up
pretty quickly with CGI and printing is taken care of by the browser.
Multiuser is taken care of almost automatically. The main
disadvantage is you need a web server and a connection to the web
server whenever you want to use your system.

That should get you going,
-Chris

On 26 May 2005 17:41:59 -0700, nephish <co*******@yahoo.com> wrote:
Hey there,
i have been spending some time learning python. i do enjoy it so.
Heres the deal. i need some dirrection advice.
i have a friend that wants me to set up a customer database for him.
Easy stuff like name, phone number, email address. and current status.
he also wants to be able to print this stuff out.
Heres the deal. He runs windows xp.
how could i write something to help him out ? i thought of glade, since
its gtk and gtk can use a windows runtime.... i also thought of making
something web-based and doing this with cgi scripts. but what would be
easier to learn.... using a database like mysql, or writing text files
and reading them to retrieve the info. The scripting itself could just
be a simple dictionary... so........
any suggestions?
thanks

--
http://mail.python.org/mailman/listinfo/python-list

--
Christopher Lambacher
la******@computer.org
Jul 19 '05 #2
wow thanks,
i think i am going to check out sqlite.
acce$$ is not possible because of the cash. ick.
i am interested in learning the code anyway, but just want to learn
python instead of
javascript right now.
i have a simple cgi-script working to display info to the browser (from
apache)
but the script will not let me write the info to a text file.
if you are keen, perhaps you could help me find the error in my script?

thanks for your help by the way... still a real newbie here.

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: KevinD | last post by:
assumption: I am new to C and old to COBOL I have been reading a lot (self teaching) but something is not sinking in with respect to reading a simple file - one record at a time. Using C, I am...
1
by: James R | last post by:
Ok, I'm new at this and learning as I go, but under extreme pressure from work.. So many bugs and little tricky obsticals have got me very far behind, and this is the latest.. I made a simple...
9
by: AA Arens | last post by:
When I start a new record, the <autonumbering> ID in the field is not updated yet, only when I fill in the first field of that record. How to solver it? Bart Access 2003
3
by: Bobbie | last post by:
One of my records is returning garbage. I tried to delete the record it a message comes back and says Search Key Cannot be found. I don't know what happened to the record but I sure need to get...
3
prn
by: prn | last post by:
Hi folks, I've got something that's driving me crazy here. If you don't want to read a long explanation, this is not the post for you. My problematic Access app is a DB for keeping track of...
1
by: reymar | last post by:
1. What is the best software application in developing a database for Student Record System? 2. How to develop an Automated Student Record System? 3. What are the factors to be considered in...
1
by: guestghost | last post by:
Hi, I am new here and new to Access and VB. I know C++, but I have a school project which requires me to design a database in Access :S! (Pardon my terminology, VB is not my first language!) I have...
1
by: stuart | last post by:
I have a list of records in a subform that a user can either edit or delete. This is an unbound form. If the user deletes a record, I want to refresh the form, and then position the cursor on the...
2
by: Richard Sherratt | last post by:
I've inherited a system that was designed by someone with no understanding of database design. From the logical design point of view, there is no logical design. The physical design is a nightmare....
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.