Bob Sysero llc Dev wrote:
>
> You were right I when I started to look inside the cnx file created by
> the CnxEditor I also started to realized that two thing happened. First
> CnxEditor did not fill in the file connection name <name></name> and the
> <database>../syseroAppEngine.sqlite</database> didn't work so I added
> the path <database>$HOME/syseroProject/syseroAppEngine.sqlite</database>.
> I remeber in the early summer the SQLite was creating a problem because
> it is a single local database.
I would be surprised if environment variable substitution would be done
within Dabo code. It's a shell level mechanism.
Try yourself:
u...@athlon28:~/tmp> ls > l.txt
u...@athlon28:~/tmp> python
Python 2.5.2 (r252:60911, Dec 1 2008, 17:47:46)
[GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> fd = open("$HOME/tmp/l.txt", "r")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 2] No such file or directory: '$HOME/tmp/l.txt'
>>>
Uwe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]