logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

groovy风格字符串截取、赋值、拼接

1、截取字符串deftext1="Mylastcharacterwillberemovedsoon"printlntext1[0..-2]//Mylastcharacterwillberemovedsoodeftext2="Myfirstwordwillberemovedsoon";prin...

python报错解决

1、Pycharm报错解决:error:please select a valid Python interpreter问题原因: 在pycharm导入源项目的时候没有选择运行Python的程序解决办法:1、更改Pycharm的设置 打开settings(CTRL + ALT + S)或者file>settings,打开配置框,如下图:2、在查询框中输入interpret...

python字符串、变量赋值

多个变量赋值Python允许你同时为多个变量赋值。例如:a, b, c = 1, 2, "john"print a,b,c标准数据类型在内存中存储的数据可以有多种类型。Python 定义了一些标准类型,用于存储各种类型的数据。Numbers(数字)String(字符串)List(列表)Tuple(元组)Dictionary(字典)Python数字...

python经典样例

#!/usr/bin/python# -*- coding: UTF-8 -*-import osdef main():print 'hello world'print "这是Alice\'的问候."print '这是Bob\'的问候'foo(5, 10)print '=' * 10print '这将直接执行'+os.ge...

python获取jira字段

#!/usr/bin/env python# -*- coding: utf-8 -*-# @Time: 2018-10-29 15:35# @Author: wzz# @Site:# @File: jira.py# @Software: PyCharm#coding=utf-8from jira import JIRAjira_server...

到底了