跟我学python(2)- 第一个程序
1. Create project
New->Other

- project name:
hellopython

2. Create Source Folder
New->Other

- source name: src

1) properties
Project->properties
remove project_dir_name

3. Create package
New->Other

package name: com.tdtc

4. Create module
New->Other

module name: helloworld

template

Eclipse at completion

5. 编写代码
'''
Created on Dec 11, 2018
@author: xiaobin
'''
'''
# perl code
$myStr2 = 'world';
print 'Hello $myStr2'."\n"
'''
myStr2 = 'world'
print('Hello ' + myStr2)
6. run
首次run时:

output

浙公网安备 33010602011771号