saqib.ali...@gmail.com writes:
> Thanks!! This was very helpful. It worked perfectly.
> I had no clue about the intricacies of how python represents the group data
> from the underlying OS.
>
> This page doesn't go into to detailed explanation like you did:
> http://docs.python.org/2/library/grp
On Thu, Dec 20, 2012 at 12:23 PM, wrote:
>
> Thanks!! This was very helpful. It worked perfectly.
> I had no clue about the intricacies of how python represents the group data
> from the underlying OS.
>
> This page doesn't go into to detailed explanation like you did:
> http://docs.python.org/
Thanks!! This was very helpful. It worked perfectly.
I had no clue about the intricacies of how python represents the group data
from the underlying OS.
This page doesn't go into to detailed explanation like you did:
http://docs.python.org/2/library/grp.html
On Wednesday, December 19, 2012 6
On 19/12/12 22:40:00, saqib.ali...@gmail.com wrote:
>
>
> I'm using python 2.6.4 on Solaris 5-10.
>
> I have a file named "myFile". It is owned by someone else, by
> I ("myuser") am in the file's group ("mygrp"). Below is my python
> code. Why does it tell me that mygrp has no members???
>
>
>
I'm using python 2.6.4 on Solaris 5-10.
I have a file named "myFile". It is owned by someone else, by I ("myuser") am
in the file's group ("mygrp"). Below is my python code. Why does it tell me
that mygrp has no members???
>>> import os, pwd, grp
>>> stat_info = os.stat("myFile")
>>> fileUID