- 博客(26)
- 资源 (1)
- 收藏
- 关注
原创 科大讯飞实习感受~
本人20入学合肥某高校读研,研一上课结束之后,特意过完暑假研二开学的时候入职科大讯飞总部~三个月过的很快,离职倒计时了~首先,我是在总部实习的,待遇的话都是统一价,研究生大概比本科生多几百块,另外200块是餐补~然后呢,虽然网上很多喷讯飞,脉脉啥的,但是确实是看组了~我们组的氛围很好,欢迎小伙伴们投递哟~智能汽车部门的某个组~实习生我们这边一般早上八点半到晚上五点半或早上九点半到晚上六点半,自己在系统里选择好就完事了~相对外面其他大厂来说还是比较舒服的我感觉,据我了解腾讯一般晚上八点多才能走
2021-11-26 17:04:05
2862
3
原创 在linux下运行关于c++11时报错——linux中g++支持C++11的方法
//第一种,直接包含在源程序文件中,如第一行代码所示#pragma GCC diagnostic error "-std=c++11"#include <iostream>using namespace std;int main(){ int a = 1; int b = 2; float c = 3.14; auto i = a + b; auto j = a + c; cout << j << endl; cout &...
2021-04-13 09:38:28
539
原创 关于Linux中pwd的存在 Pwd——当隐藏命令行路径的时候只剩下$提示符
关于Linux中pwd的存在Pwd——当隐藏命令行路径的时候只剩下$提示符,pwd显示当前路径隐藏之后就是命令行只显示:$:Vi .bashrc在#export PATH=下加上PS1=$保存之后重启就可以使得命令行前的路径隐藏,此时可以用pwd查看当前路径加上#注释之后重启就可以显示隐藏路径...
2021-03-31 10:36:17
394
原创 linux下运行C,C++,JAVA的第一个test程序
linux下==========================================c++:mkdir 创建工作目录c++Workplacetouch创建cpp文件testone.cppvim test.cpp编辑保存esc+:输入wq+enter退出并且保存g++ testone.cpp默认输出a.out文件使用./a.out得到输出结果或者g++ testone.cpp hello使用./hello得到输出结果=========================.
2020-12-15 10:09:17
327
原创 numpy库知识
#numpy学习笔记import numpy as npfrom numpy.core.fromnumeric import ravel, argsort, argmax, argmin########################################一、numpy数组创建#####################################x=np.array([1,2,3,4,5])print( x )#设置数组的类型x=np.array([1,2,3,4,5].
2020-10-17 00:23:39
199
原创 8.2小游戏开发
from tkinter import *import tkinter.simpledialog as dlimport tkinter.messagebox as mb#主函数框root=Tk()#标签w=Label(root,text="Guess Number Game")#自适应w.pack()mb.showinfo("wellcome", "wellcome to Guess Number Game")number=59while True: guess ...
2020-09-17 12:18:32
106
原创 8.1图形界面gui
from tkinter import *import tkinter.simpledialog as dlimport tkinter.messagebox as mb#主函数框root=Tk()#标签w=Label(root,text="Label Tittle")#自适应w.pack()mb.showerror("wellcome", "wellcome message")#用户输入一个数字,赋给guessguess =dl.askfloat("number", "enter.
2020-09-17 12:17:40
122
原创 7.1面向对象编程
#类:显示事务的封装(学生)#类---》有属性(名字,成绩)#类对象#实例对象#引用#实例化:比如学生张三# class Student:# def __init__(self,name,grade):# self.name=name# self.grade=grade# def introduce(self):# print("hi i am"+self.name)# print("my grade ...
2020-09-17 12:17:10
679
原创 6.1错误与异常处理
#语法错误#while True print("hello world")# while True:# print("hello world")#异常#print(0/0)#print(hello*4)## num=6# print("hello world"+str(num))# #如果没有加上str也会出现异常#==============================================================================...
2020-09-17 12:15:14
123
原创 5.2输入输出文件中
# 写入文件操作:some_sentences='''\i love learning pythoni love you'''f=open('sentences.txt','w')f.write(some_sentences)f.close()#读文件f=open('sentences.txt')#不说明则默认是读文件操作while True: line=f.readline() if len(line)==0: break print(line...
2020-09-17 12:14:43
122
原创 5.1输入输出方式介绍
str_1=input("enter a string:")str_2=input("enter another string:")print("str_1:"+str_1+"str_2:"+str_2)print("str_1 is {}+str_2 is {}".format(str_1, str_2))
2020-09-17 12:14:11
313
原创 4.3 continue和pass和break
# # number=59# while True:# guess=int(input("enter an inteher:"))# if guess ==number:# break# #跳出该处所有循环# elif guess <number:# print("lower")# continue# #跳出当前循环# else:# print("highter")# ...
2020-09-17 12:13:32
127
原创 4.2 while range循环
# number=59# guess_flag=False## while guess_flag==False:# guess=int(input("enter an inteher:"))# if guess ==number:# guess_flag=True# elif guess <number:# print("lower")# else:# print("highter")## p...
2020-09-17 12:12:58
208
1
原创 4.1控制流if for循环
if语句if condition do somethingelif other_condition do something#if 用法如下:#===============================================================================## number=59# guess =int(input("enter an integer:"))# #这是input用法# #print("guess is:"+...
2020-09-17 12:12:23
152
原创 3.4函数function
def say_hi(): print("hi") say_hi()say_hi()def print_sum_two(a,b): c=a+b print(c)#没有return关键字,所以这是没有返回值的函数print_sum_two(3,6)def hello_some(str): print("hello "+str+"!") hello_some("china")hello_some("china")#有返回值的函数如下:def...
2020-09-16 16:19:36
178
原创 3.3字典dictionary
键(key) 对应值(value)张三 12345李四 23432上面这种数据结构就是字典dictionary#创建一个词典phone_book={"Tom":123,"Jerry":456,"Kim":789}mixed_dict={"Tom":"boy",11:23.5}print("Tom has phone number:"+str(phone_book["Tom"]))phone_book["Tom"]=99...
2020-09-16 16:18:55
147
原创 3.2第三天数据结构tuple与list对比学习
#创建只包含一个元素的tuplea_tuple=(2,)#元素之后加上逗号,避免产生歧义mixed_tuple=(1,2,['a','b'])print("mixed_tuple:"+str(mixed_tuple))mixed_tuple[2][0]="c"mixed_tuple[2][1]="d"print("mixed_tuple after:"+str(mixed_tuple))#tuple不可以更改,但是可以更改里面的list========================.
2020-09-16 16:18:24
104
原创 3.2第三天数据结构(元组)tuple学习
number_tuple=(1,3,5,7,9)string_tuple =("abc","bbc","python")mixed_tuple=("python","java",3,12)print("string_tuple"+str(string_tuple))print("mixed_tuple"+str(mixed_tuple))second_num=number_tuple[1]third_string=string_tuple[2]fourth_mixed=mixed_
2020-09-16 16:17:52
115
原创 3.1第三天数据结构(列表)list学习
#-*- coding:utf-8 -*-print("您好")#加上#-*- coding:utf-8 -*-使得中文可以显示print("what is you name?\nTom")#换行符号\n#创建Listnumber_list = [1,3,5,7,9]print("number_list:"+str(number_list))string_list =["abc","bbc","python"]mixed_list=["python","java",3,12].
2020-09-16 16:17:01
154
原创 2第二天字符串
format#complex表示复数,第一个参数是实数部分,第二个参数是虚数部分print("{0}is a's type".format(type(a)))print("{0}is c's type".format(type(c)))print("{0}is e's type".format(type(e)))#format
2020-09-16 16:16:19
80
原创 2第二天数运算
数类型及其运算解决eclipse写python添加中文注释报错问题:https://blog.youkuaiyun.com/miss_ok/article/details/87862599import sysa=3b=4c=5.5d=4.5e=complex(c,d)f=complex(float(a),float(b))#complex表示复数,第一个参数是实数部分,第二个参数是虚数部分print("{0}is a's type".format(type(a)))print("{0}i
2020-09-16 16:15:43
96
原创 python基本情况入门了解
1。初步了解,环境配置pythonjavaeclipsePyDev2.request和pip配置3.request的使用import osimport requestsr=requests.get("http://www.baidu.com")print(r.url)print(r.encoding)print(r.content)注意点:print(r.text)可能由于乱码格式不对所以报错 print(r.content)则能正确的显示格式输出出来一,字...
2020-09-16 16:14:59
224
翻译 保存一下408经验贴
2018考研数学经验详谈考研408经验详谈备考时间:2017.03.10基础情况:数据结构,计组,操作系统,网络水过。。。基础约为零。。。实考成绩:133前言:408备考最讲求“反复多次与全面”,这句话在王道单科书-《操作系统复习指导》中出现了三次,可见这句话对于复习408而言是十分重要的,我也在复习过程中对这句话十分有感触,量变总会产生质变。408考试的难度在于出题面十...
2019-03-13 20:34:58
943
7
原创 学习深入理解计算机系统第一天2019/3/13
信息就是位+上下文系统中所有的信息——包括磁盘文件、存储器中的程序、存储器中存放的用户数据以及网络上的传送的数据,它们都是由一串位表示的。区分不同数据对象的方法:读到这些数据的上下文。例如:在不同的上下文中,一个同样的字节序列可能表示一个整数、浮点数、字符串或者机器指令...
2019-03-13 20:13:08
158
翻译 c++中cstdio与stdio.h的作用
//#include<cstdio>#include<iostream>using namespace std;int main(){ char name1[100],name2[100]; cin>>name1>>name2; cout<<name1<< endl<<
2018-12-28 22:54:52
7087
2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人