'mbcs' codec经常出现问题 10C

为什么用pandas 载入csv文件时总会有'mbcs' codec can't encode characters in position 0--1: invalid character
而且不是因为语言的问题# -*- coding: utf-8 -*-,
并且有的时候,同样的文件一天以后就又能读取了
pdData = pd.read_csv(r"‪C:\Users\toshiba\Desktop\LogiReg_data.txt" , names=['Exam1','Exam2','Exam3'])
Traceback (most recent call last):

File "", line 1, in
pdData = pd.read_csv(r"‪C:\Users\toshiba\Desktop\LogiReg_data.txt" , names=['Exam1','Exam2','Exam3'])

File "C:\Users\toshiba\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 562, in parser_f
return _read(filepath_or_buffer, kwds)

File "C:\Users\toshiba\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 315, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)

File "C:\Users\toshiba\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 645, in init
self._make_engine(self.engine)

File "C:\Users\toshiba\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 799, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)

File "C:\Users\toshiba\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 1213, in init
self._reader = _parser.TextReader(src, **kwds)

File "pandas\parser.pyx", line 358, in pandas.parser.TextReader.__cinit__ (pandas\parser.c:3427)

File "pandas\parser.pyx", line 609, in pandas.parser.TextReader._setup_parser_source (pandas\parser.c:6630)

UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid character

wang_ningning
灵跃115 我也是,可是我第一次运行成功了,再运行就不行了,不知楼主解决了没有
8 个月之前 回复
wanglele1
王乐乐0727 回复qq_33761777: 我经常不能读取,你最后解决没?
8 个月之前 回复
qq_33761777
qq_33761777 楼主您好,我遇到了跟您一模一样的问题,不知道您的问题解决了没有,怎么解决的
11 个月之前 回复

3个回答

文件中有不能识别的字符,用记事本打开,然后另存为,编码下拉框选择ansi看看

我也是,经常电脑会出现这样的情况,我的anacnoda的版本是3.7

我也有这个问题,而且我发现读取数据的那行代码,光标是进不去那个路径的,我把那行代码删了,一个一个字母手打一遍就可以运行了

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
python编码问题UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 0: invalid start byte。

python编码问题UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 0: invalid start byte。在写程序的时候,提示utf8编码问题,然后各种尝试都解决不了,代码不长也就不到10行,在朋友电脑上运行可以运行没问题,可能是我电脑编码问题,但是改编码之后,各种尝试都不行,恳请大佬帮忙解决。 ``` from flask import Flask # 实例化flask app = Flask(__name__) # 注册路由 @app.route("/") def index(): return "Hell" if __name__ == '__main__': # 启动flask app.run(debug = True,host="0.0.0.0",port=80)![图片说明](https://img-ask.csdn.net/upload/202001/02/1577975401_521380.png ``` 已经解决了,经过一番折腾最终发现是因为计算机名称是中文导致的问题,改过之后就好了

关于'utf-8' codec can't encode characters..

import re import urllib.request import http.cookiejar import gzip from io import StringIO from bs4 import BeautifulSoup vid = '1472528692' comid = '6345478485121181104' url = 'https://coral.qq.com/article/'+vid+'/comment?commentid='+comid+'&reqnum=20' headers = {'accept':'*/*', 'accept-language':'zh-CN,zh;q=0.8', 'user-agent':'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.104 Safari/537.36 Core/1.53.4033.400 QQBrowser/9.6.12624.400', 'connection':'keep-alive','referer':'qq.com'} cjar = http.cookiejar.CookieJar() opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cjar)) headall = [] for key,value in headers.items(): item = (key,value) headall.append(item) opener.addheaders = headall urllib.request.install_opener(opener) def craw(vid,comid): url = 'https://coral.qq.com/article/'+vid+'/comment?commentid='+comid+'&reqnum=20' doc = urllib.request.urlopen(url).read().decode('utf-8') return doc idpat = '"id":"(.*?)"' usepat = '"nick":"(.*?)",' conpat = '"content":"(.*?)",' for i in range(1,10): print('--------------------------------------------') print("第"+str(i)+"页评论内容") data = craw(vid,comid) idlist = re.compile(idpat, re.S).findall(data) userlist = re.compile(usepat, re.S).findall(data) conlist = re.compile(conpat, re.S).findall(data) for j in range(0,20): print("用户名是:"+eval('u"'+userlist[j]+'"')) print("内容是:"+eval('u"'+conlist[j]+'"')) print("\n") comid = idlist[19] 我想爬取用户名和评论,但是代码运行之后出现: 'utf-8' codec can't encode characters in position 4-5: surrogates not allowed 请问各位是什么问题吗? 本来这一个是gzip解码,但是我找不到解决解码gzip的方法,看到网上说直接删掉accept encoding那一段就可以了,但是删完之后就出现上面的问题。 求各位大神,已经解决几天这个问题了,新手实在头疼。 感谢!!!

UnicodeEncodeError: 'ascii' codec can't encode

在linux服务器中执行python3脚本,代码中已经设置了编码格式为utf8,不知道为什么还是出错,一直报这个错误是需要改其他的设置吗 UnicodeEncodeError: 'ascii' codec can't encode characters in position 57-60: ordinal not in range(128)

python3 报错UnicodeEncodeError

UnicodeEncodeError: 'utf-8' codec can't encode character '\udcd5' in position 42337: surrogates not allowed 在代码开头添加# coding:utf-8与不添加都报同样的错

Django项目启动不了,编码方式不对

用django-admin新建了一个空项目,运行报错: UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid character 网上查到的都是ascii不是mbcs。。我的Python的默认编码是utf-8,查了一下mbcs是python文件系统的编码,请问这种问题该怎么解决。。 P.S.环境:Python版本是3.5.1,Django版本是1.9.5.Windows操作系统

windows下CUDA6.5+VS2013,编译存在的问题

我测试了cuda是成功安装了的,但是编译的时候出现如下问题,搜索不到解决方案,求大神解答: ![图片说明](https://img-ask.csdn.net/upload/201703/18/1489833619_587222.png)

VS2010的MFC程序编译Release版本出现如下问题,请问应该怎么解决呢?

1>DlgTotalProtein.obj : error LNK2005: "protected: static struct CRuntimeClass * __stdcall CDlgTotalProtein::_GetBaseClass(void)" (?_GetBaseClass@CDlgTotalProtein@@KGPAUCRuntimeClass@@XZ) 已经在 DlgTotalProtein.obj 中定义 1>DlgTotalProtein.obj : error LNK2005: "public: static struct CRuntimeClass * __stdcall CDlgTotalProtein::GetThisClass(void)" (?GetThisClass@CDlgTotalProtein@@SGPAUCRuntimeClass@@XZ) 已经在 DlgTotalProtein.obj 中定义 1>DlgTotalProtein.obj : error LNK2005: "public: virtual struct CRuntimeClass * __thiscall CDlgTotalProtein::GetRuntimeClass(void)const " (?GetRuntimeClass@CDlgTotalProtein@@UBEPAUCRuntimeClass@@XZ) 已经在 DlgTotalProtein.obj 中定义 1>DlgTotalProtein.obj : error LNK2005: "public: __thiscall CDlgTotalProtein::CDlgTotalProtein(class CWnd *)" (??0CDlgTotalProtein@@QAE@PAVCWnd@@@Z) 已经在 DlgTotalProtein.obj 中定义 1>DlgTotalProtein.obj : error LNK2005: "public: virtual __thiscall CDlgTotalProtein::~CDlgTotalProtein(void)" (??1CDlgTotalProtein@@UAE@XZ) 已经在 DlgTotalProtein.obj 中定义 1>DlgTotalProtein.obj : error LNK2005: "protected: virtual void __thiscall CDlgTotalProtein::DoDataExchange(class CDataExchange *)" (?DoDataExchange@CDlgTotalProtein@@MAEXPAVCDataExchange@@@Z) 已经在 DlgTotalProtein.obj 中定义

VS2013/CUDA编译的问题【MSB3721】

在VS2013下运行CUDA程序都是没有问题的,,,,直到我突然想包含一个头文件, 只要我加入了这个头文件,就会报错,错误如下: 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 6.5.targets(593,9): error MSB3721: 命令“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\nvcc.exe" -gencode=arch=compute_20,code=\"sm_20,compute_20\" --use-local-env --cl-version 2010 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" -I"D:\Program Files\MATLAB\R2012a\extern\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -DWIN32 -DWIN64 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o x64\Debug\kernel.cu.obj "F:\ZJD\PRO\LRDSS\C++\LRDSS\LRDSS\kernel.cu"”已退出,返回代码为 2。 1> 1>生成失败。 在线查了很多资料,,都解决不了呀,,路径中也没中文问题,,而且只要不包含这个头文件,CUDA程序也能够运行的,,,,咋办呢~~?

VS2015 Debug模式下正常,release下就报“ _D_SCL_SECURE_NO_WARNINGS”错误

一个MFC+pcl库实现的工程,debug模式下运行正常,因为要把exe拷到别的机子,需要编译release版本。 但是,报了以下错误 1> _D_SCL_SECURE_NO_WARNINGS 1>c1xx : fatal error C1083: 无法打开源文件: “_D_SCL_SECURE_NO_WARNINGS”: No such file or directory 1> stdafx.cpp 1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include\afx.h(38): warning C4996: 'MBCS_Support_Deprecated_In_MFC': MBCS support in MFC is deprecated and may be removed in a future version of MFC. 1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include\afx.h(33): note: 参见“MBCS_Support_Deprecated_In_MFC”的声明 ![图片说明](https://img-ask.csdn.net/upload/201809/29/1538208285_720904.png) 应该怎么改呢,谢谢了~~

用vs2013编译之前用vc++6.0写的程序报错

用vs2013编译之前用vc++6.0写的程序 <VCMessage Code="MSB8021" Type="Error" Condition="'$(_MBCS_Using)' =='true'and'$(_MBCS_Installed)' !='true' and'$(DesignTimeBuild)' !='true'" /> 以上是报错代码 错误 1 error MSB8021: The value '{0}' of the variable '{1}' is incompatible with the value '{2}' of the variable '{3}'. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets 369 5 GRMS 以上是编译错误

cuda6.0安装后系统找不到路径,错误类型: error MSB3721: 返回1

![图片说明](https://img-ask.csdn.net/upload/201807/11/1531296319_544901.png) 安装完成cuda了,讲道理cmd中输入nvcc-V能出现信息就是安装成功了,环境变量也设置了![![图片说明](https://img-ask.csdn.net/upload/201807/11/1531296532_677303.png) ![!图片说明](https://img-ask.csdn.net/upload/201807/11/1531296524_129321.png) vc2010中的库目录和包含目录也已经添加对应环境变量路径, 讲道理我实在想不通还有哪里有问题,最后出现错误如下: 系统找不到指定的路径。 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 6.0.targets(597,9): error MSB3721: 命令“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2010 -ccbin "D:\visual2010\visualstudio\VC\bin\x86_amd64" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -DWIN32 -DWIN64 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o x64\Debug\kernel.cu.obj "F:\temp\te\te\te\kernel.cu"”已退出,返回代码为 1。

pyinstaller如何打包含有dll的.py文件?

命令:pyinstaller test.spec 执行:test.exe 出错:E:\python\project\lbmWebS\lib\testapi.dll could not be extracted! 打包的warn文件 missing module named unicodedata.ucd_3_2_0 - imported by unicodedata, stringprep, encodings.idna missing module named _warnings.warn_explicit - imported by _warnings, warnings missing module named _warnings.filters - imported by _warnings, warnings missing module named _warnings.once_registry - imported by _warnings, warnings missing module named _warnings.default_action - imported by _warnings, warnings missing module named _warnings.warn - imported by _warnings, warnings missing module named _subprocess.STD_OUTPUT_HANDLE - imported by _subprocess, subprocess missing module named _subprocess.CREATE_NEW_PROCESS_GROUP - imported by _subprocess, subprocess missing module named _subprocess.STD_INPUT_HANDLE - imported by _subprocess, subprocess missing module named _subprocess.STARTF_USESHOWWINDOW - imported by _subprocess, subprocess missing module named _subprocess.CREATE_NEW_CONSOLE - imported by _subprocess, subprocess missing module named _subprocess.STD_ERROR_HANDLE - imported by _subprocess, subprocess missing module named _subprocess.STARTF_USESTDHANDLES - imported by _subprocess, subprocess missing module named _subprocess.SW_HIDE - imported by _subprocess, subprocess missing module named cPickle.loads - imported by cPickle, collections missing module named cPickle.dumps - imported by cPickle, collections missing module named thread.get_ident - imported by thread, collections missing module named thread._local - imported by thread, threading missing module named thread.stack_size - imported by thread, threading missing module named thread.allocate_lock - imported by thread, _strptime missing module named itertools.chain - imported by itertools, heapq, collections missing module named itertools.starmap - imported by itertools, collections missing module named itertools.repeat - imported by itertools, heapq, collections missing module named itertools.imap - imported by itertools, heapq missing module named itertools.tee - imported by itertools, heapq missing module named itertools.izip - imported by itertools, heapq missing module named itertools.count - imported by itertools, heapq missing module named itertools.islice - imported by itertools, repr, heapq missing module named operator.itemgetter - imported by operator, collections, heapq missing module named operator.attrgetter - imported by operator, inspect missing module named _collections.deque - imported by _collections, collections missing module named _collections.defaultdict - imported by _collections, collections missing module named _weakref.ref - imported by _weakref, _weakrefset, weakref missing module named _weakref.ReferenceType - imported by _weakref, weakref missing module named _weakref.proxy - imported by _weakref, weakref missing module named _weakref.getweakrefs - imported by _weakref, weakref missing module named _weakref.getweakrefcount - imported by _weakref, weakref missing module named _weakref.ProxyType - imported by _weakref, weakref missing module named _weakref.CallableProxyType - imported by _weakref, weakref missing module named time.time - imported by time, threading missing module named time.sleep - imported by time, threading missing module named datetime.date - imported by datetime, _strptime missing module named errno.ENOENT - imported by errno, gettext missing module named _functools.partial - imported by _functools, functools missing module named _functools.reduce - imported by _functools, functools missing module named copy.deepcopy - imported by copy, weakref missing module named exceptions.ReferenceError - imported by exceptions, weakref missing module named binascii.hexlify - imported by binascii, random missing module named math.sin - imported by math, random missing module named math.sqrt - imported by math, random missing module named math.cos - imported by math, random missing module named math.acos - imported by math, random missing module named math.ceil - imported by math, random missing module named math.exp - imported by math, random missing module named math.log - imported by math, random missing module named math.e - imported by math, random missing module named math.pi - imported by math, random missing module named readline - imported by cmd, pdb missing module named errno.EINVAL - imported by errno, StringIO missing module named cStringIO.StringIO - imported by cStringIO, gettext, pickle, pprint, shlex, tempfile, encodings.uu_codec, quopri, encodings.quopri_codec missing module named binascii.b2a_qp - imported by binascii, quopri missing module named binascii.a2b_qp - imported by binascii, quopri missing module named binascii.a2b_uu - imported by binascii, encodings.uu_codec missing module named binascii.b2a_uu - imported by binascii, encodings.uu_codec missing module named 'org.python'.PyStringMap - imported by 'org.python', pickle missing module named 'org.python' - imported by pickle missing module named struct.calcsize - imported by struct, ctypes missing module named _struct.__doc__ - imported by _struct, struct missing module named _struct._clearcache - imported by _struct, struct missing module named fcntl - imported by subprocess, tempfile missing module named threading.RLock - imported by threading, _threading_local missing module named threading.current_thread - imported by threading, _threading_local missing module named os.urandom - imported by os, random missing module named riscosenviron._Environ - imported by riscosenviron, os missing module named riscosenviron - imported by os missing module named riscospath - imported by os missing module named riscos._exit - imported by riscos, os missing module named riscos - imported by os missing module named ce._exit - imported by ce, os missing module named ce - imported by os missing module named _emx_link.link - imported by _emx_link, os missing module named _emx_link - imported by os missing module named os2._exit - imported by os2, os missing module named os2 - imported by os missing module named nt._isdir - imported by nt, ntpath missing module named nt._getfullpathname - imported by nt, ntpath missing module named nt._exit - imported by nt, os missing module named pwd - imported by posixpath missing module named posix._exit - imported by posix, os missing module named posix - imported by os missing module named resource - imported by posix missing module named strop.whitespace - imported by strop, string missing module named strop.maketrans - imported by strop, string missing module named strop.lowercase - imported by strop, string missing module named strop.uppercase - imported by strop, string missing module named org.PyStringMap - imported by org, copy missing module named org - imported by copy missing module named re._compile - imported by re, sre missing module named re.__all__ - imported by re, sre missing module named codecs.mbcs_encode - imported by codecs, encodings.mbcs missing module named codecs.mbcs_decode - imported by codecs, encodings.mbcs missing module named _ctypes._wstring_at_addr - imported by _ctypes, ctypes missing module named _ctypes._string_at_addr - imported by _ctypes, ctypes missing module named _ctypes._cast_addr - imported by _ctypes, ctypes missing module named _ctypes._memset_addr - imported by _ctypes, ctypes missing module named _ctypes._memmove_addr - imported by _ctypes, ctypes missing module named _ctypes.get_last_error - imported by _ctypes, ctypes missing module named _ctypes.set_last_error - imported by _ctypes, ctypes missing module named _ctypes._check_HRESULT - imported by _ctypes, ctypes missing module named _ctypes.set_conversion_mode - imported by _ctypes, ctypes missing module named _ctypes._pointer_type_cache - imported by _ctypes, ctypes missing module named _ctypes.POINTER - imported by _ctypes, ctypes missing module named _ctypes._SimpleCData - imported by _ctypes, ctypes missing module named _ctypes.get_errno - imported by _ctypes, ctypes missing module named _ctypes.set_errno - imported by _ctypes, ctypes missing module named _ctypes.alignment - imported by _ctypes, ctypes missing module named _ctypes.addressof - imported by _ctypes, ctypes missing module named _ctypes.resize - imported by _ctypes, ctypes missing module named _ctypes.byref - imported by _ctypes, ctypes missing module named _ctypes.sizeof - imported by _ctypes, ctypes missing module named _ctypes.dlopen - imported by _ctypes, ctypes missing module named _ctypes.FUNCFLAG_STDCALL - imported by _ctypes, ctypes missing module named _ctypes.LoadLibrary - imported by _ctypes, ctypes missing module named _ctypes.FUNCFLAG_USE_ERRNO - imported by _ctypes, ctypes missing module named _ctypes.FUNCFLAG_USE_LASTERROR - imported by _ctypes, ctypes missing module named _ctypes.FUNCFLAG_PYTHONAPI - imported by _ctypes, ctypes missing module named _ctypes.FUNCFLAG_CDECL - imported by _ctypes, ctypes missing module named _ctypes.FormatError - imported by _ctypes, ctypes missing module named _ctypes.ArgumentError - imported by _ctypes, ctypes missing module named _ctypes.RTLD_LOCAL - imported by _ctypes, ctypes missing module named _ctypes.RTLD_GLOBAL - imported by _ctypes, ctypes missing module named _ctypes.__version__ - imported by _ctypes, ctypes missing module named _ctypes.CFuncPtr - imported by _ctypes, ctypes missing module named _ctypes._Pointer - imported by _ctypes, ctypes missing module named _ctypes.Structure - imported by _ctypes, ctypes missing module named _ctypes.Array - imported by _ctypes, ctypes missing module named _ctypes.Union - imported by _ctypes, ctypes

cuda 9.2在VS2015中的编译问题

我用cuda写了一个.cu的文件,准备封装编译成dll,但始终无法编译成功,频繁 报 expected a ">>>", expected a "(",expected an expression, too few arguments in function call等错误,貌似核函数根本没有被编译器识别。 最后提示错误MSB3721 命令“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" --use-local-env -ccbin "D:\Visual Studio\VC\bin\x86_amd64" -x cu -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -DWIN32 -DWIN64 -DNDEBUG -D_CONSOLE -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /FS /Zi /MD " -o x64\Release\cmusimulator.cu.obj "C:\Users\lone\Desktop\cmusimulator_gpu\cmusimulator\cmusimulator.cu"”已退出,返回代码为 1。 求各位大神帮助,十分感激!

vs2013+cuda7.5 运行cuda sample报错MSB3721,返回代码为1.求助!

错误 1 error MSB3721: 命令“"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin\nvcc.exe" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_37,code=\"sm_37,compute_37\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" --use-local-env --cl-version 2013 -ccbin "D:\Program Files\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -I./ -I../../common/inc -I./ -I"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\/include" -I../../common/inc -I"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Xcompiler "/wd 4819" -DWIN32 -DWIN32 -D_MBCS -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MT " -o x64/Release/bilateral_kernel.cu.obj "D:\Program Files\NVIDIA Corporation\CUDA Samples\v7.5\3_Imaging\bilateralFilter\bilateral_kernel.cu"”已退出,返回代码为 1。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 7.5.targets 604 9 bilateralFilter

关于python调用C#库的问题

 大家好,我需要用python来调用C#的.dll,一直在研究http://blog.csdn.net/xugangjava/article/details/7202356这篇文章,现在碰到了一个问题,请大家帮忙出出主意,谢谢。  首先是这篇文章中的最末尾,命令行中有一条“d.EncryptMd5('dsaf')”(如图1)。请问这个"d."是从何而来?之前也没有看到任何类例化成了"d"? 图1: ![图片说明](https://img-ask.csdn.net/upload/201604/13/1460562589_893201.png)  其次是我在调用由C# COM生成的.py文件中的方法时,出现了“CoClassBaseClass”类能正常例化,而“DispatchBaseClass”无法正常例化的情况(如图2和图3),请问这是为什么?如何才是正确的调用方法? 图2: ![图片说明](https://img-ask.csdn.net/upload/201604/13/1460562611_990146.png) 图3: ![图片说明](https://img-ask.csdn.net/upload/201604/13/1460562630_687172.png) 以下是用makepy转化C# COM生成的.py: ``` #python# # -*- coding: mbcs -*- # Created by makepy.py version 0.5.01 # By python version 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] # From type library 'testCom.tlb' # On Wed Apr 13 16:58:28 2016 '' makepy_version = '0.5.01' python_version = 0x20704f0 import win32com.client.CLSIDToClass, pythoncom, pywintypes import win32com.client.util from pywintypes import IID from win32com.client import Dispatch # The following 3 lines may need tweaking for the particular server # Candidates are pythoncom.Missing, .Empty and .ArgNotFound defaultNamedOptArg=pythoncom.Empty defaultNamedNotOptArg=pythoncom.Empty defaultUnnamedArg=pythoncom.Empty CLSID = IID('{95A0DC02-9D6B-4A40-A78A-C65357E749F5}') MajorVersion = 1 MinorVersion = 0 LibraryFlags = 8 LCID = 0x0 from win32com.client import DispatchBaseClass class IMyClass(DispatchBaseClass): CLSID = IID('{88DB152F-BC26-43C9-BED0-B6CDE14D85CF}') coclass_clsid = None def Add(self, x=defaultNamedNotOptArg, y=defaultNamedNotOptArg): return self._oleobj_.InvokeTypes(1610743808, LCID, 1, (3, 0), ((3, 1), (3, 1)),x , y) _prop_map_get_ = { } _prop_map_put_ = { } def __iter__(self): "Return a Python iterator for this object" try: ob = self._oleobj_.InvokeTypes(-4,LCID,3,(13, 10),()) except pythoncom.error: raise TypeError("This object does not support enumeration") return win32com.client.util.Iterator(ob, None) class _ComTest(DispatchBaseClass): CLSID = IID('{8069ED53-4C67-3611-BB38-AB9721C851EB}') coclass_clsid = IID('{20CEDF1F-BB34-4D68-B657-3884B6E84C4C}') _prop_map_get_ = { } _prop_map_put_ = { } def __iter__(self): "Return a Python iterator for this object" try: ob = self._oleobj_.InvokeTypes(-4,LCID,3,(13, 10),()) except pythoncom.error: raise TypeError("This object does not support enumeration") return win32com.client.util.Iterator(ob, None) class _Object(DispatchBaseClass): CLSID = IID('{65074F7F-63C0-304E-AF0A-D51741CB4A8D}') coclass_clsid = IID('{20CEDF1F-BB34-4D68-B657-3884B6E84C4C}') def Equals(self, obj=defaultNamedNotOptArg): return self._oleobj_.InvokeTypes(1610743809, LCID, 1, (11, 0), ((12, 1),),obj ) def GetHashCode(self): return self._oleobj_.InvokeTypes(1610743810, LCID, 1, (3, 0), (),) # Result is of type _Type def GetType(self): ret = self._oleobj_.InvokeTypes(1610743811, LCID, 1, (13, 0), (),) if ret is not None: # See if this IUnknown is really an IDispatch try: ret = ret.QueryInterface(pythoncom.IID_IDispatch) except pythoncom.error: return ret ret = Dispatch(ret, u'GetType', '{BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2}') return ret _prop_map_get_ = { "ToString": (0, 2, (8, 0), (), "ToString", None), } _prop_map_put_ = { } # Default property for this class is 'ToString' def __call__(self): return self._ApplyTypes_(*(0, 2, (8, 0), (), "ToString", None)) def __unicode__(self, *args): try: return unicode(self.__call__(*args)) except pythoncom.com_error: return repr(self) def __str__(self, *args): return str(self.__unicode__(*args)) def __int__(self, *args): return int(self.__call__(*args)) def __iter__(self): "Return a Python iterator for this object" try: ob = self._oleobj_.InvokeTypes(-4,LCID,3,(13, 10),()) except pythoncom.error: raise TypeError("This object does not support enumeration") return win32com.client.util.Iterator(ob, None) from win32com.client import CoClassBaseClass # This CoClass is known by the name 'testCom.ComTest' class ComTest(CoClassBaseClass): # A CoClass CLSID = IID('{20CEDF1F-BB34-4D68-B657-3884B6E84C4C}') coclass_sources = [ ] coclass_interfaces = [ _ComTest, _Object, ] default_interface = _ComTest IMyClass_vtables_dispatch_ = 1 IMyClass_vtables_ = [ (( u'Add' , u'x' , u'y' , u'pRetVal' , ), 1610743808, (1610743808, (), [ (3, 1, None, None) , (3, 1, None, None) , (16387, 10, None, None) , ], 1 , 1 , 4 , 0 , 28 , (3, 0, None, None) , 0 , )), ] _ComTest_vtables_dispatch_ = 1 _ComTest_vtables_ = [ ] _Object_vtables_dispatch_ = 1 _Object_vtables_ = [ (( u'ToString' , u'pRetVal' , ), 0, (0, (), [ (16392, 10, None, None) , ], 1 , 2 , 4 , 0 , 28 , (3, 0, None, None) , 0 , )), (( u'Equals' , u'obj' , u'pRetVal' , ), 1610743809, (1610743809, (), [ (12, 1, None, None) , (16395, 10, None, None) , ], 1 , 1 , 4 , 0 , 32 , (3, 0, None, None) , 0 , )), (( u'GetHashCode' , u'pRetVal' , ), 1610743810, (1610743810, (), [ (16387, 10, None, None) , ], 1 , 1 , 4 , 0 , 36 , (3, 0, None, None) , 0 , )), (( u'GetType' , u'pRetVal' , ), 1610743811, (1610743811, (), [ (16397, 10, None, "IID('{BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2}')") , ], 1 , 1 , 4 , 0 , 40 , (3, 0, None, None) , 0 , )), ] RecordMap = { } CLSIDToClassMap = { '{20CEDF1F-BB34-4D68-B657-3884B6E84C4C}' : ComTest, '{88DB152F-BC26-43C9-BED0-B6CDE14D85CF}' : IMyClass, '{8069ED53-4C67-3611-BB38-AB9721C851EB}' : _ComTest, '{65074F7F-63C0-304E-AF0A-D51741CB4A8D}' : _Object, } CLSIDToPackageMap = {} win32com.client.CLSIDToClass.RegisterCLSIDsFromDict( CLSIDToClassMap ) VTablesToPackageMap = {} VTablesToClassMap = { '{88DB152F-BC26-43C9-BED0-B6CDE14D85CF}' : 'IMyClass', '{8069ED53-4C67-3611-BB38-AB9721C851EB}' : '_ComTest', '{65074F7F-63C0-304E-AF0A-D51741CB4A8D}' : '_Object', } NamesToIIDMap = { 'IMyClass' : '{88DB152F-BC26-43C9-BED0-B6CDE14D85CF}', '_ComTest' : '{8069ED53-4C67-3611-BB38-AB9721C851EB}', '_Object' : '{65074F7F-63C0-304E-AF0A-D51741CB4A8D}', } ```

VS 2015 写c++无法打开源文件

不知道怎么弄得 新手小白 希望各位仔细一点讲下 谢谢了额

VS2013环境,Geforce 620显卡,GPU编程出错

error MSB3721: "D:\Program Files\NVIDIA GPU Computing\Toolkit\CUDA\v7.0\bin\nvcc.exe" -gencode=arch=compute_52,code=\"sm_52,compute_52\" --use-local-env --cl-version 2013 -ccbin "D:\Program Files\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -I"D:\Program Files\NVIDIA Corporation\CUDA Samples\v7.0\common\inc" -I"D:\Program Files\NVIDIA GPU Computing\Toolkit\CUDA\v7.0\include" -I"D:\Program Files\NVIDIA Corporation\CUDA Samples\v7.0\common\inc" -I"D:\Program Files\NVIDIA GPU Computing\Toolkit\CUDA\v7.0\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -DWIN32 -DWIN32 -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o x64\Debug\kernel.cu.obj "C:\Users\MaoHeng_Lab\documents\visual studio 2013\Projects\CudaTest\CudaTest\kernel.cu"” 已退出,返回代码为 2 。

VS2013编译错误!!!!!!!!!!!!!!!!

1>------ 已启动生成: 项目: Project1, 配置: Debug Win32 ------ 1> TRACKER : 错误 TRK0002: 未能执行命令: “"D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe" @C:\Users\hp\AppData\Local\Temp\tmpeffdf93a59c84ba09104b2fe131a05ed.rsp”。存储控制块地址无效。 1> 1> 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(341,5): error MSB6006: “CL.exe”已退出,代码为 2。 ========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

在使用CMake时,遇到pthread.h not found该怎么解决,查了好多资料都没解决。

-- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found OpenSSL: C:/xmr-stak-dep/opensslbbeay32.lib (found version "1.0.2 l") You have called ADD_LIBRARY for library xmr-stak-c without any source files. This typically indicates a problem with your CMakeLists.txt file CMake Error at CMakeLists.txt:173 (add_executable): add_executable called with incorrect number of arguments CMake Error at CMakeLists.txt:178 (target_link_libraries): Cannot specify link libraries for target "xmr-stak-cpu" which is not built by this project. -- Configuring incomplete, errors occurred! See also "C:/Users/Administrator/sourceild/CMakeFiles/CMakeOutput.log". See also "C:/Users/Administrator/sourceild/CMakeFiles/CMakeError.log" .![图片说明](https://img-ask.csdn.net/upload/201709/07/1504754534_20002.png) CMAKEError.log内容如下: Determining if the include file pthread.h exists failed with the following output: Change Dir: C:/xmr-stak-cpu/CMakeFiles/CMakeTmp Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_c3038.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.3.409.57025 版权所有(C) Microsoft Corporation。保留所有权利。 生成启动时间为 2017/9/7 11:08:54。 节点 1 上的项目“C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\cmTC_c3038.vcxproj”(默认目标)。 PrepareForBuild: 正在创建目录“cmTC_c3038.dir\Debug\”。 正在创建目录“C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\Debug\”。 正在创建目录“cmTC_c3038.dir\Debug\cmTC_c3038.tlog\”。 InitializeBuildStatus: 正在创建“cmTC_c3038.dir\Debug\cmTC_c3038.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c3038.dir\Debug\\" /Fd"cmTC_c3038.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\CheckIncludeFile.c" 用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.11.25507.1 版 版权所有(C) Microsoft Corporation。保留所有权利。 cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c3038.dir\Debug\\" /Fd"cmTC_c3038.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\CheckIncludeFile.c" CheckIncludeFile.c C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: 无法打开包括文件: “pthread.h”: No such file or directory [C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\cmTC_c3038.vcxproj] 已完成生成项目“C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\cmTC_c3038.vcxproj”(默认目标)的操作 - 失败。 生成失败。 “C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\cmTC_c3038.vcxproj”(默认目标) (1) -> (ClCompile 目标) -> C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: 无法打开包括文件: “pthread.h”: No such file or directory [C:\xmr-stak-cpu\CMakeFiles\CMakeTmp\cmTC_c3038.vcxproj] 0 个警告 1 个错误 已用时间 00:00:00.31 ? ? ? ? ? 哪位有经验的牛哥指点一下呗??? 环境:Win7_64 VS2017 CMAke3.9.1

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

删库了,我们一定要跑路吗?

在工作中,我们误删数据或者数据库,我们一定需要跑路吗?我看未必,程序员一定要学会自救,神不知鬼不觉的将数据找回。 在 mysql 数据库中,我们知道 binlog 日志记录了我们对数据库的所有操作,所以 binlog 日志就是我们自救的利器。 接下来就来开启程序员自救之路。 想要自救成功,binlog 这把利器一定要好,在自己之前,我们一定要确定我们有 binlog 这把利器,以下就是确保有 bi...

再不跳槽,应届毕业生拿的都比我多了!

跳槽几乎是每个人职业生涯的一部分,很多HR说“三年两跳”已经是一个跳槽频繁与否的阈值了,可为什么市面上有很多程序员不到一年就跳槽呢?他们不担心影响履历吗? PayScale之前发布的**《员工最短任期公司排行榜》中,两家码农大厂Amazon和Google**,以1年和1.1年的员工任期中位数分列第二、第四名。 PayScale:员工最短任期公司排行榜 意外的是,任期中位数极小的这两家公司,薪资...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

华为初面+综合面试(Java技术面)附上面试题

华为面试整体流程大致分为笔试,性格测试,面试,综合面试,回学校等结果。笔试来说,华为的难度较中等,选择题难度和网易腾讯差不多。最后的代码题,相比下来就简单很多,一共3道题目,前2题很容易就AC,题目已经记不太清楚,不过难度确实不大。最后一题最后提交的代码过了75%的样例,一直没有发现剩下的25%可能存在什么坑。 笔试部分太久远,我就不怎么回忆了。直接将面试。 面试 如果说腾讯的面试是挥金如土...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

现代的 “Hello, World”,可不仅仅是几行代码而已

作者 |Charles R. Martin译者 | 弯月,责编 | 夕颜头图 |付费下载自视觉中国出品 | CSDN(ID:CSDNnews)新手...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

程序员毕业去大公司好还是小公司好?

虽然大公司并不是人人都能进,但我仍建议还未毕业的同学,尽力地通过校招向大公司挤,但凡挤进去,你这一生会容易很多。 大公司哪里好?没能进大公司怎么办?答案都在这里了,记得帮我点赞哦。 目录: 技术氛围 内部晋升与跳槽 啥也没学会,公司倒闭了? 不同的人脉圈,注定会有不同的结果 没能去大厂怎么办? 一、技术氛围 纵观整个程序员技术领域,哪个在行业有所名气的大牛,不是在大厂? 而且众所...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

立即提问
相关内容推荐