Show More
@@ -47,6 +47,10 b' class LocalFile(object):' | |||||
47 |
|
47 | |||
48 | local_file = LocalFile("my/data.txt") |
|
48 | local_file = LocalFile("my/data.txt") | |
49 | display(local_file) |
|
49 | display(local_file) | |
|
50 | ||||
|
51 | or in the HTML notebook, just | |||
|
52 | ||||
|
53 | LocalFile("my/data.txt") | |||
50 | """ |
|
54 | """ | |
51 |
|
55 | |||
52 | def __init__(self, |
|
56 | def __init__(self, | |
@@ -101,6 +105,11 b' class LocalFiles(LocalFile):' | |||||
101 |
|
105 | |||
102 | local_files = LocalFiles("my/data") |
|
106 | local_files = LocalFiles("my/data") | |
103 | display(local_files) |
|
107 | display(local_files) | |
|
108 | ||||
|
109 | or in the HTML notebook, just | |||
|
110 | ||||
|
111 | LocalFiles("my/data") | |||
|
112 | ||||
104 | """ |
|
113 | """ | |
105 | def __init__(self, |
|
114 | def __init__(self, | |
106 | path, |
|
115 | path, |
General Comments 0
You need to be logged in to leave comments.
Login now