FAQ
:

On Sat, Oct 05, 2013 at 05:40:23PM +0300, ????? ??????????? wrote:
When i print CookieID i was under the impression i would see a
random number like '5369' but instead it display the follwong.

Set-Cookie: ID="Set-Cookie: IDS69"
On Sat, Oct 05, 2013 at 05:47:54PM +0300, ????? ??????????? wrote:
When i print CookieID i was under the impression i would see a
random number like '5369' but instead it display the follwong.

Set-Cookie: ID="Set-Cookie: IDS69"

Please don't give identical or near-identical replies to multiple
messages in the thread; other members of the list are either reading all
of your posts or none of them, so repeating yourself like this is only
going to irritate whoever is reading.


Since printing cookieID doesn't produce the output you expect, the
obvious next step is to look up the documentation for whatever kind of
object it is. You can find out its type with


     type(cookieID)


... and then once you know that type (let's say for the sake of argument
it's a Biscuit object), find out about that type of object's attributes
either by googling for the docs or at the interpreter with


     help(Biscuit)


As previously mentioned, there's likely to be some kind of 'value'
attribute that will return just the number you want.


  -[]z.


--
Zero Piraeus: post scriptum
http://etiol.net/pubkey.asc

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 14 of 33 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedOct 5, '13 at 1:38p
activeOct 7, '13 at 2:16a
posts33
users10
websitepython.org

People

Translate

site design / logo © 2022 Grokbase