import pickle
class tick:
name = '牛牛牛'
age = 10
samp = [1,2,3,'aaa',[12,3],tick()]
with open('te.xxxx','wb') as pickle_file:
#序列化samp对象,以二进制的方式写到文件
pickle.dump(sam...
QFile file("D:\\Tcpview.exe");
if (file.exists())
{
if ( file.size() > 2097152 )
{
QMessageBox::information(this, tr("up file fail"),
tr("Failed to up ...