[Tutor] Help : File formatting
Alan Gauld
alan.gauld at btinternet.com
Thu Aug 23 09:40:16 CEST 2012
On 23/08/12 07:12, rahool shelke wrote:
> I want to take the list of files present in packages. On AIX we get the
> files list present in packges using command "lslpp -f <pkgname>".
Can you provide a short example of the output format from lslpp?
> Now i want to format output of above command such that only list of
> files with absolute paths to be taken out and put into separate
> list/dictionary.
Can you define precise rules for determining an absolute path?
> I am considering here the remote connectivity of hosts.
I'm not sure what you mean by that, can you elaborate?
What are you considering? How to connect to them?
How to specify them in the filenames?
> Will you please guide me to get the solution for this ?
The easiest way is for you to try what you think should work and post it
along with what happened and your questions. That tells us your coding
level and expectations. Please include the python version and the full
text of any error messages not just a summary.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list