首页 > TAG信息列表 > Roy

Python基础笔记

mystr = ‘RoyKun’ result = mystr.index(‘R’) # 获取字符索引,没找到会崩溃 print(result) # 0 result = mystr.find(‘K’) # 获取字符索引,如果没找到返回-1 print(result) # 3 区分大小写哦! result = mystr.count(‘u’) # 字符出现的个数 print(result) # 1 result = l

利用css3和js实现旋转木马图片小demo

先看效果图:   上源码 html代码 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv=&q

Linux——nohup命令使用(weblogic启动命令)

Linux下有时候我们希望某个程序可以一直在后台执行,很多都是使用& 在程序命令结尾来让程序自动运行。  例如: [root@lbogon roy]# ./test.sh &  但是这样子在终端关闭的时候,程序也会随之停止,此时我们可以使用nohup命令:  nohup command &  例如: [root@lbogon roy]# nohup ./te

[解读REST] 0.REST 相关参考资料

Web之父 Tim Berners Lee :https://en.wikipedia.org/wiki/Tim_Berners-Lee 世界上诞生的第一个网站:http://info.cern.ch/ 世界上诞生的第一个网站-模拟器:http://line-mode.cern.ch/www/hypertext/WWW/TheProject.html Web的生日:http://home.cern/topics/birth-web HTTP 0.9 :https: