<?xml version="1.0" encoding="gb2312"?>
<rss version="2.0">
<channel>
<title>Python(中蟒)/Ruby</title>
<link>/html/345/index.html</link>
<description>编程开发 / Python(中蟒)/Ruby</description>
<language>zh-cn</language>
<generator>&lt;a href='http://www.souzz.net' target='_blank'&gt;搜站长&lt;/a&gt;</generator>
<webmaster>lyjrich@sina.com</webmaster>
<item>
    <title>B. 中英保留字对照表</title>
    <link>/html/345/23530.html</link>
    <description>假如你已很熟 Python 的用法, 这里只记录中英对照版本, 可以作为快速入门. 写 ..(print)删除 ..(del)定义/函数 (def)忽略 (pass) 中断 (break)下一个 (continue)传回 (return)示警 (raise)载入 ... 名 ... (import ... as ...)从 ... 载入 ...共用 (global)执行 (exec)</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>中蟒简介/什么是中蟒</title>
    <link>/html/345/23518.html</link>
    <description>1. 什么是中蟒 ? 中蟒可以算是 Python 编程语言的一个中文翻译版。 不过除了用户信息, 中蟒还翻译了 Python 的保留字, 内建函数, 类别定义等等。 也就是说, 在一般情况下, 你可以用纯中文句子来编写 Python 程式。 2. 能给个例子吗 ? 假设英文 Python 的程式是这样的 (</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>启动中蟒: 在视窗和 linux 环境中使用中蟒即译器</title>
    <link>/html/345/23519.html</link>
    <description>视窗 9x 系统: 视窗系统下, 中蟒的安装非常容易. 只要把下载的压缩档解压到某个目录就可以了. 为了让执行时更方便, 可以把所有 .py 和 .pyc 档和中蟒即译器关联起来. 执行档 cpython.exe 和 cpythonw.exe 是一样的. 不过 cpythonw.exe 在运行时不会打开 DOS 窗口. 另外</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>基本操作: 基本功能和内建数据的使用方法</title>
    <link>/html/345/23520.html</link>
    <description>当计算机: 进入中蟒互动环境后, 你可以当它是一部现成的计算机来用: 12 + 315 15 * 230 21%2 #(取余数)1 12/13 #(因为答案要取整数值, 0.923... 会变成 0)0 12.0 / 13 #(这样就没问题了, 因为中蟒明白你现在要小数0.92307692307692313 12 + 3 * 3 #(先乘除, 后加减)21 2</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>流程控制: 判别式和回圈</title>
    <link>/html/345/23521.html</link>
    <description>判别式: 在程式的运行中, 很多时需要根据不同的情况做相应的运算. 为了处理这些不同的情况, 我们需要把每个情况下应做的操作全部写好. 这些称为程式中的分枝. 中蟒提供了判别式 &quot;如 .. 不然 .. 否则&quot; 来让程式决定该执行哪一条分枝. 例子: 答 = 整数(输入(&quot;请告诉我你</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>定义函数: 结构化编程概念</title>
    <link>/html/345/23522.html</link>
    <description>中蟒有 '定义' 和 '函数' 两个关键字来定义函数. 这两个字是通用的. 很多人都爱把常用的指令组用一个代号(函数名)表示, 当程式需要该项功能时便只需调用该函数. 多用函数可以养成编写结构化程式的习惯. 例子: 定义 问电话(人名, 关系 = '朋友'): &quot;&quot;&quot;这里是说明文件, 随</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>类别/对象: 用概念为主的编程法代替以功能为主的编程</title>
    <link>/html/345/23523.html</link>
    <description>小王.印刷('这是一份广告') 写 '完成' 小李.检查('论文一篇') 执行结果: 由王小明印html;这是一份广告/html;完成稿件长度为: 8 可以看到所谓的概念, 其实像是一整套完整的, 自给自足的小程式. 它包括了自己的变数 (称为属性), 自己的函数 (称为方法). 用概念的方法来为</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>写作模组: 让你的编程工具箱功能倍增</title>
    <link>/html/345/23524.html</link>
    <description>模组其实就是存成 .py 档的函数定义或概念定义. 中蟒鼓励重用你已写好的代码, 模组的设计使这项工作变的很容易. 假设你写了这样两个函数并把它存成 &quot;费氏.py&quot; 定义 数项(上限): &quot;&quot;&quot; 本函数计算不大于 '上限' 值的费氏级数项, 传回该项值. &quot;&quot;&quot; 甲, 乙 = 0, 1 只要 乙 上</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>A..4 中蟒内建函数说明文件产生器</title>
    <link>/html/345/23529.html</link>
    <description>参考手册自动产生器 定义 做文件(名字, 实体, 档名): 内文 = &quot;h3%s的操作/h3\n&quot;%(名字) 表 = 内容(实体) 如 名字 == '&quot;__内建__&quot;': 表 = [ 甲 取 甲 自 表 如 甲[-4:] != '异常' ] 内文 += '''table width=95% align=center bgcolor=#ddeeff cellspacing=5 cellpadding=</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>保留字: 所有中蟒关键字表</title>
    <link>/html/345/23525.html</link>
    <description>写, 删除, 定义/函数, 忽略, 中断,下一个, 传回, 示警, 载入...名..., 从...载入...,共用, 执行, 断言, 如..不然..否则.., 只要..否则..,取..自..然后.., 试..失败..否则..然后..,概念/类别, 来自/不来自, 是/不是写 ..: 将 .. 输出到萤幕. 中蟒会自动加上断行符号, 如</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>A..1 为中蟒加油</title>
    <link>/html/345/23526.html</link>
    <description>#!/usr/local/bin/cpython回答 = 读入('你认为中文程式语言有存在价值吗 ? (有/没有)')如 回答 == '有':写 '好吧, 让我们一起努力!'不然 回答 == '没有':写 '好吧,中文并没有作为程式语言的价值.'否则:写 '请认真考虑后再回答.' 这个程式示范了如何取得用户输入和程式</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>A..2 中蟒网站的繁简互换网关程式</title>
    <link>/html/345/23527.html</link>
    <description>因为中蟒内建了对大五和国标码的支持. 所以这变成一件十分容易的事. #!/.../cpython -bS载入 os写 &quot;Content-type: text/html\n\n&quot;文件 = os.getenv('PATH_TRANSLATED')内文 = 打开(文件, &quot;r&quot;).读入(20000).大五变国标()写 内文.原始码() 只有 6 行而已 !! 第一行是告诉</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>A..3 基因字典模组</title>
    <link>/html/345/23528.html</link>
    <description>汉字基因字典 汉字基因字典是朱邦复先生编修的字典. 字典内容多取自康熙字典, 但加入了汉字基因的概念: 每个单字以其基因字首字身加以解释. 为学习 &quot;汉字&quot; 的好材料. 本模组作为示范用途, 仅供查询单字, 并不涉及朱老汉字基因的诸种妙用. #--BIG5-- (此行为暗号, 向中蟒</description>
    <pubDate>2007-04-13</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>ruby 类／方法的定义</title>
    <link>/html/345/23495.html</link>
    <description>类定义 例: class Foo Super def test : end :end 语法: class 标识符 [`' superclass ] 表达式..end 语法: ruby 1.7 特性 class 标识符 [`' superclass ] 表达式..[rescue [error_type,..] [= evar] [then] 表达式..]..[else 表达式..][ensure 表达式..]end 用来定义</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby控制结构</title>
    <link>/html/345/23493.html</link>
    <description>条件分支 if if 修饰句 unless unless 修饰句 case 循环 while while 修饰句 until until修饰句 for break next redo retry 异常处理 raise begin rescue修饰句 其他 return BEGIN END (与C等语言不同的是)Ruby的控制结构是表达式，其中的一部分还会返回值(也有不返回</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>操作符表达式</title>
    <link>/html/345/23492.html</link>
    <description>例: 1+2*3/4 为了便于编程，有些方法调用和控制结构是以操作符的形式出现的。Ruby语言中有下列操作符。 高 :: [] +(单项) ! ~ ** -(单项) * / % + - | ^ = = = == === != =~ !~ || .. ... ?:(条件操作符) =(+=, -= ... ) not低 and or 左侧的“高”和“低”表示操作符</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Windows下PATH的设定方法</title>
    <link>/html/345/23472.html</link>
    <description>Windows 95或Windows 98 首先使用记事本等合适的编辑器打开C:AUTOEXEC.BAT。找到以「SET PATH=」或「PATH=」或「PATH」开始的行，并在行尾添加「;C:Rubyin」。若没有该行的话，请自己添加「PATH %PATH%;C:Rubyin」。然后重启系统即可生效。 Windows Me 在「开始菜单」</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby内部函数</title>
    <link>/html/345/23496.html</link>
    <description>严格说来,Ruby中没有函数.但 Kernel 模块中定义的方法(可以在任何地方用做函数,因此)可被其他语言当做函数来调用.若您对这些方法进行再定义时,就必需考虑到对其他方面的影响. ` str 把字符串 str 当做外部命令来运行,并以字符串方式返回命令的输出.使用 `str` 形式来调</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby术语集</title>
    <link>/html/345/23497.html</link>
    <description>--按英文排序 A AWK 由Alfred Aho(A)、Peter Weinberger(W)和Brian Kernighan(K)共通创建的一种小型脚本语言。 B blade ml archive (blade/ruby) C Coerce 进行数据类型变换的方法。如果某数值计算方法从参数那里获得了一个类型不明的实例时, 它会调用coerce方法来进行</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>pack模板字符串</title>
    <link>/html/345/23498.html</link>
    <description>下面就是Array#pack、String#unpack中所用到的模板字符的一览表。模板字符后面可以跟上表示&quot;长度&quot;的数字。若使用'*'来取代&quot;长度&quot;的话, 则表示&quot;剩下的所有字符&quot;之意。 长度的定义因模板字符的不同而有所差异, 大体上像 &quot;iiii&quot; 这样的连续字符可以写成 &quot;i4&quot; 这个样子。</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>sprintf格式</title>
    <link>/html/345/23499.html</link>
    <description>Ruby的sprintf格式与C语言的sprintf(3)基本相同。但还是有些差别: 它没有针对C特有类型的修饰符,如short或long等; 它包含2进制数的指示符(%b); 它不支持sprintf的方言式的语法。 下面就对ruby的sprintf格式进行详细的说明。 sprintf格式的规格如下所示。[]中的部分是可</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Marshal格式</title>
    <link>/html/345/23500.html</link>
    <description>以4.8(对应于1.8)版的格式为蓝本 # 截至2003-05-02为止的格式版本如下所示p Marshal.Dump(Object.new).unpack(&quot;cc&quot;).join(&quot;.&quot;) = ruby 1.6.0 (2000-09-19) [i586-linux] &quot;4.4&quot; = ruby 1.6.1 (2000-09-27) [i586-linux] &quot;4.4&quot; = ruby 1.6.2 (2000-12-25) [i586-linux] &quot;</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby是什么?诞生过程?安装文件？</title>
    <link>/html/345/23501.html</link>
    <description>1.1 Ruby是什么？ 一言以蔽之，Ruby是一种 语法简单且功能强大的面向对象的脚本语言。 与perl一样，Ruby的文本处理功能十分强大。当然了它的功能远不止于此，您还可以使用它来开发实用的服务器软件。 Ruby博采众长，吸收了众多语言的优点，却又别具一格。 Ruby的优点主</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>ruby方法调用</title>
    <link>/html/345/23494.html</link>
    <description>例: foo.bar()foo.barbar()print &quot;hello world\n&quot;printClass::new 语法: [表达式 `.'] 标识符 [`(' 表达式 ... [`*' [表达式]],[`' 表达式] `)'][表达式 `::'] 标识符 [`(' 表达式 ... [`*' [表达式]],[`' 表达式] `)'] 方法调用表达式表示调用被调(receiver,&quot;.&quot;左侧表</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>ruby字面值</title>
    <link>/html/345/23491.html</link>
    <description>数值字面值 123 0d123 ruby 1.7 特性 整数 -123 有符号整数 trap::Numeric 123.45 浮点数 ruby 1.8 特性 : 不能把0.1写成&quot;.1&quot;，而只能完整地写为0.1。 1.2e-3 浮点数 0xffff 16进制整数 0b1011 2进制整数 0377 0o377 ruby 1.7 特性 8进制整数 ?a 字符 a 的代码(97) rub</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby正则表达式</title>
    <link>/html/345/23478.html</link>
    <description>Ruby中常会用到正则表达式。正则表达式是用来表达字符串的模式(pattern)的。也可以这么理解：我们使用正则表达式来表示某种搜索规则，然后使用该正则表达式来完成字符串的搜索工作。举个例子，假定有这样的搜索规则：“字符串以’FOO’开始，以’R’结束”，那么就可以</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>迈出第一步 - grep</title>
    <link>/html/345/23477.html</link>
    <description>以Ruby为代表的脚本语言常被用来进行文本处理。为了能对她有个感性认识，我们先给出第一道例题教您使用“grep”命令，其功能就是从文本中找出符合正则表达式的行。 grep命令用法如下。 grep pattern file... 省略文件名时则从标准输入搜索合适的行。 若用Ruby（简单地</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>教程：Ruby的基础</title>
    <link>/html/345/23476.html</link>
    <description>Ruby的“单行程序” 为了使您适应脚本语言，首先介绍几个Ruby的单行程序。 # 经典的 Hello world.print &quot;Hello world\n&quot; # 列出输入文件中包含”From”的行while gets(); print if /From / end # 向文件中添加行号while gets(); print $., &quot;:&quot;, $_ end # π的计算print</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>面向初学者的Ruby安装指南</title>
    <link>/html/345/23474.html</link>
    <description>您想在下列哪个平台上使用Ruby呢？ Windows 95/98/Me/XP 请直接进入下个单元。 Windows NT/2000 Windows NT或Windows 2000并不是供初学者单独使用的OS。安装Ruby的方法大体上与Windows95/98/Me相同，但有很多具体步骤或问题点需要特别留意。还是请教身边的高手比较稳妥</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>不同的Microsoft Windows编译环境所引起的差异</title>
    <link>/html/345/23473.html</link>
    <description>版本的选择 若您精通UNIX且迷恋CUI的话，请安装Cygwin后自己编译Cygwin版。若非如此的话，我们向您推荐mswin32版和mingw版。后者中两个版本的区别仅仅是编译环境不同而已，若使用二进制的话，则没有什么不同(但Ruby1.6中稍有不同，后文详述)。若您经常使用COM (Compone</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>教程：Ruby概述</title>
    <link>/html/345/23475.html</link>
    <description>Ruby是面向对象的编程语言，她追求的是“简便快捷的面向对象编程”。Ruby是解释型语言，因此不需编译即可快捷地编程。同时Ruby具有类似Perl的强大的文本处理功能，她可并不只是个玩具，您可以用她来进行实用的编程。此外，您还可以很方便地使用C语言来扩展Ruby的功能，</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby安装方法分类</title>
    <link>/html/345/23471.html</link>
    <description>大体说来，Ruby的安装方法可分为两类。 第一种方法，自己编译源代码然后开始安装。在UNIX系列OS(Linux、NetBSD、FreeBSD、Solaris、HP-UX以及Windows中的Cygwin等等)平台上采用这种方式安装时，操作方法大同小异且简便快捷。在Windows环境中，编译环境的不同会带来功能</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>如何取得Ruby</title>
    <link>/html/345/23470.html</link>
    <description>您可以从各个镜像站点下载稳定版 ruby 1.8.1 。 您还可以下载下一个稳定版本的预览版 ruby 1.8.2 preview1 。 我们用tar.gz把当前 CVS稳定版快照 (Fri Jul 30 04:00:51 JST 2004)保存下来。这是在1.8系列稳定版的基础上打了补丁的版本。若您需要比最终版本还要稳定的版</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>宣言--Ruby在中国</title>
    <link>/html/345/23469.html</link>
    <description>谨以此网站献给全世界的Ruby爱好者！ 使用Ruby编程给我带来了&quot;前所未有的快乐体验&quot;。她语法简单自然，文本处理能力超群，更拥有丰富的库资源。她使我可以有条不紊地、心情愉悦地进行研发工作，同时令我真切体会了编程的妙趣。 创建该网站的目的，就是想为您提供一个可</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby线程</title>
    <link>/html/345/23479.html</link>
    <description>线程概述 线程(Thread)就是指能在一个程序中处理若干控制流的功能。与OS提供的进程不同的是，线程可以共享内存空间。 Ruby中使用的线程是用户级线程，由Ruby解释器进行切换管理。其效率要低于由OS管理线程的效率，且不能使用多个CPU，这确实是它的缺点。但其优点也很明</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby的启动</title>
    <link>/html/345/23480.html</link>
    <description>请使用如下命令行启动Ruby解释器. ruby [ option ...] [ -- ] [ programfile ] [ argument ...] 这里的&quot;option&quot;指下文将要提到的命令行选项中的一个。&quot;--&quot;则显式地表明选项字符串到此结束。&quot;programfile&quot;是装载Ruby脚本的文件。若省略不写或者写成&quot;-&quot;时,Ruby会把标准输</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby解释器环境变量</title>
    <link>/html/345/23481.html</link>
    <description>Ruby解释器使用下列环境变量。 RUBYOPT 指定默认情况下传给Ruby解释器的选项。 sh系 RUBYOPT='-Ke -rkconv'export RUBYOPT csh系 setenv RUBYOPT '-Ke -rkconv' MS-DOS系 set RUBYOPT=-Ke -rkconv RUBYPATH 指定 -S 选项后，Ruby会搜索环境变量PATH指定的Ruby脚本。此</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby变量和常数</title>
    <link>/html/345/23490.html</link>
    <description>您可以通过区分Ruby变量名的首位字符来确定它是局部变量、实例变量、类变量、全局变量还是常数。通常情况下，变量名的第二位字符以后是数字、字母或下划线，但有的内部变量名比较特殊，如“'$'+1个符号”(请参考 内部变量 )。变量名长度只受内存大小的限制。 局部变量</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby程序</title>
    <link>/html/345/23489.html</link>
    <description>将表达式连接起来就构成程序。使用分号(;)或换行将表达式分隔开来。但反斜线后出现的换行并非分隔符，它表示该行将继续下去。 例: print &quot;hello world!&quot; 表达式 例: true(1+2)*3foo()if test then ok else ng end Ruby的表达式包括， 变量和常数 、各种 字面值 、相关</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby字句构造</title>
    <link>/html/345/23488.html</link>
    <description>现在Ruby使用的是ASCII字符集。对英文字母的大小区别是敏感的。您可以在任何地方插入空字符或注释，除了标识符和部分字面值的中部。空字符包括space,tab,垂直tab,backspace,回车,换页。换行比较特殊，若换行后内容是继续上一行内容的话，该换行符就是空字符，除此以外</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>ruby支持的正则表达式符号</title>
    <link>/html/345/23487.html</link>
    <description>下面就来讲讲ruby支持的正则表达式符号(元字符)。 有这么个规则： 不带\的数字和字母不是元字符 带\的符号也不是元字符 下文中出现的“匹配多字节字符的正则表达式”是指，通过使用 $KCODE 进行设定，或显式地使用汉字选项(请参考 正则表达式字面值 )等方式进行的匹配</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby的安全模型由“对象的污染”和“安全级别”构成</title>
    <link>/html/345/23486.html</link>
    <description>为了安全地运行CGI等程序，Ruby设置了安全结构。 Ruby的安全模型由“对象的污染”和“安全级别”构成。 对象的污染 Ruby有时会认为对象“遭到了污染”，这主要有两种用途。 第一，以不安全的输入为基础制成的对象就是“受污染”的对象，不能用作“危险操作”的参数。这</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby 线程</title>
    <link>/html/345/23485.html</link>
    <description>线程是指共享内存空间并可同时运行的控制流。使用线程便可进行并行编程。 现在Ruby的线程是用户级的线程，可在所有平台上实现相同的运作。下面就来看看线程的运作情况。 Ruby线程的运作方式 程序开始时同步生成的线程称作 main thread 。当 main thread 结束时，其他所</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby结束时的相关处理</title>
    <link>/html/345/23484.html</link>
    <description>当到达脚本尾部或出现了未能捕捉到的异常时，Ruby会结束程序(当调用函数 exit 、 abort 或对主线程发出 Thread.kill 命令时，会引发 SystemExit 异常)。结束程序时会依次进行下列处理。 对所有线程执行 Thread.kill 。 若注册了 Ruby 的伪信号 SIGEXIT 的处理程序的话</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby程序的执行</title>
    <link>/html/345/23483.html</link>
    <description>Ruby 程序 Ruby 程序的执行就是对代码进行计算的过程。先编译程序文本，遇到 BEGIN 就对其作出计算；然后计算顶层的一系列的表达式；若遇到 END 的话，将在最后对其进行处理然后结束程序(关于结束程序时处理步骤的详细过程请参考 结束程序时的相关处理 )。 语句 if if</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>Ruby对象</title>
    <link>/html/345/23482.html</link>
    <description>对象概述 Ruby所能处理的值都是对象。Ruby操作对象时的办法只有一种，那就是方法调用。对象所属的类决定了对象所包含的方法。生成对象时，对象的所属类也就确定了，除非导入特殊类以外，对象的所属类不会改变。可以说对象是某个特定类的“实例”。 生成对象一般是通过</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>What's Ruby/Ruby概述</title>
    <link>/html/345/23468.html</link>
    <description>Ruby是一种功能强大的面向对象的脚本语言,她可以使您方便快捷地进行面向对象编程.有时使用像Smalltalk、Eiffel或C++这样正式的面向对象语言来开发一些小项目显得有点&quot;小题大作&quot;,而Ruby刚好可以满足这些面向对象编程的需求.当然了,您也可以使用Ruby进行普通的面向过程编</description>
    <pubDate>2007-04-12</pubDate>
    <category>Python(中蟒)/Ruby</category>
    <author>秩名</author>
    <comments>搜站长</comments>
</item>

</channel>
</rss>
