LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   easiest linux python ide (https://www.linuxquestions.org/questions/linux-newbie-8/easiest-linux-python-ide-4175482375/)

sigint-ninja 10-27-2013 02:11 PM

easiest linux python ide
 
Hi guys,

whats the bestest,easiest,nicest python ide for linux? is vim a good option???

just to learn a bit of python, maybe use pygame etc

cheers
sn

dugan 10-27-2013 02:24 PM

UliPad is a good one to start with.

Robhogg 10-27-2013 02:46 PM

Vim is powerful, and it (or plain vi) is guaranteed to be installed on just about any *nix system. Learn it! However, it might be considered to fail the "easiest" criterion. Once you get used to it, the commands will come naturally to your fingers :w
, but it does have a steep initial learning curve.

There is always IDLE, the default Python IDE.

sigint-ninja 11-03-2013 10:10 AM

thanks for that info...would you think it would be unwise to write applications in python using vim...i mean is it unnecessary as there are better tools out there to do the job...or make it easier...i mean...is anybody actually developing python apps using vim?

DavidMcCann 11-03-2013 11:05 AM

Have a look at this
http://eric-ide.python-projects.org/index.html

TobiSGD 11-03-2013 11:21 AM

Quote:

Originally Posted by sigint-ninja (Post 5057654)
thanks for that info...would you think it would be unwise to write applications in python using vim...i mean is it unnecessary as there are better tools out there to do the job...or make it easier...i mean...is anybody actually developing python apps using vim?

Vim itself wouldn't be a great choice, if it wouldn't be extensible with plugins. Together with the python-mode (checking syntax), jedi-vim (for autocompletion and automatically displaying documentation) and vim-fugitive (for Git integration) plugins it makes a decent Python IDE.

btmiller 11-03-2013 12:12 PM

One of my friends develops software in Python professionally and uses only vim. So yes, it is done quite frequently. As TobiSGD mentions, with the right plug-ins it's really a great development environment and one I use myself fairly frequently. I prefer vim to emacs, but that's a religious war. My advice would be to try a few and find one that you like.

sigint-ninja 11-03-2013 01:42 PM

ok so i just installed eric on my debian box...wow...what a mission!!!
is it always this difficult to get software going on linux? i had to install a few packages
because of dependency issues...also why does my os ask for the 1st cd occasionally when installing
software? is something not configured correctly?

anyway...i will play around with eric...get familiar and move onto vim once i have a bit more understanding of the language and ide...you guys are fantastic as always...this is such a solid community!!!

dugan 11-03-2013 01:46 PM

Quote:

Originally Posted by sigint-ninja (Post 5057654)
I mean...is anybody actually developing python apps using vim?

Yes.

Many people.

Including me.

But your question was the "easiest" IDE, and the answer is not vim.

Eclipse with PyDev is pretty good too..

TobiSGD 11-03-2013 03:09 PM

Quote:

Originally Posted by sigint-ninja (Post 5057755)
ok so i just installed eric on my debian box...wow...what a mission!!!
is it always this difficult to get software going on linux? i had to install a few packages because of dependency issues...

Code:

apt-get install eric
would have handled all that, including the dependencies, Eric is in the Debian repositories.
Quote:

also why does my os ask for the 1st cd occasionally when installing
software? is something not configured correctly?
Most likely the CD is mentioned in your /etc/apt/sources.list, this usually happens when you install Debian without network connection.

sigint-ninja 11-03-2013 04:29 PM

thanks for answering...how could i repair this...do i need to copy certain directories to the hard drive?

lastly...im trying to install blender...but apt-get install blender doesnt work....and i am root

how do i know what repositories im connected to?

sorry for all the questions...

TobiSGD 11-03-2013 04:53 PM

Which repositories are used is defined in the file /etc/apt.sources.list, please post the content of that file.

sigint-ninja 11-03-2013 05:01 PM

ok so i used vi to read and copy the file

#

# deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main

deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib




do i need to remove the # from the last two lines as they are comments now?

thanks for your help

i managed to get blender going by manually downloading the missing package and installing it...but i know this is not the right way to do things

TobiSGD 11-03-2013 05:18 PM

Change the file, so that it looks like:
Code:

deb http://ftp.tu-chemnitz.de/pub/linux/debian/debian/ wheezy main contrib non-free
#deb-src http://ftp.tu-chemnitz.de/pub/linux/debian/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
#deb-src http://security.debian.org/ wheezy/updates main

deb http://ftp.debian.org/debian/ wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

As you can see I am using a German mirror here, of course you should exchange that with a mirror near you (though from Ireland that mirror should work fine). Also please not that in this sources.list the contrib and non-free parts of the repository are also enabled, that possibly may not be what you want, but is necessary for some firmware packages and other things, like the Flashplayer.

If you want to compile software from source you will have to uncomment the deb-src lines.

After you have made the changes run
Code:

apt-get update
to update the local package database, after that your installs should work.

sigint-ninja 11-03-2013 05:51 PM

hi,


thanks so much for your help...i modified /etc/apt/list.sources with what you told me but when i update i get

E: Type 'http://ftp.tu-chemnitz.de/pub/linux/debian/debian/' is not known on line 20 in source list /etc/apt/sources.list
E: The list of sources could not be read.

i will do some reading on this file though...pretty sure i have something wrong

speak again

sn


All times are GMT -5. The time now is 04:32 AM.