Ⅰ 我们老师让我们用python做一个课程设计 我想做一个成绩管理器 可是好
你要转成asp的带后台。 首先要安装iis确保能运行asp文件, 关于iis还有设置更目录还需要你自己去学! 能够运行asp文件的情况下你要求的页面自己改图片文字 就看你是否希望从数据库中调用这一步会涉及更多的东西 我就说说不用数据库的方法
Ⅱ 想用Python做个管理系统,不知道要学些什么,具体要求如下
你这个需求还缺少一些关键的内容。
界面是需要PC应用界面,还是网页、APP。
是否需要数据库,需要的话,局域网连接,还是需要互联网连接。
Ⅲ python课程设计要求400行代码
那你写print(1)一直写到print(400)吧
Ⅳ python如何编一个投票系统
LI=['张三','李四','刘五']
definputs(prompt,selectlist,eof='EOF'):
whileTrue:
choice=raw_input(prompt)
ifchoice==eof:
break
elifchoiceinselectlist:
yieldchoice
else:
print"onlyin%s"%selectlist
collects=map(None,inputs("投票",LI,eof='投票结束'))
#bydict
counter={}
fornameincollects:
counter[name]=counter.get(name,0)+1
forname,cinsorted(counter.items(),key=lambdax:x[1],reverse=True):
printname,c
#bycollections.Counter
importcollections
counter=collections.Counter(collects)
forname,cincounter.most_common(10):
printname,c
Ⅳ python新手求助 写一个投票的代码 def vote() 有三种,yes,no,abstain
defvote(stra):
yesstr=['yes','y']
nostr=['no','n']
abstainedstr=['abstained','a']
count=0
yescount=0
stra=stra.replace(',','')
foriinstra.split():
lowerstr=i.lower()
iflowerstrinyesstr:
yescount+=1
count+=1
eliflowerstrinnostr:
count+=1
ifyescount==count:
return'proposalpassesunanimously'
ifyescount*1.0/count>=2.0/3.0:
return''
ifyescount*1.0/count>=0.5:
return''
return'proposalfails'
if__name__=='__main__':
stra=raw_input('Entertheyes,no,:
')
printvote(stra)
Ⅵ 如何用Python来做一个投票app
django的教程就是一个投票的例子,如果是要做网页版的,可以参考下,很不错,https://docs.djangoproject.com/en/1.6/intro/tutorial01/
可以看下链接
Ⅶ Python面向对象程序设计题,设计一个选课系统,要求如下:
你这完全是一个小软件拉,想着是没有人会直接回源码的吧,且还是面向对象的.用tkinter,还是pyqt等,都没有说.
Ⅷ 用python和django做一个投票网站
我留个记录,看谁会这么好心有现成的项目,我也想参考参考
Ⅸ c语言投票系统课程设计
/*Note:YourchoiceisCIDE*/#include"stdio.h"#include#include"conio.h"#include#includevoidmain(){voidadm1(),adm2(),build(),huan(),borrow(),dele();adm1();}voidadm1(){FILE*fp,*p;charadp[20],password[20];inti,n=0;textbackground(2);clrscr();gotoxy(25,12);fp=fopen("pass","r");if(fp==NULL)printf("inputpassword:");for(;;){window(42,12,53,12);textbackground(0);clrscr();gets(adp);for(i=0;adp[i]!='\0';i++);fgets(password,i+1,fp);gotoxy(55,12);if(strcmp(password,adp)==0)else{n++;window(55,12,60,12);clrscr();gotoxy(55,12);cprintf("error");for(i=0;i=6);for(k=i;k<i+n;k++){printf("\nbook%d:",k+1);scanf("%s",book[k]);}for(k=0;k<i+n;k++)fprintf(f,"%s\n",book[k]);fputc('\0',f);printf("success");fclose(f);}voiddele(){FILE*fp,*f;charid[20],a[4][20],c,b[5][50];inti=0,j=0,k;window(1,1,80,25);clrscr();printf("InputIDnumber:");scanf("%s",id);fp=fopen(id,"r");if(fp==NULL)elsewhile(!feof(fp))printf("\nname:%s",a[0]);printf("\nID:%s",a[1]);printf("\nsex:%s",a[2]);printf("\ngrad:%s",a[3]);f=fopen(a[0],"r");if(f==NULL);else{while(!feof(f))for(k=0;k<j-1;k++)printf("\nbook%d:%s",k+1,b[k]);}printf("\nDoyouwanttodelete?(Y/N):");c=getch();fclose(fp);fclose(f);if(c=='y')if(c=='n')adm2();}