You Are Here:

Community: Developer Discussion Boards

#1 Old Python integration with NetBeans - 2008-04-04, 07:21

Join Date: Apr 2007
Posts: 74
Location: Bangalore, India
girdhar
Offline
Regular Contributor
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
Reply With Quote

#2 Old Re: Python integration with NetBeans - 2008-04-04, 20:21

Join Date: Dec 2007
Posts: 134
Location: India
kandyfloss's Avatar
kandyfloss
Offline
Regular Contributor
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
Reply With Quote

#3 Old Smile Re: Python integration with NetBeans - 2008-04-04, 20:39

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#4 Old Re: Python integration with NetBeans - 2008-04-08, 06:17

Join Date: Apr 2007
Posts: 74
Location: Bangalore, India
girdhar
Offline
Regular Contributor
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
Reply With Quote

#5 Old Re: Python integration with NetBeans - 2008-04-08, 06:35

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#6 Old Re: Python integration with NetBeans - 2008-04-08, 06:41

Join Date: Apr 2007
Posts: 74
Location: Bangalore, India
girdhar
Offline
Regular Contributor
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
Reply With Quote

#7 Old Re: Python integration with NetBeans - 2008-04-08, 06:45

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#8 Old Re: Python integration with NetBeans - 2008-04-08, 12:08

Join Date: Apr 2007
Posts: 74
Location: Bangalore, India
girdhar
Offline
Regular Contributor
HI Gaba,

This link will help u on that.

http://jpydbg.sourceforge.net/

Thanks
Girdhar
Reply With Quote

#9 Old Re: Python integration with NetBeans - 2008-04-08, 16:38

Join Date: Mar 2008
Posts: 20
danieb_za
Offline
Registered User
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
Reply With Quote

#10 Old Re: Python integration with NetBeans - 2008-04-08, 17:59

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#11 Old Re: Python integration with NetBeans - 2008-04-08, 21:30

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
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
Reply With Quote

#12 Old Re: Python integration with NetBeans - 2008-04-10, 01:58

Join Date: Jan 2004
Posts: 368
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
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.

Quote:
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
Twinapex Research
http://www.twinapex.com
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help installing Python libraries on S60 ericroijen Python 11 2009-07-18 11:43
Carbide.j 1.5 and Netbeans integration for on device debugging gjaiswal Mobile Java Tools & SDKs 8 2008-01-08 17:25
integration Carbide.j 1.0 and Netbeans 5.0 ovjo12 Mobile Java Tools & SDKs 0 2006-02-16 08:48
Enhanced support for J2ME application development with NetBeans 4.0 Beta 1 rdemmer Mobile Java General 0 2004-08-25 12:42
NDS 2.0 integration with Netbeans 3.5 kleingeist Mobile Java Tools & SDKs 10 2004-04-24 22:58

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia