吴裕雄 PYTHON 人工智能——智能医疗系统后台智能分诊模块及系统健康养生公告简约版代码展示
摘要:#coding:utf-8 import sys import cx_Oracle import numpy as np import pandas as pd import tensorflow as tf def main(argv): conn=cx_Oracle.connect('doctor/admin@localhost:1521/tszr') cursor = ...
阅读全文
吴裕雄 python 人工智能——智能医疗系统后台用户复诊模块简约版代码展示
摘要:#复诊 import sys import os import time import operator import cx_Oracle import numpy as np import pandas as pd import tensorflow as tf uid = 6 sql = "select username,sex,age,province,area,bumen,ke,res...
阅读全文
吴裕雄 python oracle操作数据库(4)
摘要:import cx_Oracle conn = cx_Oracle.connect("scott/admin@localhost:1521/orcl")cursor = conn.cursor() sql = "insert into dept (deptno,dname,loc) values (
阅读全文
吴裕雄 python oracle子查询的用法(3)
摘要:import cx_Oracle conn = cx_Oracle.connect("scott/admin@localhost:1521/orcl")cursor = conn.cursor() sql = "select * from emp where deptno=(select deptn
阅读全文
吴裕雄 python oracle检索数据(2)
摘要:import cx_Oracle conn = cx_Oracle.connect("scott/admin@localhost:1521/orcl")cursor = conn.cursor() sql = "select ascii('Z'),ascii('H'),ascii('D'),asci
阅读全文
吴裕雄 python oracle检索数据(1)
摘要:import cx_Oracle conn = cx_Oracle.connect("scott/admin@localhost:1521/ORCL")cursor = conn.cursor() sql = "select * from emp"cursor.execute(sql)result
阅读全文
解决:python 连接Oracle 11g 报错:ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
摘要:其次,将查询到的service_name替换sid即可:conn=cx_Oracle.connect('hr/admin@localhost:1521/EE.oracle.docker')
阅读全文