This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| def test(): | |
| result = [] | |
| with open("去掉停用词后的回答集合.csv", mode="r", encoding="utf-8-sig") as file: | |
| reader = csv.reader(file) | |
| for row in reader: | |
| filtered_row = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [email protected] | |
| [email protected] | |
| [email protected] | |
| [email protected] | |
| [email protected] | |
| [email protected] | |
| [email protected] | |
| [email protected] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -f gdigrab -offset_x 1920 -offset_y 0 -video_size 1680*1050 -i desktop capture.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 100% — FF | |
| 99% — FC | |
| 98% — FA | |
| 97% — F7 | |
| 96% — F5 | |
| 95% — F2 | |
| 94% — F0 | |
| 93% — ED | |
| 92% — EB | |
| 91% — E8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <vector> | |
| #include <memory> | |
| #include "boost/shared_ptr.hpp" | |
| #include "boost/python.hpp" | |
| #include "boost/python/stl_iterator.hpp" | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Compile with: | |
| // clang++ -std=c++11 -shared -l boost_python3 -I /usr/include/python3.2mu -fPIC -o bptuple.so tuple-test.cpp | |
| #include <tuple> | |
| #include <string> | |
| #include <boost/python.hpp> | |
| namespace py = boost::python; | |
| using std::string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configure: loading site script /opt/fel/1.1.7/site-config-cortexa9hf-neon-fel-linux-gnueabi | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether build environment is sane... yes | |
| checking for --prefix=/opt/janus2-strip... arm-fel-linux-gnueabi-strip | |
| checking for a thread-safe mkdir -p... /bin/mkdir -p | |
| checking for gawk... gawk | |
| checking whether make sets $(MAKE)... yes | |
| checking whether make supports nested variables... yes | |
| checking whether make supports nested variables... (cached) yes | |
| checking for style of include used by make... GNU |
Sample setup.py:
from setuptools import setup, find_packages
setup(
name='project',NewerOlder