老师,请问双引号和单引号有什么使用区别啊
下面为什么报错?是用泛型接口子类向上转型进行的
老师,为什么我打开的和视频上打开的源码方法不一样啊
麻烦老师帮忙看看这个是什么问题,install的时候有一个不成功,
报错为这个
源码
parent.zip
老师,这个货币符号是什么回事?
package com.kenji.servlet; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Date; @WebServlet("/fmt.do") public class FormatServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { req.setAttribute("date",new Date()); req.setAttribute("balance",158); req.getRequestDispatcher("format.jsp").forward(req,resp); } }
老师我已经在pycharm力安装好greenlet模块了,但为什么是程序里还是不能调用啊
rm -rf hadoop-2.6.5/share/doc 是在apps目录下执行的,实际上不会删除任何东西
with open("b.txt","r",encoding= "utf-8")as f: a=f.readlines() #print(list(enumerate (lines))) a = [line.rstrip() + "#" + str(index)for index, line in enumerate(a)] with open("b.txt","w",encoding="utf-8")as f: f.writelines(a) D:\python\Python36\python.exe D:/test1/222222.py Traceback (most recent call last): File "D:/test1/222222.py", line 2, in <module> a=f.readlines() File "D:\python\Python36\lib\codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc9 in position 11: invalid continuation byte Process finished with exit code 1 老师你好请问这个为什么会报错啊
老师问一下为什么if num==10和num=9这里修改了过后输入100就不是E级了,不是太懂
老师,为啥这里重写paint()方法的时候,不需要@Override这个注解呢?
# pip install pywin32 from win32com.client import gencache from win32com.client import constants, gencache def createPdf(wordPath, pdfPath): """ word 转 pdf :param wordPath: word 文件路径 :param pdfPath: 生成 pdf 文件路径 """ word = gencache.EnsureDispatch('Word.Application') # 设置生成器打开应用word doc = word.Documents.Open(wordPath, ReadOnly=1) # 读取数据 # ExportAsFixedFormat导出指定格式 doc.ExportAsFixedFormat(pdfPath, constants.wdExportFormatPDF, Item=constants.wdExportDocumentWithMarkup, CreateBookmarks=constants.wdExportCreateHeadingBookmarks) word.Quit(constants.wdDoNotSaveChanges) # 关闭 if __name__ == "__main__": # 路径填写绝对路径 createPdf('F:/baizhan/办公自动化/base_data/word_模板.docx','F:/baizhan/办公自动化/creat_data/21_word2pdf.pdf')
老师,这个老是无效的类字符串,试过重装office也不行
老师,是主线程死亡,子线程就一定也跟着死亡了,但是主线程死亡,子线程在阻塞的状态,子线程就没死,是这样吗
请问我都添加了驱动了,也显示了,但是就是lib下没有mysql驱动
在实际工作中应该是一个小组开发一个模块吧?不然这么多模块一个人开发 谁受得了
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637