Codeskulptor. Open File. Urllib2


#1

Hi, I see in documentation codeskulptor only example with files already in codeskulptor fold.
as
a_file = urllib2.urlopen(codeskulptor.file2url('assets-Quick_fox.txt'))
print a_file.read()

I would like to create a text and read it with codeskulptor.
How can I do ?
Thanks for answer


#2

Hi there!

I'm not familiar with Codeskulptor at all, but maybe we can help you anyway.

When you say "I would like to create a text and read it with codeskulptor." do you mean that you would like to manually create a new file for CS to read? Or do you mean that you want CS to create a new file and to read it as well?