write a lamba function as
lambda x: x.upper()
2010/6/7 Craig Berry cdbe...@gmail.com:
I'm a Java guy, so I'm asking for something that's probably pitifully
simple, but I can't find it.
I need to write a bulk upload import transformer that takes a
particular field from my source data and converts it to uppercase
before storing it in the datastore. I can find how to convert a python
string to uppercase by calling a method on it, but not how to do it as
a one-arg transformer function. Any help is appreciated.
--
Craig Berry - http://lapidum.org/home.html
Magicians lie to the universe, and the
universe believes them. -- Lenore Berry
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.