Search Results

Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: starzstar
Forum: Python Apr 14th, 2009
Replies: 3
Views: 844
Posted By starzstar
Hey Thanks for the reply and yes I am able to run it using -listContents when I have my option parser as
c.add_option('-l','--listContents',help='To list all Contents use --listContents')

Is...
Forum: Python Apr 14th, 2009
Replies: 3
Views: 844
Posted By starzstar
Hi
I am using Option parser for creating a command line application .
I am able to parse command line options.
I have a command for listing the contents of a folder.
which goes like this
...
Forum: Python Feb 28th, 2009
Replies: 1
Views: 344
Posted By starzstar
Can some one please help me...?
Forum: Python Feb 28th, 2009
Replies: 1
Views: 344
Posted By starzstar
Hi,

I have the following structure of my project

Copyproject(main folder)
|
|_____src(folder)
| |
| |__Nertworkpackage
| | ...
Forum: Python Feb 28th, 2009
Replies: 1
Views: 767
Posted By starzstar
I am tryingto download a file from the server ,I dont know why i m getting the following error

localFile = open(localFileName, 'wb')
TypeError: coercing to Unicode: need string or buffer,...
Forum: Python Feb 26th, 2009
Replies: 2
Views: 422
Posted By starzstar
Thanks, that worked great.
Forum: Python Feb 26th, 2009
Replies: 2
Views: 422
Posted By starzstar
I have some strings like '/home/dir/file1/file2' , '/export/home/file1'
'/home/dir1/dir2/folder1/file'

I want to only to print the values that come...
Forum: Python Feb 25th, 2009
Replies: 4
Views: 382
Posted By starzstar
Thanks for the reply,

I am using Python 2.6 , the strings that you are putting in tuple like "John US 11",
... "Mary UK 12",
... "Mike US 14"
are not simple strings that are declared, I get...
Forum: Python Feb 25th, 2009
Replies: 4
Views: 382
Posted By starzstar
Hi


I want to print something like this to the standard o/p

I am currently doing
sys.stdout.writelines("%s %10s %10s\n"...
Forum: Python Feb 19th, 2009
Replies: 6
Views: 479
Posted By starzstar
Thanks a lot for pointing this out,let try and correct this
Forum: Python Feb 19th, 2009
Replies: 6
Views: 479
Posted By starzstar
OK here it is...


resource {'resource': ['{"metadata": {"type": "directory", "size": "8"}, "name": "home", "links": {"link": ["{\\"href\\": \\"https://myserver.com//users/userkey/values/home\\",...
Forum: Python Feb 19th, 2009
Replies: 6
Views: 479
Posted By starzstar
Thanks for looking into this that is not a complete dictionary I have just copied and pasted part of it, just wanted to get some idea how I wil do that
Do you want me post the complete dict.?
Forum: Python Feb 19th, 2009
Replies: 6
Views: 479
Posted By starzstar
Hi,

I have a nested dictionary like the following how do I loop through such dictionary ,Basically I am looking to get the value of key "name" from the following dictionary

Any help is...
Forum: Python Feb 7th, 2009
Replies: 4
Views: 345
Posted By starzstar
Are there any equivalent classes in python for the for the following
java classes
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import...
Forum: Python Feb 6th, 2009
Replies: 4
Views: 594
Posted By starzstar
Hi

I am using optparser to design a command line interface.How do I read multiple arguments.
For eg if I want to create a folder, I will take the arguments path and folder name something lilke...
Forum: Python Feb 6th, 2009
Replies: 2
Views: 286
Posted By starzstar
Thanks , I got it working, this is basically uploading data to a server using webDAV protocol
Forum: Python Feb 5th, 2009
Replies: 2
Views: 286
Posted By starzstar
Has any one tried using pyDAV a webDAV library for Python, I am getting a followind error whilw trying to list the contents of a collection
2009-02-05 17:38:58,092: DEBUG: REQUEST Send OPTIONS for...
Forum: Python Feb 1st, 2009
Replies: 1
Views: 297
Posted By starzstar
I am new to Python programming, I want to create a command line application that which can be used for backing up the data on a server and restoring it back when needed.
Please help me starting...
Forum: Python Jan 20th, 2009
Replies: 1
Solved: Tikinter issues
Views: 257
Posted By starzstar
Hi,
I am new to Python and have a requirement to develop a simple requirement to design a login screen, and then a screen which will have two parts in it one will show local files and other files...
Showing results 1 to 19 of 19

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC