admin Published on 2020-11-17
![]()
# #!/usr/bin/python 读取目录下所有文件的文件名的写入到wenjianming.txt中 #python3运行环境,输出结果txt写入文件的所在目录为当前readfilename.py的python程序文件目录 import os def ListFilesTo...
2010 viewsLike (0)Tags:Python example / Python Basic Curriculum / Python studies / Example of python
admin Published on 2020-11-17

#定义长方形、三角形、圆形的面积计算方法 def changfangxing(a,b): #长和宽 s=a*b #长乘以宽 得到面积 return s def sanjiaoxing(d,h): s=(d*h)/2 return s def yuanxing(r): s=2*...
1746 viewsLike (0)Tags:python / Python example / Python's Introduction / Python Basic Curriculum / Python studies
admin Published on 2020-11-13
![]()
Data open source:https://github.com/lvwuwei/covid-france Presentation https://www.chinanews.ga/4930.html The evolution of the French new cro...
2738 viewsLike (0)Tags:anaconda / jumper notebook / python / Python Basic Curriculum
admin Published on 2020-11-10
![]()
Course sourcehttps://developer.ibm.com/zh/technologies/analytics/tutorials/data-analysis-in-python-using-pandas/ Online python's jupyter not...
2093 viewsLike (0)Tags:Python Basic Curriculum
admin Published on 2020-11-10
![]()
# coding:utf-8 python3 from turtle import* def nose(x,y):#鼻子 pu() goto(x,y) pd() seth(-30) begin_fill() a=0.4 for i in range(120): if 0<=...
1713 viewsLike (0)Tags:Python Basic Curriculum
admin Published on 2020-11-10
![]()
1,实验代码 import turtle turtle.pensize(4) turtle.pencolor('red') turtle.forward(100) turtle.right(90) turtle.forward(100) turtle.right(90) turt...
1858 viewsLike (0)Tags:linux common commands / Python Basic Curriculum
admin Published on 2020-11-10
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Introduction TermuxIt's one.AndroidNext advanced terminal emulator, open source and not requiredrootSupportaptManage packages that are easil...
3210 viewsLike (0)Tags:linux common commands / Python Basic Curriculum / Termux
admin Published on 2020-11-06
#pythonrun environmentPython3.9 #目标:爬取梨视频上的视频数据下载到本地 #分析网站: # 1,数据来源 if ?{动态数据,or 静态数据}? 通过谷歌浏览器的检查判断源代码 # 2,数据抓包分析 #视频排行榜页面列表https://www.pe...
2219 viewsLike (0)Tags:Python Basic Curriculum
admin Published on 2020-11-04
![]()
Yes.Labyrinth algorithm wrap-upI summarised the four algorithms that created the maze, and in this article I focused on how the maze game wo...
2298 viewsLike (0)Tags:Python Basic Curriculum
admin Published on 2020-11-04
#说明新建sudoku文件夹下面由两个模块组成分别为主程序gui.py和解决模块solve.py 游戏运行主程序gui.py #游戏玩法再生成的已知代码中的数组 9x9的题目 生成已知游戏,然后再图形界面中输入输入使用回车进行确认 # GUI.py # RUN THIS FILE...
2046 viewsLike (0)Tags:Python Basic Curriculum / sudoku