腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(9999+)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
使libmagic/
file
检测.
docx
文件
如其他地方所见、
docx
、xlsx和pttx都是ZIPs。当将它们上传到我的web应用程序时,
file
(通过libmagic和python-magic)检测到它们是ZIP。因此,我希望在下载过程中信任
file
并自动生成文件名。 我知道可以修改/etc/magic,但是格式(magic(5))对我来说太复杂了。最后,我找到了
docx
等的幻数列表,但是我无法将这些转换成magic(5)格式。
浏览 0
修改于2017-04-13
得票数 19
1
回答
如何用PHP打开/解密受密码保护的word-
file
(
docx
)
我正试图以编程方式使用PHP打开一个word-
file
(.
docx
)。这个字文件是用密码保护和加密的,所以如果不提供密码,就不能显示它的内容。我当然知道密码。
浏览 0
修改于2018-07-25
得票数 2
1
回答
“无法打开
file
.
docx
,因为内容有问题。”位置部分:/word/document.xml
一些用户经常遇到文档损坏的问题。许多用户遇到文档损坏问题,并出现以下错误。==>“无法打开文件xxx,因为”内容有问题“详细信息:没有可用的错误详细信息。位置部分: /word/document.xml行:1列0 在格式化本文档的document.xml文件后,我发现错误指向行=> <wp:docPr id="1026“
浏览 8
提问于2012-09-26
得票数 3
1
回答
我正在使用
docx
库,当我使用
docx
.document('path/
file
.
docx
')时,它给出错误:模块'
docx
‘没有'Document’属性。
我正在使用
docx
库来阅读word文档:doc =
docx
.Document('C:/Users/gourabd838/Downloads/Initial Report withScoring/INVESTIGATION REPORT.
docx
') 它给出了以下错误:“模块'
docx
‘没有属性'Document'”我不知道原因,也没有得到任何解决办法。
浏览 2
提问于2021-04-02
得票数 0
1
回答
flutter upload doc,
docx
file
to api laravel
我感到厌烦的是,我使用
file
_picker选择select,然后返回如下代码。 var tempFile = await FilePicker.getFile(type: FileType.custom, allowedExtensions: ['doc', '
docx
'experience' => 'required|max:255', 'cv'
浏览 2
提问于2020-07-05
得票数 1
1
回答
如何将递归命名应用于拆分文档(例如,DreamFile01.
docx
、Dream_
File
02.
docx
等)
需要做什么修改,才能让每个拆分的文档递归命名为Dream_
File
01.
docx
、Dream_
File
02.
docx
、Dream_
File
03.
docx
、Dream_
File
04.
docx
、Dream_
File
05.
docx
、Dream_
File
06.
docx
等。= "ID #:\s+(\d+)" $fileNamePattern = "Student
浏览 11
修改于2019-02-24
得票数 0
回答已采纳
1
回答
如何使用react-native-
file
-viewer打开.
docx
文件或.xls?
我想知道如何在android.I中使用react原生文件查看器打开.
docx
文件或.xls文件。我正在使用RNFetchblob下载
file
.PDF和图像文件。我正在尝试使用react原生文件查看器打开.
docx
文件或.xls文件。我收到错误,如找不到打开此mime类型的应用程序
浏览 134
提问于2020-01-17
得票数 2
1
回答
路径(__
file
__).parent/ "worddoc.
docx
“不工作
接下来,这里是我的木星笔记本返回‘无效语法’的地方: document_path =document_path/ "Python_template_BvW.
docx
“ 我得到的是,我将文本document_path但是我得到:
File
"",第1行document_path=Path(C:\Users*pathing*\Data_Entry_for_Word\Python_template_BvW.
docx
).parent / "Python_template_BvW.
d
浏览 14
提问于2022-09-06
得票数 0
1
回答
如何从子文件夹中检索文件名
我有以下文件夹结构: root│
file
002.
docx
└───folder1 │
file
004.
docx
└───subfolder1 │
file
006.
docx
|____s
浏览 26
提问于2021-11-21
得票数 0
回答已采纳
2
回答
如何使用shell将两个或多个
docx
文件合并到一个
docx
文件中
我遇到了一个场景,我必须从命令行将两个或多个
docx
文件合并到一个
docx
文件中。我试着使用基本命令但它并没有起作用。上面的命令只是将最后一个文件
file
3.
docx
复制到final_
file
.
docx
中。我需要帮助来解决这个问题
浏览 24
修改于2017-07-22
得票数 0
1
回答
为什么
Docx
4j不从
docx
文件中删除内容控件?
我正在尝试使用
DOcx
4J合并XML和
docx
。但是,即使我使用标志
Docx
4J.FLAG_BIND_REMOVE_SDT,
Docx
4J也不会从
docx
文件中删除内容控件。我正在使用下面的代码。WordprocessingMLPackage wordprocessingMLPackage =
Docx
4J.load(new
File
(
docx
_template_location)); FileInputStreamxmlStream = new Fil
浏览 0
修改于2016-01-13
得票数 0
回答已采纳
3
回答
在Linux中删除文件名中的某些字符
我在一个目录中有一些文件,如
FILE
2.
docx
.txt
FILE
4.
docx
.txt我想从所有这些输出中删除.
docx
,以生成最后的输出,如
FILE
2.txt
FILE
4.txt
FI
浏览 2
提问于2020-05-06
得票数 0
回答已采纳
1
回答
从R闪亮应用程序下载现有
docx
对象
=
file
) gen_
docx
2 <- function(
file
, doc) { body_add_par("Hello
file
_
docx
<- tempfile(fileext = ".
docx
")
浏览 2
提问于2019-11-24
得票数 2
1
回答
docx
.Document PackageNotFoundError
import
docx
;doc =
docx
.Document('test_
file
.
docx
') 2 from django.utils.encoding import smart_text; ----> 3 doc =
docx
.Document('test_
file
.
docx
')C:\Prog
浏览 6
修改于2017-05-12
得票数 0
1
回答
在python中定义变量
我想知道如何在这两个函数中定义一个变量:在这里,我所写的是,
docx
_
file
给了我在转换函数中没有定义的错误。def convert(): pdf = fileEntry.get() cv.convert(
docx
_
file
, start=0, end=None) if
docx
_
file
is None:
浏览 5
修改于2022-09-27
得票数 -1
1
回答
创建lxml元素子类时遇到困难
from lxml import etree import
docx
from
docx
import
docx
self.body = self.append(
docx
.makeelement('body')) relationships =
docx
.relationshiplist() titl
浏览 0
提问于2013-09-30
得票数 0
2
回答
preg_match_all只返回第一次匹配
text<a class="
file
_download
file
_ext_
docx
" href="/download.php?f=/BP3/Referenties.
docx
">Download
file
2.
docx
</a> </strong><br /><strong>- Some text: <a class="
浏览 1
提问于2014-10-30
得票数 0
回答已采纳
9
回答
docx
.opc.exceptions.PackageNotFoundError:未在
无法按路径打开doxc文件(包未在.处找到)from
docx
import Document path = 'TestDir/dir2/doc22.
docx
' doc = Document(path) Traceback (most recent call last):
File
current_doc = Document(
浏览 35
提问于2017-11-09
得票数 8
2
回答
安装python-
docx
时遇到问题
>>> import
docx
from
docx
.package import
浏览 0
提问于2020-02-12
得票数 0
1
回答
Java 8 lambda表达式:将满足给定谓词的所有项按顺序分组。分组应以谓词为键,项为值
// inputPredicate<
File
> nameP =satisfy the filter criteria /
浏览 2
修改于2015-03-27
得票数 1
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券