ipykernel_launcher.py: error: unrecognized arguments: -f /Users/apple/Library/Jupyter/runtime/kernel

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/lancecrazy/article/details/92430514

当在jupyter下使用parser.parse_args()出错
则改换为parser.parse_known_args()[0]
其效用是差不多的,至于为什么出现错误,我也不知道…

展开阅读全文

visual c++ Runtime Library Runtime Error!

08-04

void CExamOnlineDlg::OnBack() rn rnUpdateData(); rnCButton* m_checkA=(CButton*)GetDlgItem(IDC_RADIO_A); rnCButton* m_checkB=(CButton*)GetDlgItem(IDC_RADIO_B); rnCButton* m_checkC=(CButton*)GetDlgItem(IDC_RADIO_C); rnCButton* m_checkD=(CButton*)GetDlgItem(IDC_RADIO_D); rn////////////////////////////////////////// rnCString question; rnCString Id; rnCString answer; rnCString sql; rnrnif(testnum==1) rn rnAfxMessageBox("这已经是第一题了"); rnreturn; rn rnrnrnm_AdoConn.OnInitADOConn(); rnrnsql.Format("select * from examminginfo where testnum=%d",testnum); rnm_pRs=m_AdoConn.GetRecordSet((_bstr_t)sql); rnsql.Format("update examminginfo set answer='%s' where testnum=%d",Answer,testnum); rnanswer=(char*)(_bstr_t)m_pRs->GetCollect("answer");//如果加上这一行就出问题,不加没事 if(answer!=Answer) rnm_AdoConn.ExecuteSQL((_bstr_t)sql); rnm_Test.GetWindowText(question); rntestnum--; rnsql.Format("select * from ExammingInfo where testnum=%d",testnum); rnm_pRs=m_AdoConn.GetRecordSet((_bstr_t)sql); rnquestion=(char*)(_bstr_t)m_pRs->GetCollect("question"); rnanswer=(char*)(_bstr_t)m_pRs->GetCollect("answer"); rnId.Format("题号:%d",testnum); rnm_TestID.SetWindowText(Id); rnm_Test.SetWindowText(question); rnAnswer=answer; rnPutAnswer(); rnif(answer=='A') rn rnm_checkA->SetCheck(true); rnm_checkB->SetCheck(false); rnm_checkC->SetCheck(false); rnm_checkD->SetCheck(false); rn rnif(answer=='B') rn rnm_checkB->SetCheck(true); rnm_checkA->SetCheck(false); rnm_checkC->SetCheck(false); rnm_checkD->SetCheck(false); rn rnif(answer=='C') rn rnm_checkC->SetCheck(true); rnm_checkA->SetCheck(false); rnm_checkB->SetCheck(false); rnm_checkD->SetCheck(false); rn rnif(answer=='D') rn rnm_checkD->SetCheck(true); rnm_checkA->SetCheck(false); rnm_checkB->SetCheck(false); rnm_checkC->SetCheck(false); rn rnrn rnrnrn错误是 visual c++ Runtime Library Runtime Error! 论坛

没有更多推荐了,返回首页