Results 1 to 8 of 8

Thread: IDLE for Python

  1. #1

    Default IDLE for Python

    Hello All

    I am new to openSUSE 10.3
    Learning Python on my own I learned that the system has installed a Python-IDLE (looking in YaST), the only problem is that I cannot invoke it in anyway
    Not from the terminal or the python prompt.
    Any ideas?

    Thanks

    Only-Trouble

  2. #2
    Kevin Nathan NNTP User

    Default Re: IDLE for Python

    On Mon, 30 Jun 2008 01:36:04 GMT
    only-trouble <only-trouble@no-mx.forums.opensuse.org> wrote:

    >
    >Hello All
    >
    >I am new to openSUSE 10.3
    >Learning Python on my own I learned that the system has installed a
    >Python-IDLE (looking in YaST), the only problem is that I cannot invoke
    >it in anyway
    >Not from the terminal or the python prompt.
    >Any ideas?
    >
    >Thanks
    >
    >Only-Trouble
    >
    >


    Here's a way to find out where the executable files are installed for
    any RPM:

    rpm -qil python-idle | grep bin/

    and to see all the files:

    rpm -qil python-idle

    You will see from this that the program is called 'idle' . . .


    --
    Kevin Nathan (Arizona, USA)
    Linux is not a destination, it's a journey -- enjoy the trip!

    Linux 2.6.22.18-0.2-default
    9:53pm up 0:31, 21 users, load average: 0.77, 0.75, 0.69


  3. #3
    Join Date
    Jun 2008
    Posts
    1,825
    Blog Entries
    1

    Default Re: IDLE for Python

    Type "python" at the command line.

    It looks like this.

    > python
    Python 2.5.2 (r252:60911, Jun 6 2008, 23:32:27)
    [GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>>



    The triple > is the prompt for python.
    ______________________________________________________________________________________
    Don't ask "if" something can be done, for it can always be done. Rather instead ask "How" can it be done.

  4. #4

    Default Re: IDLE for Python

    I've just installed the python idle and I'm able to launch it fine by typing 'idle' into a console window, which I don't mind, but it could be handy to be able to make an icon for it to put in my applications or favorites menu. Is this possible? My main issue with launching from konsole is that I need to leave it open in order to keep the idle open, which isn't a huge deal I would just prefer to open and close the konsole as I need it.

  5. #5
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    301

    Default Re: IDLE for Python

    Hi,

    you have to create a link to idle just right click on the gecko (k-menu) and open the menu editor. Select the category where you want to add the link for example development and add a new element. Enter a name and the command which should be executed. That's all.

    By the way, there are much more powerful editors for python out there maybe you want to have a look at eric which also supports syntax completion and much more

    hope this helps

  6. #6

    Default Re: IDLE for Python

    Thank you for taking the time to answer such a simple question, it is much appreciated.

    I grabbed the python IDLE because it is what I was used to, but eric looks pretty cool, I'll definitely check it out. Thanks for the reccomendation!

  7. #7

    Default Re: IDLE for Python

    It seems that, at the application launcher, you can type in "IDLE3.2" to launch it

  8. #8
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: IDLE for Python

    Am 17.01.2012 22:16, schrieb iateyourgranny:
    >
    > It seems that, at the application launcher, you can type in "IDLE3.2" to
    > launch it
    >
    >

    You answered to a thread which is more than three years old.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
    nVidia ION | 3GB Ram

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •