Re: [Tutor] Sorting Data in Databases

2009-11-24 Thread Che M
> That is a surprise to me. I did not know that Python would work with SQLite. Sure, as someone else said, Python comes with a LOT of libraries built right in when you download Python. This is known as "batteries included", that is, what comes with the standard distribution of Python. >

Re: [Tutor] Sorting Data in Databases

2009-11-24 Thread Wayne Werner
On Mon, Nov 23, 2009 at 11:26 PM, Ken G. wrote: > I am getting more and more surprised of what Python can do. Very > comprehensive. It's a much safer bet to assume that Python can do ( http://xkcd.com/353/ ) anything ( http://xkcd.com/413/ ). You just have to install the

Re: [Tutor] Sorting Data in Databases

2009-11-23 Thread Ken G.
Che M wrote: Ken, I would also recommend trying out databases, if you have an interest. I found them a fun new aspect of using Python. I would recommend using SQLite, which very conveniently comes with Python. Alan Gauld's tutorial that you've read part of has a nice section on Working w

Re: [Tutor] Sorting Data in Databases

2009-11-23 Thread Che M
Ken, I would also recommend trying out databases, if you have an interest. I found them a fun new aspect of using Python. I would recommend using SQLite, which very conveniently comes with Python. Alan Gauld's tutorial that you've read part of has a nice section on Working with Databases,

Re: [Tutor] Sorting Data in Databases

2009-11-23 Thread spir
"Ken G." wrote: > I have not use the DBMS as I am unaware of them in both languages. DBMS is short for Data Base Management System, see wikipedia entry on the topic. Actually, the term is a bit ambiguous: * From a user point of view, a BDMS will be an application allowing managing data sets

Re: [Tutor] Sorting Data in Databases

2009-11-22 Thread Ken G.
I have not use the DBMS as I am unaware of them in both languages. Lie Ryan wrote: Ken G. wrote: The way I use to do it in another programming language (Liberty Basic in Windows) was: 1. Count number of data entry in database. 2. Dimension or create an array to equal the maximum number of

Re: [Tutor] Sorting Data in Databases

2009-11-22 Thread Lie Ryan
Ken G. wrote: The way I use to do it in another programming language (Liberty Basic in Windows) was: 1. Count number of data entry in database. 2. Dimension or create an array to equal the maximum number of entry. 3. Copy data entry from database into array. 4. Use the SORT command on array, as

[Tutor] Sorting Data in Databases

2009-11-22 Thread Ken G.
Greeting: Can someone give me a brief outline of sorting data in databases? I have five databases with numeric values for each item. To be more precise, they are sorted by date and if necessary, by time. Currently, I am using Ubuntu 9.04 in the language of Linux and Python is my choice of pr