IBM DB2 Bedienungsanleitung Seite 206

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 205
192 DB2 Deployment Guide
You can download the latest source code of IBM_DB driver and IBM_DB_DBI
wrapper from:
http://pypi.python.org/pypi/ibm_db/
If you have downloaded the source code, you can build and install the driver as
well. You can find build instructions in the README file within the compressed
file. Similarly, you can download the latest source code of IBM_DB_SA adaptor
from:
http://pypi.python.org/pypi/ibm_db_sa/
The source can also be browsed online from:
http://code.google.com/p/ibm-db/source/browse
4.6.5 Creating a sample Python application
We have a simple Python application to demonstrate the application deployment.
This sample application named itso_pyapp.py reads the connectivity information
from the command line and uses that to connect to a database. The database
can be both local or remote. If the connection fails, the application gives an
explanatory error message. If the connection succeeds, the application shows
the success message. The complete code is shown in A.4, “Python” on page 264
and is available for download. For the download instructions, refer to Appendix B,
“Additional material” on page 267.
To run the application, create a directory and then save the application as
itso_pyapp.py. You can run the application as shown in Example 4-32. The
example demonstrates a successful connection to a remote database with the
uncatalog connection. You can also test it against a local database as well.
Example 4-32 Successful connection using itso_pyapp.py
itsouser@ubuntu:~/redbook$ python itso_pyapp.py mensa 50001 test db2inst1
password
Trying to establish connection...
Is connection active? : True
Note: Internet access is required for this method of installation to work. You
can also download the appropriate eggs from:
http://code.google.com/p/ibm-db/downloads/list
Copy these to your system, change to the directory where you have copied
the egg, and issue the following command to install:
easy_install <egg file name>
Seitenansicht 205
1 2 ... 201 202 203 204 205 206 207 208 209 210 211 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare

Whirlpool GC751TX manuály

Uživatelské manuály a uživatelské příručky pro Sporáky Whirlpool GC751TX.
Poskytujeme 1 manuály pdf Whirlpool GC751TX ke stažení zdarma podle typů dokumentů: Návod k použití






Další produkty a příručky pro Sporáky Whirlpool

Modely Typ Dokumentu
AKT 477/IX Návod k použití   important safety information, 4 stránky
ETPI 8930/IN Návod k použití   Whirlpool ETPI 8930/IN User manual [en] , 8 stránky
GA641X Návod k použití   Whirlpool GA641X User manual, 16 stránky
G640SX Návod k použití   Whirlpool G640SX User manual, 12 stránky
AKR 311/IX Návod k použití   YOUR SAFETY AND THE SAFETY OF OTHERS ARE VERY, 4 stránky
CRO 642 D B Návod k použití   Whirlpool CRO 642 D B User manual, 16 stránky
PAN 642 IX/H Návod k použití   Whirlpool PAN 642 IX/H User manual, 12 stránky
KHMP5 77510 Návod k použití   Whirlpool KHMP5 77510 User manual, 14 stránky
AKM 528/JA Návod k použití   Whirlpool AKM 528/JA User manual, 4 stránky
GKI 9000/A Návod k použití   Bedienungsanleitung, 9 stránky
KHMP5 86510 Návod k použití   Whirlpool KHMP5 86510 User manual [en] [es] [fr] , 16 stránky
SCHG 640 GH Návod k použití      Whirlpool SCHG 640 GH Manuel utilisateur, 44 stránky
ACM 711/NE Návod k použití   IMPORTANT SAFETY INFORMATION, 7 stránky
TT 7334 (NR) Návod k použití         Whirlpool TT 7334 (NR) User manual, 72 stránky
CH10450GF S Návod k použití   Whirlpool CH10450GF S User manual, 20 stránky
AKT 315/IX Návod k použití   hob instructions - whirlpool documents, 2 stránky
TQ 751 S (ICE) IX/HA Návod k použití       Whirlpool TQ 751 S (ICE) IX/HA User manual, 56 stránky
HUI612 K Návod k použití   Whirlpool HUI612 P User manual, 28 stránky
IPG 640 S (BK) Návod k použití       Whirlpool IPG 640 S (BK) User manual, 56 stránky
9YKIS 644 DD Z Návod k použití      Whirlpool 9YKIS 644 DD Z Ръководство за употреба, 56 stránky