This is a Python specific question as opposed to a Django one, so I'd
recommend that similar questions be asked elsewhere.
Regarding your problem: the quickest way to do what you want is probably:
s[s.index(':')+2:-2]
That'll return the hex string.
On Friday, 21 June 2013 11:29:02 UTC+1, Hélio Miranda wrote:
>
> Hi
> I do not know how to spit ()
> Having this string [<GridFSProxy: 51c428958774a70f68f69c0c>], how can I
> get just the number?
>
> Someone can help me?
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.