Open QGB opened 5 years ago
F.md(U.gst+'dr/') 创建成功,应该返回 结尾/ 的全路径
dill_dump flask req
def dq(q):
rt=[]
rn={}
for n,k,v in U.dir(q):
try:
b=F.dill_dump(v)
print(n)
rt.append(k)
except BaseException as e:
print(n,k,e)
rn[k]=e
return rt,rn
===
(['__class__',
'__delattr__',
'__dir__',
'__doc__',
'__enter__',
'__eq__',
'__exit__',
'__format__',
'__ge__',
'__getattribute__',
'__gt__',
'__hash__',
'__init__',
'__init_subclass__',
'__le__',
'__lt__',
'__module__',
'__ne__',
'__new__',
'__reduce__',
'__reduce_ex__',
'__repr__',
'__setattr__',
'__sizeof__',
'__slotnames__',
'__str__',
'__subclasshook__',
'__weakref__',
'_cached_json',
'accept_charsets',
'accept_encodings',
'accept_languages',
'accept_mimetypes',
'access_route',
'application',
'args',
'authorization',
'base_url',
'blueprint',
'cache_control',
'charset',
'content_encoding',
'content_length',
'content_md5',
'content_type',
'cookies',
'data',
'date',
'dict_storage_class',
'disable_data_descriptor',
'encoding_errors',
'endpoint',
'files',
'form',
'form_data_parser_class',
'from_values',
'full_path',
'host',
'host_url',
'if_match',
'if_modified_since',
'if_none_match',
'if_range',
'if_unmodified_since',
'is_json',
'is_multiprocess',
'is_multithread',
'is_run_once',
'is_secure',
'is_xhr',
'json',
'json_module',
'list_storage_class',
'max_content_length',
'max_form_memory_size',
'max_forwards',
'method',
'mimetype',
'mimetype_params',
'parameter_storage_class',
'path',
'pragma',
'query_string',
'range',
'referrer',
'remote_addr',
'remote_user',
'routing_exception',
'scheme',
'script_root',
'shallow',
'stream',
'trusted_hosts',
'url',
'url_charset',
'url_root',
'url_rule',
'user_agent',
'values',
'view_args',
'want_form_data_parsed'],
{'__dict__': UnsupportedOperation('seek'),
'_get_data_for_json': UnsupportedOperation('seek'),
'_get_file_stream': UnsupportedOperation('seek'),
'_get_stream_for_parsing': UnsupportedOperation('seek'),
'_load_form_data': UnsupportedOperation('seek'),
'_parse_content_type': UnsupportedOperation('seek'),
'close': UnsupportedOperation('seek'),
'environ': UnsupportedOperation('seek'),
'get_data': UnsupportedOperation('seek'),
'get_json': UnsupportedOperation('seek'),
'headers': UnsupportedOperation('seek'),
'input_stream': UnsupportedOperation('seek'),
'make_form_data_parser': UnsupportedOperation('seek'),
'on_json_loading_failed': UnsupportedOperation('seek')})
F.read('G:\32')
FileNotFoundError Traceback (most recent call last)