Hi, I created an executable version of my application succesfully. It is just a basic database related app. So it has a database and an icon file in the same directory called "data". When I try to add an entry to my database using the .exe file, it gives an error such as "unable to open database file". But there is no problem with the icon.
Could anyone help me? Thanks. Here is my setup.py: from distutils.core import setup import py2exe from glob import glob data_files = [("Microsoft.VC90.CRT", glob(r'c:\dev\ms-vc-runtime\*.*')),("data", glob('Veriler\*'))] options = { 'py2exe': { 'dll_excludes': [ 'MSVCP90.dll' ] } } setup(windows=[{"script": "Nokta Ekleme.pyw","icon_resources": [(1, "Veriler\Alarko.ico")]}], options=options, data_files=data_files)
-- http://mail.python.org/mailman/listinfo/python-list