自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1)
  • 资源 (3)
  • 收藏
  • 关注

转载 正则表达式 ?P<name>

import re # 将匹配的数字乘以 2 def double(matched): value = int(matched.group('value')) return str(value * 2) s = 'A23G4HFD567' print(re.sub('(?P<value>\d+)', double, s)) 从中也可以理解,url(r'^(?P<username>[\w.@+-]+)/$', views.user_profile, na.

2021-04-03 15:45:30 497

VBA实现进度条的显示

VBA实现进度条的显示 Sub Test() ' The UserForm1_Activate sub calls Main UserForm1.LabelProgress.Width = 0 UserForm1.Show End Sub Private Sub UserForm_activate() Call Main End Sub Sub Main() ' Inserts random numbers on the active worksheet Dim Counter As Integer Dim RowMax As Integer, ColMax As Integer Dim r As Integer, c As Integer Dim Completed As Single If TypeName(ActiveSheet) "Worksheet" Then Exit Sub Cells.Clear Application.ScreenUpdating = False Counter = 1 RowMax = 100 ColMax = 25 For r = 1 To RowMax For c = 1 To ColMax Cells(r, c) = Int(Rnd * 1000) Counter = Counter + 1 Next c Completed = Counter / (RowMax * ColMax) With UserForm1 .FrameProgress.Caption = Format(Completed, "0%") .LabelProgress.Width = Completed * (.FrameProgress.Width) End With ' The DoEvents statement is responsible for the form updating DoEvents Next r Unload UserForm1 End Sub

2010-06-27

FMIS7.0内部交易功能介绍

FMIS7.0内部交易功能介绍 内部交易

2010-05-28

sap Query 培训

学习SAP ABAP Query的不可多得的教程

2009-11-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除