Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Recommended Python IDEs ??

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
grofaz
Guru
Guru
Posts: 319
Joined: Sun Sep 18, 2005 12:32 am

Recommended Python IDEs ??

  • Quote

Post by grofaz » Sat Jun 10, 2006 5:20 am

What do you all recommend for a Python IDE ?

In fact, what do recommend for a decent Python setup on gentoo ? By that I mean what packages should be installed ?

I have Python emerged but it seems pretty bare bones and I'm having trouble running programs due to missing modules or other mysterious reasons I haven't exactly figured out yet. IDLE for example won't run cause my Python wasn't compiled with tkinter support or some such. But tkinter can not be found anyplace high or low. Where might I find tkinter pray tell ??

grofaz...out
Top
xalan
Apprentice
Apprentice
Posts: 190
Joined: Tue Feb 01, 2005 6:36 pm

  • Quote

Post by xalan » Sat Jun 10, 2006 5:38 am

vim + vimpython + these settings: http://www.vex.net/~x/python_and_vim.html
Top
grofaz
Guru
Guru
Posts: 319
Joined: Sun Sep 18, 2005 12:32 am

  • Quote

Post by grofaz » Sat Jun 10, 2006 5:40 am

xalan wrote:vim + vimpython + these settings: http://www.vex.net/~x/python_and_vim.html
I'm not familiar with vim, been avoiding it and emacs both. I like gedit but it's not an IDE.
Top
xalan
Apprentice
Apprentice
Posts: 190
Joined: Tue Feb 01, 2005 6:36 pm

  • Quote

Post by xalan » Sat Jun 10, 2006 5:41 am

Then go through this: http://wiki.python.org/moin/IntegratedD ... vironments
Top
grofaz
Guru
Guru
Posts: 319
Joined: Sun Sep 18, 2005 12:32 am

  • Quote

Post by grofaz » Sat Jun 10, 2006 6:14 am

xalan wrote:Then go through this: http://wiki.python.org/moin/IntegratedD ... vironments
Interesting, thanks for the tip.
Top
sgtrock
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Fri Feb 21, 2003 2:46 pm

  • Quote

Post by sgtrock » Sun Jul 16, 2006 11:40 pm

Here's an answer to why idle might not have been added as part of your python emerge:

http://forums.gentoo.org/viewtopic-t-47 ... +idle.html
Top
grofaz
Guru
Guru
Posts: 319
Joined: Sun Sep 18, 2005 12:32 am

  • Quote

Post by grofaz » Mon Jul 17, 2006 1:36 am

sgtrock wrote:Here's an answer to why idle might not have been added as part of your python emerge:

http://forums.gentoo.org/viewtopic-t-47 ... +idle.html
Actually it was, just needs tk USE flag enabled to work.
Top
Penguin of Wonder
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Tue Jan 17, 2006 1:09 am
Location: West Virginia
Contact:
Contact Penguin of Wonder
Website

  • Quote

Post by Penguin of Wonder » Mon Jul 17, 2006 2:54 am

Has anyone here actually used IDLE? From the reviews of the the IDEs I read following a previously posted link, the vim option sounds really nice.
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Top
grofaz
Guru
Guru
Posts: 319
Joined: Sun Sep 18, 2005 12:32 am

  • Quote

Post by grofaz » Mon Jul 17, 2006 2:58 am

Penguin of Wonder wrote:Has anyone here actually used IDLE? From the reviews of the the IDEs I read following a previously posted link, the vim option sounds really nice.
I like it, nice & simple. I like SPE too but latest/greatest not in portage yet. Anjuta works too. Don't care for VIM meself, too complicated.
Top
Penguin of Wonder
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Tue Jan 17, 2006 1:09 am
Location: West Virginia
Contact:
Contact Penguin of Wonder
Website

  • Quote

Post by Penguin of Wonder » Mon Jul 17, 2006 2:58 am

In responce to my own question, I found this Ph.d.'s (assuming I can trust the internet) review of IDLE. He tested the development stage and seemed to like it alot. Its now out of beta, so I think I'm going to try it. Unless someone knows why I shouldn't?

IDLE Review
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Top
codergeek42
Bodhisattva
Bodhisattva
Posts: 5142
Joined: Mon Apr 05, 2004 4:44 am
Location: Anaheim, CA (USA)
Contact:
Contact codergeek42
Website

  • Quote

Post by codergeek42 » Mon Jul 17, 2006 4:42 am

I very much like Scribes. There's an ebuild for it in [bug]106964[/bug].
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Top
sgtrock
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Fri Feb 21, 2003 2:46 pm

  • Quote

Post by sgtrock » Tue Jul 18, 2006 12:39 am

I've used vim, idle, and eclipse with the pydev plug-in for very light python development scaling up to what might be mid-sized projects.

vim is OK, but really works best if you're already comfortable with it.

idle is great for small stuff, and scales reasonably well. The interactive shell comes up by default, which makes testing snippets of code trivial. I like it a lot, and would recommend it for a first IDE for Python just because it comes bundled. Just remember to add tcl and tcltk to your build options for Python. :) (Why on earth the Gentoo default ebuild of Python doesn't include these dependencies is beyond me. They're part of the language spec, fer chrissake!)

Once you're comfortable with idle, it might be worthwhile to branch out.try out some of the other suggestions in this list. Look for one that fits your development style. Personally, I like eclipse and pydev. I throw in a svn plug-in to get to my code repository, and I'm good to go. However, there are plenty to choose from. Find the one that fits you best.
Top
Penguin of Wonder
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Tue Jan 17, 2006 1:09 am
Location: West Virginia
Contact:
Contact Penguin of Wonder
Website

  • Quote

Post by Penguin of Wonder » Tue Jul 18, 2006 12:48 am

sgtrock wrote:Just remember to add tcl and tcltk to your build options for Python. :) (Why on earth the Gentoo default ebuild of Python doesn't include these dependencies is beyond me. They're part of the language spec, fer chrissake!)
Uhh, stupid question. How do I do that? Do I need to one-shot python, or just when I install IDlE?
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Top
grofaz
Guru
Guru
Posts: 319
Joined: Sun Sep 18, 2005 12:32 am

  • Quote

Post by grofaz » Tue Jul 18, 2006 12:53 am

Penguin of Wonder wrote:
sgtrock wrote:Just remember to add tcl and tcltk to your build options for Python. :) (Why on earth the Gentoo default ebuild of Python doesn't include these dependencies is beyond me. They're part of the language spec, fer chrissake!)
Uhh, stupid question. How do I do that? Do I need to one-shot python, or just when I install IDlE?
Try this:

Code: Select all

emerge -av flagedit
flagedit +tcltk +tk
emerge -avN python
Cheers!
Top
Penguin of Wonder
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Tue Jan 17, 2006 1:09 am
Location: West Virginia
Contact:
Contact Penguin of Wonder
Website

  • Quote

Post by Penguin of Wonder » Tue Jul 18, 2006 1:07 am

Thank you very much grofaz! I've never had to do that before. So... is there a Gentoo page on what that does?
My Linux Blog

AMD64 3700+
2G DDR 3200 Ram
320G HDD
Top
grofaz
Guru
Guru
Posts: 319
Joined: Sun Sep 18, 2005 12:32 am

  • Quote

Post by grofaz » Tue Jul 18, 2006 1:47 am

Penguin of Wonder wrote:Thank you very much grofaz! I've never had to do that before. So... is there a Gentoo page on what that does?
I don't know. flagedit is a nifty little program that allows you to easily add or remove USE flags from your /etc/make.conf file.
Try:

Code: Select all

flagedit -h
for more info.

Ciao
Top
sgtrock
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Fri Feb 21, 2003 2:46 pm

  • Quote

Post by sgtrock » Tue Jul 18, 2006 2:37 am

I haven't tried flagedit myself. Sounds like a nice utility.

Failing that, the message thread that I posted earlier details how you can add the necessary flags from the console.

In either case, after you add those dependencies for a rebuild of python, you'll find that idle is included as part of python. You just start idle from the command line; 'idle &' and it'll fire up an interactive python shell. Choose 'File->New Window' and you'll have a nice, clean scratch pad to start writing code. You'll find that it's really nice to be able to copy and paste code back and forth between the two as you try stuff out.

Enjoy!
Top
Post Reply

17 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic