官方文档在这里 Install JDK Download JDK and install them. The least version should be 1.5. I use 1.6. Sorry, no instruction for this. Install Eclipse 3.3 Download Eclipse 3.3 from www.eclipse.org. I use Eclipse IDE for Java EE Developers. You should at leas
On Eclipse main window Right click on .java file-> Run As -> Run Configurations... On Run Configurations window Java Application -> java programe -> classpath -> User Entries -> Advanced... On Advanced Options select Add Folders -> OK
1. __name__=='__main__'是干啥的 先看例子,准备a.py和b.py放在同一个文件夹中 vi a.py # coding: utf-8 print("i am just print") if __name__ == '__main__': print("i am a.py main") vi b.py # coding: utf-8 print("----------------") import a print("