List of pastes

List of pastes
:

tree (Plain text) okapi5087 2019-05-19 19:39
C:\Django\kosu>tree フォルダー パスの一覧: ボリューム Windows7_OS ボリューム シリアル番号は FCCB-B8FB です C:. ├─migrations │ └─__pycache__ ├─static ├─templates │ └─kosu └─__pycache__ C:\Django\kosu>
kosu ソース (Plain text) okapi5087 2019-05-19 19:37
C:\Django\kosu>for /r c:\django\kosu %i in (*.py) do type %i C:\Django\kosu>type c:\django\kosu\admin.py from django.contrib import admin # Register your models here. C:\Django\kosu>type c:\django\kosu\apps.py from django.ap...
check-page-load.py (Python) sugi 2019-05-08 14:46
#!/usr/bin/env python from seleniumwire import webdriver # Import from seleniumwire import sys driver = webdriver.Chrome() driver.get(sys.argv[1]) for request in driver.requests: if request.response and request.response....
Getting started with Kotlin Development in Android Studio (Plain text) kronstadt 2019-04-24 03:43
I am using Fedora Linux, but the procedure should not vary wildly. You will see that it is very easy to get started. 1. Download from https://developer.android.com/studio/index.html (1,1 GB) 2. Unpack (e. g. `sudo tar xzvf android-s...
PRIMES.BAS (Plain text) reiisi 2019-04-23 11:55
Building a sieve and counting primes in BASIC on the venerable Color Computer. Can go up to 4,100 primes in a 32K machine, see MAX on line 10. 4,100 requires three minutes or so.
Python文件作业 (Plain text) zyc1061422 2019-04-22 23:21
#20190409文件读入作业 f = open("white_wine.csv","r") out = open("output.txt","w") lines = f.readlines() quality=set() dic = {} fa = {} #001输出数据的前五行 for i in range(0,5): lines[i]=lines[i].strip() print(lines[i]) ...
20190416实验002 (Plain text) zyc1061422 2019-04-16 18:51
#bduegf #001输出有多个出版社 fi = open("book_list.csv","r") lines = fi.readlines() fl = lines[0] pub = set() for i in range(1,len(lines)): line = lines[i] line = line.strip() line = line.split(',') line = line[-...
20190416实验001 (Plain text) zyc1061422 2019-04-16 17:46
#20190416001 f = open("students.txt","r") infor = f.readlines() list1 = ['学号:',',姓名:',',年龄:',',专业:',',分数"'] num = len(infor) for i in range(num): if i : line = infor[i].strip() line = line.split('\t'...
20190402实验003 (Plain text) zyc1061422 2019-04-02 18:19
#模块 ''' include tow functions the first function is used to find the max number in the list the second function is used to calculate the average of a set of numbers ''' import random def findMax(lst): maxx=-100000 for ...
20190402实验002 (Plain text) zyc1061422 2019-04-02 17:58
#3-2 #001 import math def sum(a=10,b=20,c=30): return a+b+c #001三个数都不确定 print("001 ",sum()) #002只有一个数是确定的 print("002 ",sum(20)) #003有两个数是确定的 print("003 ",sum(20,40)) #004三个数都是确定的 print("...