Hello,
I am working on providing a SSO solution to a customer who acts as an
identity provider. He already has IDP on his side to generate SAML 2
assertions with user first name , last name and time stamp as parameters.
Our task is to accept this assertion which is signed, decrypt it and send it
Simple solution: us result=yourString.split(" ") and you get a list with
all the words.
-Original Message-
From: python-list-bounces+rbqg84=motorola@python.org
[mailto:python-list-bounces+rbqg84=motorola@python.org] On Behalf Of
ibpe...@gmail.com
Sent: Tuesday, December 30, 2008 3
- Putty window opens up as well. But obviously I am unable to run
any commands in that. I need to find something like a handle to that
Putty window so that I can execute commands there.
Can anyone provide me some help in achieving this ?
Thanks,
--
Raghu
--
http://mail.python.org/mailman
can any one explain about pickle i read in the book but they have not
provided any example for that so please explain with a simple example
--
http://mail.python.org/mailman/listinfo/python-list
i want to know the difference between 'r' mode and 'r+' mode
1.i = open('c:\python25\integer.txt','w')>for writiing
i.write('hai')->written some content in text file
i = open('c:\python25\integer.txt','r')>for reading
print i.read()>for printing the contents in that te
what is standard streams in case of python?
--
http://mail.python.org/mailman/listinfo/python-list
its working for me i think its better to mention the value of i and j
for both lists or you might have done mistake while formatting strings
it should be %s for strings and %d for numbers if any subelement in
lists does not formatted properly it may lead to error
--
http://mail.python.org/mailma
can any one help me explaining for loop and its execution and its
syntax with a simple example.
--
http://mail.python.org/mailman/listinfo/python-list
Diez,
I did look into gc, specifically gc.get_referrers(), but it seemed to
give me something that I cant decipher.
I added the following line.
print "referrers ",gc.get_referrers(x0)
This is what I got.
referrers [{'__builtins__': ,
'__file__': './tst1.py', 'pdb': , 'sys':
, 'y': 24012, 'gc'
Hi All,
The sys.getrefcount() is very useful to get the number of references on
a particular object.
Is there any companion function to get "who" the referrers are ?
for e.g.
global x
global y
global z
x0=24012
y=x0
z=x0
print "ref count ",sys.getrefcount(x0)
This prints a ref count of 5.
Hmm...
I tried the gc.collect(). It aint helping. The reference count still
keeps growing till 5 after it which it drops. As you said, it is not
gonna hurt right away.
The only downside in that mysterious up and down thingie is that , we
could get to a wrong conclusion about a leak, if we ran the
Heiko,
Thanks for the explanation. I understood the idea of 1 being interned.
Also I understood the globals vars having a reference in the internal
dict.
I ran the "leaky" version of the program and yes...it showed a
progressively increasing totalrefcount as below.
Before 0 : 16579
After 0 : 1658
Hi All,
I am a new user of Python and am having a bit of problem understanding
the Reference counting and memory leakage issues.
Requesting help from experienced users
I wrote the following simple program.
#!/usr/bin/python
import sys
global a
print "Total Reference count at the start ="
the way, won't it be easy to use cookies to shared data between these
two applications?
Raghu
--
http://mail.python.org/mailman/listinfo/python-list
14 matches
Mail list logo