apuntes:python
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apuntes:python [2019/05/12 20:04] – [Programación Orientada a Objetos] Santiago Faci | apuntes:python [2019/06/11 20:40] (current) – [GUI] Santiago Faci | ||
---|---|---|---|
Line 1019: | Line 1019: | ||
<code python> | <code python> | ||
- | import sqlite3 | ||
- | |||
- | conexion = sqlite3.connect(" | ||
- | cursor = conexion.cursor() | ||
- | |||
# Ejemplo que muestra como conectar y crear | # Ejemplo que muestra como conectar y crear | ||
# una Base de Datos SQLite | # una Base de Datos SQLite | ||
Line 1248: | Line 1243: | ||
def __crearVentana(self): | def __crearVentana(self): | ||
- | |||
self.__tfTexto = tk.Text(self, | self.__tfTexto = tk.Text(self, | ||
self.__tfTexto.grid() | self.__tfTexto.grid() |
apuntes/python.1557691480.txt.gz · Last modified: 2019/05/12 20:04 by Santiago Faci