没有合适的资源?快使用搜索试试~ 我知道了~
首页SPSS中python如何应用教程
资源详情
资源评论
资源推荐
i
Python Scripting Guide for IBM SPSS
Statistics
Note: Before using this information and the product it supports, read the general information
under Notices on p. 209.
This edition applies to IBM® SPSS ® Statistics 21 and to all subsequent releases and modifications
until otherwise indicated in new editions.
Adobe product screenshot(s) reprinted with permission from Adobe Systems Incorporated.
Microsoft p roduct screenshot(s) reprinted with permission from Microsoft Corporation.
Licensed Materials - Property of IBM
© C opyright IBM Corporation 1989, 2012.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP
Schedule Contract with IBM Corp.
Contents
1 Introduction to Python Scripts 1
WorkingwithMultipleVersionsofIBMSPSSStatistics ................................ 2
Class Hierarchy for Scripting Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
GettingStartedwithPythonScripts ............................................... 4
GettingStartedwithAutoscriptsinPython....................................... 5
RunningPythonScriptsfromPythonPrograms ................................... 6
2 SpssClient Class 9
CreateNewServerMethod...................................................... 9
ExitMethod .................................................................10
GetActiveDataDocMethod......................................................10
GetConfiguredServersMethod...................................................10
GetCurrentDirectoryMethod ....................................................10
GetCurrentServerMethod ......................................................10
GetDataDocumentsMethod.....................................................11
GetDefaultJCVersionMethod....................................................11
GetDefaultServerMethod.......................................................11
GetDesignatedOutputDocMethod ................................................11
GetDesignatedSyntaxDocMethod................................................12
GetExportOptionMethod .......................................................12
GetLocaleMethod............................................................12
GetLocalServerMethod........................................................12
GetOutputDocumentsMethod ...................................................12
GetPreferenceMethod.........................................................13
GetScriptContextMethod.......................................................13
GetSPSSOptionsMethod.......................................................13
GetSPSSPathMethod..........................................................14
GetSPSSVersionMethod.......................................................14
GetSyntaxDocumentsMethod ...................................................14
GetUIAlertsMethod...........................................................14
IsDataDocInUseMethod .......................................................15
IsDistributedMode............................................................15
IsOptionAvailableMethod.......................................................15
LogToViewerMethod..........................................................16
NewDataDocMethod..........................................................16
© Copyright IBM Corporation 1989, 2012.
iii
NewOutputDocMethod........................................................16
NewSyntaxDocMethod........................................................17
OpenDataDocMethod.........................................................17
OpenOutputDocMethod........................................................17
OpenSyntaxDocMethod........................................................18
RunSyntaxMethod............................................................18
SaveServersMethod..........................................................19
ScriptParameterMethod .......................................................20
SetCurrentDirectoryMethod.....................................................20
SetDefaultJCVersionMethod....................................................20
SetExportOptionMethod........................................................21
SetPreferenceMethod.........................................................21
SetUIAlertsMethod...........................................................21
StartClientMethod............................................................22
StopClientMethod............................................................22
_heartBeatMethod ...........................................................22
3 Datasets and Data Editor Windows 24
SpssDataDocClass ...........................................................24
CloseDocumentMethod ....................................................24
GetCaseCountMethod......................................................24
GetDatasetNameMethod ...................................................25
GetDataUIMethod.........................................................25
GetDocumentPathMethod ..................................................25
GetMenuTableMethod .....................................................25
GetVariableCountMethod...................................................25
IsActiveDataDocMethod....................................................26
IsEqualToMethod.........................................................26
IsModifiedMethod ........................................................26
IsPromptToSaveMethod....................................................26
SaveAsMethod...........................................................26
SetAsActiveDataDocMethod ................................................27
SetDatasetNameMethod ...................................................27
SetModifiedMethod.......................................................28
SetPromptToSaveMethod...................................................28
DataDocsListClass............................................................28
GetItemAtMethod.........................................................28
SizeMethod .............................................................29
iv
SpssDataUIClass.............................................................29
GetHeightMethod.........................................................29
GetLeftMethod...........................................................29
GetShowGridLinesMethod..................................................29
GetShowValueLabelsMethod................................................30
GetTitleTextMethod........................................................30
GetTopMethod...........................................................30
GetVisibleMethod.........................................................30
GetWidthMethod .........................................................30
GetWindowStateMethod ...................................................30
InvokeDialogMethod.......................................................31
PrintDataDocMethod......................................................31
SetHeightMethod.........................................................32
SetLeftMethod...........................................................32
SetShowGridLinesMethod ..................................................32
SetShowValueLabelsMethod ................................................32
SetTopMethod ...........................................................33
SetVisibleMethod.........................................................33
SetWidthMethod .........................................................33
SetWindowStateMethod....................................................33
4 Output Documents and Viewer Windows 35
SpssOutputDocClass..........................................................35
ClearSelectionMethod.....................................................36
CloseDocumentMethod ....................................................36
CopyMethod.............................................................36
CopySpecialMethod.......................................................36
CreateHeaderItemMethod ..................................................37
CreateImageChartItemMethod...............................................38
CreateTextItemMethod.....................................................38
CreateTitleItemMethod.....................................................39
CutMethod..............................................................39
DeleteMethod............................................................39
DemoteMethod...........................................................39
ExportChartsMethod.......................................................40
ExportDocumentMethod....................................................41
GetCurrentItemMethod.....................................................42
GetDocumentPathMethod ..................................................42
GetFooterTextMethod......................................................42
GetHeaderTextMethod.....................................................42
GetMenuTableMethod .....................................................42
GetOutputItemsMethod.....................................................43
v
剩余242页未读,继续阅读
wyfdc888666
- 粉丝: 3
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1