FW: NEED SOLUTION FOR ERROR
Sent from Mail for Windows 10 From: hey Sent: Saturday, October 10, 2020 7:40 PM To: [email protected] Subject: NEED SOLUTION FOR ERROR I am Akshat Sharma one of python user from INDIA . I am facing problem in getting pip installed. When I am trying to install a module using PIP it showing me error : No such file found in directory . Then I tried to install pip doing so , I am getting another error : OSError [errno 9] Bad File Descriptor. Please guide me what should I do to overcome this type of error. THANK YOU Regards Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list
Re: Working with Access tables and python scripts
I don't know how to start a Python script from Access, but you could definitely
do it the other way around, reading the Access database from Python.
An example:
---
import pyodbc
ODBC_DRIVER = '{Microsoft Access Driver (*.mdb)}'
connstr = 'DRIVER={0};DBQ={1}'.format(ODBC_DRIVER, 'filename.mdb')
conn = pyodbc.connect(connstr)
cur = conn.cursor()
cur.execute('SELECT * FROM table')
---
--
https://mail.python.org/mailman/listinfo/python-list
