上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Net; 6 using System.Text; 7 using System.Threading.Tasks; 8 9 namespace ClientTest... 阅读全文
posted @ 2018-11-09 16:21 Aaron_Net 阅读(5020) 评论(0) 推荐(0) 编辑
摘要: from django.db import models class Blog(models.Model): name = models.CharField(max_length=100) tagline = models.TextField() def __unicode__(self): # __str__ on Python 3 ret... 阅读全文
posted @ 2018-11-08 14:23 Aaron_Net 阅读(158) 评论(0) 推荐(0) 编辑
摘要: django-admin.py startproject learn_models # 新建一个项目 cd learn_models # 进入到该项目的文件夹 django-admin.py startapp people # 新建一个 people 应用(app) learn_models\settings.py INSTALLED_APPS -> 'people', people/mod... 阅读全文
posted @ 2018-11-08 11:48 Aaron_Net 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 重复判断 阅读全文
posted @ 2018-11-07 17:19 Aaron_Net 阅读(161) 评论(0) 推荐(0) 编辑
摘要: zqxt_views/urls.pypath('', calc_views.index, name='home'), calc/views.pydef index(request): return render(request, 'home.html') calc/templates/home.ht 阅读全文
posted @ 2018-11-03 18:20 Aaron_Net 阅读(1284) 评论(0) 推荐(0) 编辑
摘要: django-admin.py startproject zqxt_viewscd zqxt_viewspython manage.py startapp calczqxt_views/urls.py from calc import views as calc_views urlpatterns 阅读全文
posted @ 2018-10-31 17:54 Aaron_Net 阅读(121) 评论(0) 推荐(0) 编辑
摘要: cmd d:\python\python.exe pip install --upgrade pip d:\python\python.exe pip install Django 123.py import django print(django.VERSION) print(django.get 阅读全文
posted @ 2018-10-30 17:23 Aaron_Net 阅读(111) 评论(0) 推荐(0) 编辑
摘要: var lines = JsonConvert.DeserializeObject<List<qqq>>(dataSource); 类参数 publist string dd(List<qqq> lines) 自动反序列化 Math.Round(0.333333,2);//按照四舍五入的国际标准 p 阅读全文
posted @ 2018-10-30 14:51 Aaron_Net 阅读(159) 评论(0) 推荐(0) 编辑
摘要: HSSFWorkbook workbook = new HSSFWorkbook(); HSSFSheet sheet = workbook.CreateSheet( "Sheet1") as HSSFSheet; IRow row = sheet.CreateRow(0); row.Height 阅读全文
posted @ 2018-10-30 12:00 Aaron_Net 阅读(6912) 评论(0) 推荐(0) 编辑
摘要: 1 var uploadSectionDir = Path.Combine("Upload", "QQ", DateTime.Now.ToString("yyyyMMdd")); 2 string uploadDir = Path.Combine(HttpRuntime.AppDomainAppPath, uploadSectionDir); 3 ... 阅读全文
posted @ 2018-10-27 17:02 Aaron_Net 阅读(198) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页