Ow Mun Heng wrote:
Guys,
Can you tell me what's the best route for me to use as an IDE (if there's one for Python) I'm currently using IDLE and eric3.
On both, I have a problem loading/importing anything. (I'm hoping to hack into headlines.py) and it keeps giving me
"No MOdule named config"
The problem is that freevo changes the PYTHONPATH and startup.
src/plugins/headlines.py import config. But config is in src and src
is not in the path. I know, that's a bad style we are doing here,
import freevo.config would be a cleaner way (but will result in
changing every file). So add src to your python path and it should
work.
Also maybe your IDE will let you specify "freevo prompt" as your python interpreter. Its a long shot but that loads python with Freevo's environment / PYHTONPATH.
It might be impossible for your IDE to do much debugging of the Freevo code since much of it depends its context in runtime. Maybe there's another python debugger you can actually run Freevo through.
-Rob
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
