【问题标题】:Connecting to Oracle DB using Bottle in Python在 Python 中使用 Bottle 连接到 Oracle DB
【发布时间】:2018-01-23 14:12:41
【问题描述】:

亲爱的, 我正在使用 Python 中的 Bottle 库制作简单的网页。当我想连接到 Oracle DB 并从表中提取数据以进行可视化时,我开始苦苦挣扎。我看到 Bottle 只有 Sqlite.db 连接。是否可以通过集成的 Bottle 库功能连接到 Oracle db?或者每次按下网页链接从数据库中获取数据时我应该调用 cx_Oracle 吗?

【问题讨论】:

    标签: oracle python-3.x connection bottle cx-oracle


    【解决方案1】:

    这可能对你有用吗? https://github.com/bormotov/bottle-oracle。我自己没有使用过它,但其中的代码很简单,如果需要,您可以自己开发!无论如何,希望对您有所帮助。

    【讨论】:

      猜你喜欢
      • 2019-12-26
      • 2020-04-08
      • 2019-03-27
      • 1970-01-01
      • 2021-07-15
      • 1970-01-01
      • 2016-06-23
      • 2023-04-04
      • 1970-01-01
      相关资源
      最近更新 更多