OSv:

>>> import os
>>> os.makedirs("/tmp/lambda_11111")
>>> os.mkdir("/tmp/lambda_11111/out_0/")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 
'/tmp/lambda_11111/out_0/'
>>> os.mkdir("/tmp/lambda_11111/out_0") 
>>> 

On the host:
>>> import os
>>> os.makedirs("/tmp/lambda_11111")
>>> os.mkdir("/tmp/lambda_11111/out_0/")
>>> 

Why I can't put the / in the path? I'm using the same python 
Python 3.6.8 (default, Oct  7 2019, 12:59:55) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from Ubuntu 18.04 LTS. 

Best,
Zhiting

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/9e4cc89f-ea89-46a6-9025-18ee23b91456%40googlegroups.com.

Reply via email to