×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Bangalore, India
    Posts
    81

    Python integration with NetBeans

    HI,

    i want to integrate Python with Netbeans 5.5.1 IDE. I have added org-jymc-jpydbgfornetbeans-0.0.18-5-1.nbm as a plugin on Netbeans.

    Now i want to create a new project for Python on Neabeans. how i have to proceed? any extra settings that i have to do after installing above plugin?

    plz help me out on this. its very very urgent.

    Thanks
    Girdhar

  2. #2
    Regular Contributor
    Join Date
    Dec 2007
    Location
    India
    Posts
    133

    Re: Python integration with NetBeans

    For using Python for S60, you do not need netbeans.
    You can use the Python interpreter on the SDK or the device and you could work on that.

    I hope I understood your problem.
    Kandyfloss

    V 7.0642.0
    18-10-06
    RH-51
    Nokia 7610

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Smile Re: Python integration with NetBeans

    Quote Originally Posted by kandyfloss View Post
    For using Python for S60, you do not need netbeans.
    You can use the Python interpreter on the SDK or the device and you could work on that.

    I hope I understood your problem.
    hi kandyfloss
    i think girdhar is talking about integrating python with netbeans.
    @girdhar
    i m really sorry but ur question is very typical and why u want to integrate python with netbeans.
    plz give feedback

  4. #4
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Bangalore, India
    Posts
    81

    Re: Python integration with NetBeans

    HI,

    I want to use Netbeans as an IDE for my python project like how we will use it for say our Java project. So my question is without integrating Python with NetBeans how can i create a new Projcet, Compile project using IDE etc ? I want to use NetBeans because i am use to with this IDE. or is there any other IDE for python available?

    I think now u got it what i am trying to say.

    Thanks
    Girdhar

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Python integration with NetBeans

    Quote Originally Posted by girdhar View Post
    HI,

    I want to use Netbeans as an IDE for my python project like how we will use it for say our Java project. So my question is without integrating Python with NetBeans how can i create a new Projcet, Compile project using IDE etc ? I want to use NetBeans because i am use to with this IDE. or is there any other IDE for python available?

    I think now u got it what i am trying to say.

    Thanks
    Girdhar
    hi girdhar again
    sorry to say u cant integrate python with Netbeans IDE.
    for python u have can download this IDE
    plz give feedback

  6. #6
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Bangalore, India
    Posts
    81

    Re: Python integration with NetBeans

    thanks Gaba.

    But as per the info what i have said in my original post, there is some plugin available which we have to add it to NetBenas to use NetBeans for Pythong project. what is that? can u give some idea?

    Thanks
    Girdhar

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Python integration with NetBeans

    Quote Originally Posted by girdhar View Post
    thanks Gaba.

    But as per the info what i have said in my original post, there is some plugin available which we have to add it to NetBenas to use NetBeans for Pythong project. what is that? can u give some idea?

    Thanks
    Girdhar
    hi Girdhar again
    actually i was also fascinated by ur original post and i m searching for that. when i will get idea about that plugin i will definitely inform you.
    thanks

  8. #8
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Bangalore, India
    Posts
    81

    Re: Python integration with NetBeans

    HI Gaba,

    This link will help u on that.

    http://jpydbg.sourceforge.net/

    Thanks
    Girdhar

  9. #9
    Registered User
    Join Date
    Mar 2008
    Posts
    20

    Re: Python integration with NetBeans

    Hi.

    If you are looking for a free python IDE you can try Eclipse with the pydev plugin as an alternative to Netbeans.

    There is no support for pys60, but you will have syntax highligting and code completion for standard python modules.

    pydev.sourceforge.net
    www.eclipse.org

  10. #10
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Python integration with NetBeans

    Quote Originally Posted by danieb_za View Post
    Hi.

    If you are looking for a free python IDE you can try Eclipse with the pydev plugin as an alternative to Netbeans.

    There is no support for pys60, but you will have syntax highligting and code completion for standard python modules.

    pydev.sourceforge.net
    www.eclipse.org
    HI danieb_za
    i knew that plugin and it i knew that it was not for PyS60.
    Btw thanks for the reference

  11. #11
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: Python integration with NetBeans

    Quote Originally Posted by girdhar View Post
    there is some plugin available which we have to add it to NetBeans to use NetBeans for Pythong project. what is that?
    As far as I know, it has never been done. The problem is that pyS60 script is run in python interpreter, which itself is run inside emulator or phone. You don't have access to that interpreter directly.

    You can execute and debug the pyS60 scripts only in real hardware or in S60 emulator. Normal development session is that you edit the source code with whatever text editor, for example NetBeans, and then run it in emulator or phone.

    There is a way to force some application to be launched, when phone is rebooted. I've seen it done, didn't ask for tech details how to do it. Still that isn't enough, you need to make python shell to launch automatically your own script. Even when you can do that, there's no way to connect NetBeans, debugger or other tools, to the script inside emulator.

    Sorry,

    --jouni

  12. #12
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Re: Python integration with NetBeans

    Quote Originally Posted by JOM View Post
    You can execute and debug the pyS60 scripts only in real hardware or in S60 emulator. Normal development session is that you edit the source code with whatever text editor, for example NetBeans, and then run it in emulator or phone.
    PyDev commercial extensions support remote pdb debugging. In theory it is possible to use PyDev to debug in-phone applications over IP sockets. In practice, however, I expect huge problems with Symbian threading model and way of sockets are currently implemented.

    There is a way to force some application to be launched, when phone is rebooted. I've seen it done, didn't ask for tech details how to do it.
    SISX/PKG file has autostart flag if I recall correctly.

    MechanicalTRK shipped with Carbide C++ professional has some decent restart/reinstall capabilities they say. I haven't used it myself.
    Mikko Ohtamaa

    http://mfabrik.com
    http://blog.mfabrik.com

Similar Threads

  1. Please help installing Python libraries on S60
    By ericroijen in forum Symbian
    Replies: 11
    Last Post: 2009-07-18, 10:43
  2. Carbide.j 1.5 and Netbeans integration for on device debugging
    By gjaiswal in forum Mobile Java Tools & SDKs
    Replies: 8
    Last Post: 2008-01-08, 16:25
  3. integration Carbide.j 1.0 and Netbeans 5.0
    By ovjo12 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-02-16, 07:48
  4. Replies: 0
    Last Post: 2004-08-25, 11:42
  5. NDS 2.0 integration with Netbeans 3.5
    By kleingeist in forum Mobile Java Tools & SDKs
    Replies: 10
    Last Post: 2004-04-24, 21:58

Posting Permissions

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