seonon / knockdown Goto Github PK
View Code? Open in Web Editor NEW答题小程序 - 自定义题库
答题小程序 - 自定义题库
hi, as i have tested to have a transfer txt2js, but there is problem isseued:
-bash-4.2# python parse.py 7300.txt res.js
Traceback (most recent call last):
File "parse.py", line 74, in
main(args.rawfile, args.output, args.answer_sheet)
File "parse.py", line 24, in main
for line in f:
File "/usr/lib64/python2.7/codecs.py", line 296, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte
my txt construction as follow:
1.下列不属于补充运行的是 A.使用最大起飞全重超过5700千克的多发飞机实施的定期载客运输飞行 B.使用最大商载超过3400千克的多发飞机实施的全货物运输飞行 C.使用旅客座位数超过30座或者最大商载超过3400千克的多发飞机实施的不定期载客运输飞行 A
您好,我想利用您的正则代码parse.py来建立题库,但是现在只能处理单选答案,我想修改成能够处理多选答案,是在这里进行修改吗?questionreobj_withanswer = re.compile('\s*(\d+)[.,,。\s]+(.+?)(?:<picture\ssrc=['"]?(.+?)['"]?\s>)?\s*(A[.,,。\s]+.+)(?=[A-Z])([A-Z])\s*$')
我可以直接拿你的这个代码部署一套小程序吗
哥,你这个小程序咋弄啊,能交有一下吗,留个联系方式..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.