(This message has been automatically imported from the retired mailing list)
hello,
The question is in the title. How can I access a file from a service ?
How do I reference it ?
Thanks
Erol
(This message has been automatically imported from the retired mailing list)
hello,
The question is in the title. How can I access a file from a service ?
How do I reference it ?
Thanks
Erol
On 04/18/2014 04:42 PM, amaury wrote:
The question is in the title. How can I access a file from a service ?
How do I reference it ?
Do you mean opening a file from a local file system?
You just need to open it, like so:
def handle(self):
csv = open(’/path/to/file.csv’).read()
On 04/18/2014 04:42 PM, amaury wrote:
The question is in the title. How can I access a file from a service ?
How do I reference it ?
Do you mean opening a file from a local file system?
You just need to open it, like so:
def handle(self):
csv = open(’/path/to/file.csv’).read()