码迷,mamicode.com
首页 >  
搜索关键字:ordinal not in range    ( 9621个结果
利用range() 控制循环
s = ['a','b','c','d','e']for i in range(len(s)):... if i < len(s)-1:... print s[i]abcdfor i in range(len(s)):... if i < len(s)-1:... print s[i+1]...bc...
分类:其他好文   时间:2014-07-25 14:20:51    阅读次数:198
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “object”未包含“get_Range”的定义
asp.net操作Excel合并单元格时,抛出了异常: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “object”未包含“get_Range”的定义 在 CallSite.Target(Closure , CallSite , ComObject , Object , Object ) 在 System.Dynamic.U...
分类:其他好文   时间:2014-07-25 11:03:01    阅读次数:460
Asp.net操作Excel常用方法及属性
// 设置单元格格式为文本 range.NumberFormatLocal = "@"; // 获取Excel多个单元格区域:本例做为Excel表头 range = (Range)worksheet.get_Range("A1", "E1"); // 单元格合并动作 range.Merge(0); // Excel单元格赋值 worksheet.Cells[1, 1] =...
分类:Web程序   时间:2014-07-25 10:58:01    阅读次数:253
Excel 删除行数据的同时删除当前行中的对象
Private Sub Worksheet_Change(ByVal Target As Range)Dim srg As Range, x As ShapeIf Target.Count = Target.EntireRow.Cells.Count Then For Each x In Shape...
分类:其他好文   时间:2014-07-25 03:50:35    阅读次数:237
原创:如何实现在Excel通过循环语句设置指定行的格式
原创:如何实现在Excel通过循环语句设置指定行的格式一、需求:想让excel的某些行(比如3的倍数的行)字体变成5号字 如何整;二、实现:Sub code()For i = 1 To Range("A65536").End(xlUp).Row Rows(3 * i & ":" & 3 * i...
分类:其他好文   时间:2014-07-24 17:15:05    阅读次数:247
灰色预测
clearx0=[89677,99215,109655,120333,135823,159878,182321,209407,246619,300670];pre_num=10;n=length(x0);disp('级比检验')lambda=x0(1:end-1)./x0(2:end);range=...
分类:其他好文   时间:2014-07-23 22:23:07    阅读次数:321
mobile crusher
we offers a wide range of medium mobile crusher, screening and scalping solutions for quarrying, recycling, contracting and mining applications. Our m...
分类:其他好文   时间:2014-07-23 16:12:51    阅读次数:189
Bag Golf Equipment Is More Functional
Variety Merchandise - top directory usually found large bags attract Australia on top of the range solution for blogs and articles about the content o...
分类:其他好文   时间:2014-07-23 12:31:06    阅读次数:296
Python 找到已经存在IE实例
#coding=utf-8import win32com.clientclsid='{9BA05972-F6A8-11CF-A442-00A0C90A8F39}'ShellWindows=win32com.client.Dispatch(clsid)for i in range(ShellWindo...
分类:编程语言   时间:2014-07-22 22:45:34    阅读次数:218
如何从ios酷我音乐盒中导出已下载的音乐文件(使用Java编程实现)
酷我音乐ios版下载的音乐文件,通过同步助手等软件查看时,发现音乐文件都是一串数字命名。通过网上查找和自己尝试,发现那些文件都是音频文件改了文件名而已。只要修改回文件名,就能和正常的音乐一样播放了。 在网上找到了一个软件,也就是上面参考网址中的软件,但是使用的时候出现了问题,提示subscript out of range,程序不能继续执行。于是就决定自己用Java写一个来处理。 首先从手机复制出cloud.db数据库文件,为SQLite数据库文件。用SQLite Database Browser打开,...
分类:移动开发   时间:2014-07-22 00:02:33    阅读次数:395
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!