摘要: 下载PyDev插件 myeclipse10最好配PyDev2.7的版本,比较简单, 解压之后,进入文件夹。发现里面只有两个文件夹,将这两个文件夹复制 到myeclipse的文件下面,myeclipse的路径是C:\Users\Administrator\AppData\Local\MyEclipse 阅读全文
posted @ 2021-05-16 16:26 霓凰凤舞 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-16 16:15 霓凰凤舞 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 功能性用例设计点: 1. 输入已注册的用户名和正确的密码,验证是否成功登录 2. 输入已注册的用户名和不正确的密码,验证是否成功失败,且提示信息正确 3. 输入未注册的用户名和任意密码,验证是否登录失败,且提示信息正确 4. 使用未激活账户登录,验证是否登录失败 5. 使用被停用用户登录,验证是否登 阅读全文
posted @ 2021-05-16 16:12 霓凰凤舞 阅读(106) 评论(0) 推荐(0) 编辑
摘要: #高手代码from turtle import *color("red","yellow")begin_fill()hideturtle()speed(1)while True: forward(200) right(144) if abs(pos())<1: breakend_fill()done 阅读全文
posted @ 2021-05-16 16:05 霓凰凤舞 阅读(1789) 评论(0) 推荐(0) 编辑
摘要: round函数:对一个浮点类型的数据进行四舍五入:round(3.14) 运行结果就是3 获取当前时间: time.time() ,time函数需要导入才能使用,import time 阅读全文
posted @ 2021-05-16 16:00 霓凰凤舞 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 比较运算符: == != < > <= >= 逻辑运算符 或与非 or and not x or y : x为true,则不计算y的值,直接返回ture x为false,则返回y的值 x and y: x为ture,则返回y的值, x为false,则不计算y,直接返回false x not y: x 阅读全文
posted @ 2021-05-16 15:56 霓凰凤舞 阅读(39) 评论(0) 推荐(0) 编辑
摘要: import turtle import math #先定义4个坐标 x1,y1=100,100 x2,y2=100,-100 x3,y3=-100,-100 x4,y4=-100,100 #然后画折线 turtle.penup() turtle.goto(x1,y1) turtle.pendown 阅读全文
posted @ 2021-05-16 15:55 霓凰凤舞 阅读(349) 评论(0) 推荐(0) 编辑
摘要: import turtle turtle.width(20) turtle.color("red") turtle.circle(50) turtle.penup() turtle.goto(150,0) turtle.pendown() turtle.width(20) turtle.color( 阅读全文
posted @ 2021-05-16 15:54 霓凰凤舞 阅读(112) 评论(0) 推荐(0) 编辑
摘要: import turtle turtle.color("purple","yellow") turtle.speed(1) turtle.fd(100) turtle.right(60) turtle.fd(100) turtle.right(60) turtle.fd(100) turtle.ri 阅读全文
posted @ 2021-05-16 15:52 霓凰凤舞 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: 整体缩进:鼠标拉选住代码块,按下tab键。 反向缩进:鼠标拉选住代码块,按下shift+tab键。 阅读全文
posted @ 2021-05-16 15:50 霓凰凤舞 阅读(757) 评论(0) 推荐(0) 编辑