473,756 Members | 4,046 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1712
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*******@yaho o.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******@comput er.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
3793
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 trying to read a flatfile. In COBOL, my simple file layout and READ statement would look like below. Question: what is the standard, simple coding convention for reading in a flatfile - one record at a time?? SCANF does not work because of...
1
1078
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 databinding form, but not using the wizard, because it doesn't use the SQL driver. I'm keeping it simple right now with a very normal table with a primary key 'SIN' (social insurance number). Well I'm following along in the book to do the whole...
9
8297
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
1473
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 rid of the record and recreate it as it is totaling hosing up all my month end stats. Thank you in advance.
3
2440
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 software test data. Each instance of a test is associated with a "test case", that is, a test item. Each test instance (or "run") may have a number of other characteristics too, such as browser used, OS (XP, Vista, Linux, Mac OSX, etc.), etc., but for...
1
3344
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 developing this Automated Student Record System? 4. How can an Automated System solved the problem encountered by manual way of keeping the Record of the Students?
1
1749
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 to keep a record of all users who make changes in the records. After my text box in the form view is updated, "CurrentUser" and "Now()" are saved in a table which can hold multiple values. The problem is that each time, the old values in record...
1
2477
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 next record on that subform. This seems like that this should be a fairly easy thing to accomplish, but I cannot get it to reposition the cursor on the next record. The following is my code segment: Any help would be greatly appreciated!!! ...
2
2046
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. e.g. there are no relationships between tables and foreign keys appear to have been sprinkled at random like confetti. As an example, the Employer - Employee - Contract - Expense hierarchy has EmployerID in the Expense table. That's the...
0
9431
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9255
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10014
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9689
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7226
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3326
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2647
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.