Re: Read a file with open command

2006-08-11 Thread jean-jeanot
Sorry, I regret my reaction. Jean-jeanot AlbaClause a écrit : > jean-jeanot wrote: > > > Dear Sybrel, > > > > I am delighted to know that you have been enlighted through my > > question. > > I am aware of my stupidity and I would say of my ignorance.If all

Re: Read a file with open command

2006-08-11 Thread jean-jeanot
06, Python in a nutshell by Martelli, etc,etc) Anyway thank you for your answer. jean-Jeanot Sybren Stuvel a écrit : > jean-jeanot enlightened us with: > > I can access to a file with the command: > > file_obj = open ( " D:\My documents\Textfile.txt",'r') &g

Re: Read a file with open command

2006-08-11 Thread jean-jeanot
file_obj= open ("D:/Mes documents/ADB Anna.ods",'r') >>> s = file_obj >>> s.readlines() Jean-Jeanot Jan Svec a écrit : > Hi, > simply use file_obj = open ("D:\My documents\File.ods",'rb') for > opening file in binary access mode,

Read a file with open command

2006-08-11 Thread jean-jeanot
I can access to a file with the command: file_obj = open ( " D:\My documents\Textfile.txt",'r') When I now try to read a file with the following command: file_obj = open ("D:\My documents\File.ods",'r') it doesn't function. The extension ods is

Re: sum fonction in gadfly

2006-06-25 Thread jean-jeanot
ly well. It could be useful for me to change of DB ? Which one ? Postgresql or another ? Jean Moser Scott David Daniels a écrit : > jean-jeanot wrote: > > After creating the table I create the variables with > > varAmount = StringVar() > Maybe you want to use DoubleVar or IntV

sum fonction in gadfly

2006-06-24 Thread jean-jeanot
I am writing a prototype program whose aim is to collect bookkeeping transactions in a Database ( Gadfly). After creating the table I create the variables with varAmount = StringVar() I then create labels in Tkinter to ease the input of data. With a function def treatment (): requete = "insert