我有两个数组:
...
File "/Users/Ryan/projects18/scoutingEnv/lib/python2.7/site-packages/openpyxl/reader/excel.py", line 175, in load_workbook
archive = _validate_archive(filename)
File "/Users/Ryan/projects18/scoutingEnv/lib/python2.7/site-packages/openpyxl/reader/excel.py", line 125, in _validate_archive
archive = ZipFile(f, 'r', ZIP_DEFLATED)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py", line 770, in __init__
self._RealGetContents()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py", line 811, in _RealGetContents
raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
如何使用$one = ['apple'];
$two = ['fruit' => 'apple'];
检查php
仅具有一个值(默认值为$one
),而另一个具有实际的key 0
({{1} })?
谢谢!