[Tutor] Application packaging

2011-09-05 Thread Carlos Daniel Ruvalcaba Valenzuela
Hello list, Lately I have been working on a windows desktop application for a client, using python and pyside, everything working fine, but I'm getting a bit stuck when trying to distribute the application to the client. Currently I'm using a combination of py2exe and clickonce, what are your exp

Re: [Tutor] 'function' object has no attribute 'writer'

2011-09-05 Thread Peter Otten
Susana Iraiis Delgado Rodriguez wrote: Susana, please use 4-space indents for your code samples. I've said it before, but I think it's worthwhile repeating because it makes it much easier to grasp the structure of a script at first sight. > But now I get a differente error, this script is going

Re: [Tutor] 'function' object has no attribute 'writer'

2011-09-05 Thread Susana Iraiis Delgado Rodriguez
Hello guys!!! Shame on me, you're rigth I missunderstood the function and the module. I change the name of my function and that part of my code worked. But now I get a differente error, this script is going to collect information from shapefiles, I asked the user where to start the search, the file

Re: [Tutor] 'function' object has no attribute 'writer'

2011-09-05 Thread Walter Prins
Hi Susana, On 5 September 2011 17:08, Susana Iraiis Delgado Rodriguez < susana.delgad...@utzmg.edu.mx> wrote: > File "win.py", line 43, in boton4 > writer = csv.writer(open(csv_name, 'w')) > AttributeError: 'function' object has no attribute 'writer' > I read a tutorial and csv has a writer

Re: [Tutor] 'function' object has no attribute 'writer'

2011-09-05 Thread James Reynolds
On Mon, Sep 5, 2011 at 12:08 PM, Susana Iraiis Delgado Rodriguez < susana.delgad...@utzmg.edu.mx> wrote: > I want to write a csv file, but I need the final user to give me some > values to open and update the file. My code is: > from Tkinter import * #Llamo las librerias graficas de Tk > import tk

[Tutor] 'function' object has no attribute 'writer'

2011-09-05 Thread Susana Iraiis Delgado Rodriguez
I want to write a csv file, but I need the final user to give me some values to open and update the file. My code is: from Tkinter import * #Llamo las librerias graficas de Tk import tkSimpleDialog #Libreria de almacenamiento de dialogos import tkMessageBox #Libreria de mensajes import tkFileDialog

Re: [Tutor] Getting values from different functions (def's)

2011-09-05 Thread Susana Iraiis Delgado Rodriguez
Hello Alan!! It is exactly what I need to complete my task :D Than you so much 2011/8/31 Alan Gauld > On 31/08/11 18:17, Susana Iraiis Delgado Rodriguez wrote: > >> Hello list !! >> I'm developing a Python GUI application. I alreday developed a very >> simple window with buttons, each button will