#!/usr/bin/python # -*- coding: UTF-8 -*- import string s = raw_input('请输入一个字符串:\n') letters = 0 space = 0 digit = 0 others = 0 for c in s: if c.isalp... ...
分类:
其他好文 时间:
2018-05-23 19:04:31
阅读次数:
141
一、djangoadmin 二、from django.views.decorators.http import require_GET ...
分类:
其他好文 时间:
2018-05-23 19:03:36
阅读次数:
159
1.有空格 javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String 在jstl标签属性中的""中间不能有空格,真实死都不知道怎么死的。 原: <c:forEach items="${ ...
分类:
编程语言 时间:
2018-05-23 19:01:14
阅读次数:
387
nl命令在linux系统中用来计算文件中行号。nl 可以将输出的文件内容自动的加上行号!其默认的结果与 cat -n 有点不太一样, nl 可以将行号做比较多的显示设计,包括位数与是否自动补齐 0 等等的功能。 1.命令格式: 2.命令参数: 3.命令功能: nl 命 令读取 File参数(缺省情况 ...
分类:
系统相关 时间:
2018-05-23 18:59:29
阅读次数:
277
服务依赖的dubbo包升级后,启动服务tomcat报22222端口被占用 原因: dubbo 2.5.8 新版本重构了 telnet 模块,提供了新的 telnet 命令支持。新版本的 telnet 端口 与 dubbo 协议的端口是不同的端口,默认为 22222。测试环境一台机器部署多个服务,导致 ...
分类:
其他好文 时间:
2018-05-23 18:13:31
阅读次数:
2969
ubuntu下安装pandas出现 compile failed with error code 1 in /tmp/pip_build_hadoop/pandas ...
分类:
系统相关 时间:
2018-05-23 18:08:06
阅读次数:
253
原文 https://stackoverflow.com/questions/28240528/how-do-i-duplicate-a-resource-reference-in-code-behind-in-wpf ...
idea项目导出到桌面 很简单,直接去项目所在目录考出即可,但是考出的项目往往都特别大,这是因为考出之前 我们不要忘记把idea的输出目录删除 每次启动服务器运行idea项目的时候 都会有一个输出目录 默认名字为target ...
分类:
系统相关 时间:
2018-05-23 17:04:02
阅读次数:
188
Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is at leas ...
分类:
其他好文 时间:
2018-05-23 17:01:36
阅读次数:
187
有时候我们需要查看打成war包之后的目录,如果是maven项目我们可以直接用maven打包。 1.maven打包: 第一种: 如果不行先 mvn clean一下 第二种:(掌握) 打包完成之后会在target目录下生成war包 2.解压war包 解压之后原来的war包不会自动消失,将里面的文件提取出 ...
分类:
其他好文 时间:
2018-05-23 17:00:06
阅读次数:
175