|
by: Chuck Amadi |
last post by:
Hi all
Anyone know a good Pygresql Tutorial for Interfacing between Python &
Postgresql .
Cheers
Chuck
|
by: Lance Hoffmeyer |
last post by:
Hello,
I am trying to learn some basics of python. One of the things
I want to do is write a script to access a postgresql database
DB as user USER with password PW and
SELECT first_name, last_name, birthday FROM contacts
print to the screen and then disconnect.
|
by: Mage |
last post by:
Hello,
I started to write my PostgreSQL layer. I tried pyPgSQL and PyGreSQL. I
made a *very minimal* performance test and comparsion with the same
thing in php. Table "movie" has 129 record and many fields.
I found PyGreSQL / DB-API / fetchall horrible slow (32 sec in my test).
PHP did 13 secs and it gave the result in associative array. Maybe I did
something bad.
|
by: Ram |
last post by:
Dear All
I am very new to python . i would appreciate any help from you all on
this problem which i am facing.
I am trying to connect to postgres from python.for this i am using
something like " import pgdb". i am able to connect to postgres and
fetch data , if i execute the python file directly in unix prompt.
However when i try to do thsi through broeser iam getting the
following error..
Traceback (most recent call last):
|
by: Manuel Tejada |
last post by:
Hi
My box: RedHat 9.0, Pentium III
Recently I upgraded from PostgreSQL 7.3.2 to PostgreSQL 7.4.1.
The PostgreSQL 7.3.2's rpms were installed from RehHat CDs
The PostgreSQL 7.4.1's rpms I used to upgrade were downloaded from RHEL3
subdirectory (of the mirror
ftp://ftp4.ar.postgresql.org/pub/mirrors/postgresql/binary/v7.4.1/redhat/rhel3).
The upgrade is working well, even I can connect to PostgreSQL from a PHP
|
|
by: artistlikeu |
last post by:
i have connected database with python program.... this program is simulation using Simpy. i call all simulation data from Postgresql using pgdb.
is it possible that i can send some of results by using SQL queries back in the database. if is any hint plz???
regards
|
by: dpholmes |
last post by:
hi everyone, i'm very new to python and to this forum. i'm actually
just trying to work through the tutorial on webpy.org. so far, so
good, but as i tried to incorporate a postgresql database into the
demo web app i'm receiving this error print out:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/web/wsgiserver/__init__.py",
line 624, in communicate
req.respond()
File...
|
by: SteveD |
last post by:
Hi guys,
http://luaforge.net/frs/?group_id=327
pgdb.zip is an addition to scite-debug, which adds source debugging to
the popular SciTE programmer's editor. gdbpy.zip is a standalone
version which can be run from Emacs.
These allow you to single-step from Python to C code in a debugger
session.
|
by: Johannes Bauer |
last post by:
Hello group,
I've run into a small problem with pgdb which is actually not PostgreSQL
specific - I just do not understand the Python syntax at one point.
I'm trying to initialize a connection to a PG database. So help(pgdb) says:
pgdb.connect(connect_string) -connection
connect_string = 'host:database:user:password:opt:tty'
All parts are optional. You may also pass host through
|
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...
|
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...
|
|
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...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
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...
|