Python split() 函数 拆分字符串 将字符串转化为列
函数:split()Python中有split()和os.path.split()两个函数,具体作用如下:split():拆分字符串。通过指定分隔符对字符串进行切片,并返回分割后的字符串列表(list)os.path.split():按照路径将文件名和路径分割开一、函数说明1、split()函数语法:str.split(str"",numstring.c
Easter79 Easter79
3年前
sublime text3安装
1.安装packagecontrolle:Ctrl\2.importurllib.request,os;pf'PackageControl.sublimepackage';ippsublime.installed_packages_path();urllib.request.install_opener(
Stella981 Stella981
3年前
Bootstrap3基础 form
<center内容</center<center参数</center  OS  Windows10x64  browser  Firefox65.0.2  framework    Bootstrap3.3.7  editor  VisualStudioCode1.32.1    typesett
Stella981 Stella981
3年前
Mac OS X 10.15 编译和安装 Nginx
想在自己电脑里装个Nginx来进行各种测试,下面是详细的过程记录:1\.下载软件首先建个临时目录nginxsrc并下载所需软件的源码进行配置mkdirnginxsrccdnginxsrcwgethttp://nginx.org/download/nginx1.17.8.tar.gz
Stella981 Stella981
3年前
Html开发之Viewport的使用
     近年来随着移动端的快速发展,越来越多传统的web应用需要适配移动终端,下面记录一下如何通过viewport实现简单的不同型号的手机端的适配问题。不过在此之前,介绍一下如何通过Chrome浏览器,调试在移动终端上的效果。调试工具    首先我们打开chrome谷歌浏览器,输入天猫地址(实现了手机端适配),按F12进入开发者模式
Wesley13 Wesley13
3年前
h5
1.html代码1<h3class"playerTitle"视屏播放器</h32<divclass"player"3<videosrc"../mp4/chrome.mp4"</video4<divclass"controls"5
Stella981 Stella981
3年前
Android Intent隐式意图显示菜单
package com.example.mytest;import android.os.Bundle;import android.app.Activity;import android.view.Menu;public class MainActivity extends Activity { @
Stella981 Stella981
3年前
Javascript解析XML相关DOM API兼容性一览
文档APIChrome63Chrome5Firefox55Firefox3.6Edge18IE11 仿真IE9、IE10Microsoft.XMLDOMimplementation       characterSetUTF8nullUTF8UTF8utf8utf
Stella981 Stella981
3年前
Python并发编程
importtimefrommultiprocessingimportProcessimportosdeffunc(args,args2):传递参数到进程print(args,args2)time.sleep(1)print('子进程:',os.ge
Stella981 Stella981
3年前
Mac OS X 10.5快速系统部署实践
MacOSX10.5FastSystemDeploymentPracticeMacOSX10.5快速系统部署实践制定计划   计划很重要,在前期计划中的一点错误或者失误都会传递到每一个部署的机器上,计划不仅要每个步骤考虑清楚,而且要考虑到前后逻辑相关性和对其他系统资源的影响,考虑不周,有的时候