Do You recommend Eclipse IDE for Python? Beginner

  • (2 Pages)
  • +
  • 1
  • 2

23 Replies - 17536 Views - Last Post: 27 June 2011 - 07:10 AM Rate Topic: -----

#1 dasker  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 10-November 10

Do You recommend Eclipse IDE for Python? Beginner

Post icon  Posted 09 June 2011 - 11:54 AM

I loaded Python on my windows machine:
Python 3.2.1rc1 (default, May 16 2011, 08:20:09) [MSC v.1500 32 bit (Intel)] on
win32

I already had Eclipse on my machine. I was using it with Java/ Android Programming.
can I add Python to my existing Eclipse I was using for Java?
Are there any helpful links to show me how to do this?


Thanks

This post has been edited by atraub: 10 June 2011 - 09:58 AM

Is This A Good Question/Topic? 1
  • +

Replies To: Do You recommend Eclipse IDE for Python? Beginner

#2 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,025
  • Joined: 15-July 08

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 09 June 2011 - 12:05 PM

Just use the PyEclipse plugin:
http://www.rose-hulm...nfiguration.htm
Was This Post Helpful? 1
  • +
  • -

#3 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 09 June 2011 - 12:11 PM

As Dogstopper pointed out, there the PyEclipse plugin. It is nice if you want to use Eclipse, but I find that Eclipse has a lot of unnecessary tools.

I'm reading Learn Python the Hard Way and I am doing all of the exercises using Vim, which I am liking! Vim has TONS of shortcuts and there are quite a few plug-ins as well, and truth be told, you'll probably never know everything there is to know about Vim.

I don't really think the editor you uses matters all the much. Some people swear that Vim and Emacs increase productivity once you get used to them, others swear by Eclipse. Try them all and figure out what you like.
Was This Post Helpful? 0
  • +
  • -

#4 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 09 June 2011 - 12:59 PM

I used Python for 2 years only using IDLE as my IDE. That worked very well for me.
Was This Post Helpful? 0
  • +
  • -

#5 dasker  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 10-November 10

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 09 June 2011 - 01:44 PM

Thank you very much.
I will take a look at both Vim and IDLE. Can you share a link to download the VIM and IDLE IDE?

Thanks again
Was This Post Helpful? 0
  • +
  • -

#6 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,025
  • Joined: 15-July 08

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 09 June 2011 - 03:28 PM

IDLE pretty much comes with Python. That's what I use because it works well enough for Guido, the inventor of Python, so it should work fine for me too.
Was This Post Helpful? 1
  • +
  • -

#7 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 09 June 2011 - 05:21 PM

I think Eclipse (and netbeans) just have too many buttons and features. It makes it harder for newer programmers I think.
Was This Post Helpful? 0
  • +
  • -

#8 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 01:08 AM

welcome home : vim online

Enjoy!
Was This Post Helpful? 0
  • +
  • -

#9 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5795
  • View blog
  • Posts: 12,627
  • Joined: 16-October 07

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 03:54 AM

Learn Python the Hard Way looks like an interesting book. Thanks for that.

I had to look to see if the book actually recommended vim, which I honestly thought would be irresponsible. For environments that would have vim, the author actually recommended gedit, which makes more sense. The whole VI thing is nice, and I actually do use it often, but I'd never recommend it to a beginner; why add learning curve to learning curve?

I do agree on using a plain old text editor for your Python. You run, you typed wrong, you fix it. You do this no matter what level of programming you're at. Always.

I use scite for most of my programming needs. Everything I've ever writing in Python, including some process critical stuff currently running out in the plant, has been in this editor. ( I suppose, to be fair, when I SSH into a box to update a Python script, I'll use vim. :P )
Was This Post Helpful? 0
  • +
  • -

#10 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 09:26 AM

I tend to use Programmer's Notepad -- there are two reasons for this:

#1 As its name suggests its a nice lightweight text editor designed for programmers. It has syntax highlighting (like Scite it is a scintilla based editor) and the ability to setup tools (compilers, linkers, make etc), it has the concepts of "projects" and other features that help make it into not an IDE but a really good editor.

#2 It uses python as its scripting language (PyPN) -- So not only can you use it to write and execute python scripts but you can also use python to extend its features and capabilities.

For example I have written scripts that let me "Paste as new" so that I can just copy something from DIC and then paste it as a new document in PN. (this is actually my most used script!)

I have written a number of BBCode generating scripts so that I can edit posts in the editor and get them ready to paste into DIC.

The documentation for PyPN is pretty horrible though (I know, I wrote most of it :) )
Was This Post Helpful? 0
  • +
  • -

#11 dasker  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 10-November 10

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 01:03 PM

I went with the gedit and followed the steps in " LearnPythonThe Hardway" Seems the gedit is working I loaded Python 2.7.1.

I created the mkdir mystuff and I saved the program that I created in gedit "ex1.py". When I try to run my program from the windows cmd I get an error it can't find the file. What did I do wrong? did I create the dir mystuff in the wrong location?


C:\>cd python27

C:\Python27>dir
Volume in drive C is Local Disk
Volume Serial Number is 5CBE-C468

Directory of C:\Python27

06/10/2011 12:41 PM <DIR> .
06/10/2011 12:41 PM <DIR> ..
06/10/2011 12:30 PM <DIR> DLLs
06/10/2011 12:30 PM <DIR> Doc
06/10/2011 12:30 PM <DIR> include
06/10/2011 12:37 PM <DIR> Lib
06/10/2011 12:30 PM <DIR> libs
11/27/2010 06:34 PM 40,080 LICENSE.txt
06/10/2011 12:43 PM <DIR> mystuff
11/27/2010 05:12 PM 263,050 NEWS.txt
11/27/2010 06:31 PM 26,624 python.exe
11/27/2010 06:31 PM 27,136 pythonw.exe
11/27/2010 05:12 PM 54,961 README.txt
06/10/2011 12:30 PM <DIR> tcl
06/10/2011 12:30 PM <DIR> Tools
11/27/2010 06:31 PM 49,664 w9xpopen.exe
6 File(s) 461,515 bytes
10 Dir(s) 65,349,009,408 bytes free

C:\Python27>cd mystuff

C:\Python27\mystuff>python ex1.py
'python' is not recognized as an internal or external command,
operable program or batch file.

C:\Python27\mystuff>dir
Volume in drive C is Local Disk
Volume Serial Number is 5CBE-C468

Directory of C:\Python27\mystuff

06/10/2011 12:43 PM <DIR> .
06/10/2011 12:43 PM <DIR> ..
06/10/2011 12:43 PM 230 ex1.py
1 File(s) 230 bytes
2 Dir(s) 65,349,009,408 bytes free

C:\Python27\mystuff>
Was This Post Helpful? 0
  • +
  • -

#12 Tarkenfire  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 115
  • View blog
  • Posts: 314
  • Joined: 04-May 11

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 01:37 PM

Umm, that's a Windows computer, you need to either add a PATH variable or invoke the interpreter (python.exe) in your install directory of Python for the "python programname" line to work.

To be honest, until I started learning Java (and started getting comfortable with Eclipse) anything I did involving Python was done in Notepad++ and a cmd prompt on Windows or Kate and a Bash shell on Linux, and I learned more from the language from that than I would an IDE, I reckon.

This post has been edited by Tarkenfire: 10 June 2011 - 01:37 PM

Was This Post Helpful? 0
  • +
  • -

#13 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 01:38 PM

You haven't added Python to your PATH. To add Python to your PATH on Windows 7:

Go to Computer > Properties > Advanced System Settings > Advanced > Environmental Variables.

Under 'System Variables' edit 'PATH' or 'Path' to include C:\Python27.

Note that this is for Windows 7, although other Windows versions should be rather similar.
Was This Post Helpful? 0
  • +
  • -

#14 dasker  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 10-November 10

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 01:48 PM

Thanks Brewer I am up and running.
Thank you all for the help. Have a great weekend!!!!
Was This Post Helpful? 0
  • +
  • -

#15 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Do You recommend Eclipse IDE for Python? Beginner

Posted 10 June 2011 - 04:16 PM

http://pydev.org PyDev is a fantastic Eclipse plugin for Python, so if you're attached to Eclipse, check it out. Furthermore, Python is a simple language. You hardly need a big ol' crusty IDE for it! A regular ol' text editor like gedit would suffice, but I recommend checking out Emacs. It'll serve you better in the long run.
Was This Post Helpful? 1
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2