Hello Petter!!
Thank you for answer to my question. I apologize for the writing of my code,
won't happen again. I added the lines you suggested me, and the script work
fine. Than you!! Here's the code corrected and indented.
from Tkinter import * #Llamo las librerias graficas de Tk
import tkSimple
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
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
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
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
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
What can I say except, thanks so much everyone for taking your time and
writing me an explication. I finally understood what function objects are.
Thanks, really thanks for helping me out. I wish everyone the best.
___
Tutor maillist - Tutor@python.org
Daniel,
Considering that Python is your first programming language, let's start
from the absolute beginning. Before you think about what a function object
is, try to understand what a function is. A function is a series of
python commands put together under a common heading or name in order
"Daniel" wrote
another problem regarding understanding a concept- function object.
As I
said, I do not understand what a function object is, what it does,
and what
can I do with it?
You are actually using them all the time.
Every function in Python is a function object.
You can execute the
On 8/25/2010 10:56 AM Emile van Sebille said...
>>> def test1(ii): print "my name is %s" % ii.func_name
...
Oops -- my bad editing s/b or once was:
def test1(ii): print "single ii is %s" % ii
___
Tutor maillist - Tutor@python.org
To unsubscribe
On 8/25/2010 9:56 AM Daniel said...
Hello again, seems like in my journey to learn Python I have stumbled into
another problem regarding understanding a concept- function object. As I
said, I do not understand what a function object is, what it does, and what
can I do with it? I'm currently readi
Hello again, seems like in my journey to learn Python I have stumbled into
another problem regarding understanding a concept- function object. As I
said, I do not understand what a function object is, what it does, and what
can I do with it? I'm currently reading Think python, but the book is not
c
12 matches
Mail list logo