Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > buffer

Reply
Thread Tools

buffer

 
 
Aditi Meher
Guest
Posts: n/a
 
      11-02-2008
i am using it postgresql as back-end and HTML as front-end,i want to,
display 10-10 records at a time which is there in the database using,
python.so what is function for buffer that we can use it in python?i,
am able to connect my databse in python,but dont know how to create,
buffer in python and how to take records from tables which are there,
in the database?can please provide me any kind of function or code
for, buffer in python?,

i have one more doubt that how to call python script in HTML?,

PLEASE REPLY
 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a
 
      11-04-2008
"Aditi Meher" <(E-Mail Removed)> wrote:
>
>i am using it postgresql as back-end and HTML as front-end,i want to,
>display 10-10 records at a time which is there in the database using,
>python.so what is function for buffer that we can use it in python?i,
>am able to connect my databse in python,but dont know how to create,
>buffer in python and how to take records from tables which are there,
>in the database?can please provide me any kind of function or code
>for, buffer in python?
>
>i have one more doubt that how to call python script in HTML?,


You don't call a Python script in HTML. You send an HTML page to the
browser, then that transaction is done. You have to set up the HTML so
that, when the user clicks on a "next page" or "previous page" button, it
sends a new request to the server. Your Python script can then generate
the NEXT page.

The key is that each page stands alone. You don't hold the data in
between. You make a new database query each time a new request comes in.
--
Tim Roberts, http://www.velocityreviews.com/forums/(E-Mail Removed)
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
buffer creates only read-only buffer? Neal Becker Python 0 01-08-2009 01:58 AM
When using System.IO.FileStream, I write 8 bytes, then seek to the start of the file, does the 8 bytes get flushed on seek and the buffer become a readbuffer at that point instead of being a write buffer? DR ASP .Net 2 07-29-2008 09:50 AM
When using System.IO.FileStream, I write 8 bytes, then seek to the start of the file, does the 8 bytes get flushed on seek and the buffer become a readbuffer at that point instead of being a write buffer? DR ASP .Net Building Controls 0 07-29-2008 01:37 AM
convert M bit buffer to N bit buffer runcyclexcski@yahoo.com C++ 2 03-26-2007 09:43 AM
How to know the buffer size and increase buffer size in c++ Raja C++ 12 06-21-2004 06:21 PM



Advertisments