Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User projectblum's Avatar
    Join Date
    Jul 2009
    Posts
    19
    How can we run a pys60 script in a linux PC?Can we do it inside a terminal?I tried the command
    python filename.py in terminal.But it shows error while importing the library.I tried python ide as well.
    It also shows error while importing library(bluetooth).I am beginner in python programming.help

  2. #2
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Well, a PyS60 script would normally import libraries that standard Python (the one in Linux) doesn't have and can't use. So it's not really possible to do it.

  3. #3
    Registered User jhb's Avatar
    Join Date
    May 2007
    Posts
    25
    Quote Originally Posted by bogdan.galiceanu View Post
    Well, a PyS60 script would normally import libraries that standard Python (the one in Linux) doesn't have and can't use. So it's not really possible to do it.
    http://sourceforge.net/projects/pys60-compat/
    http://code.google.com/p/appuifw2

    These provides compat libraries which allow to use at least a subset of the pys60 api. When developing a wallet software for opencoin I extended the pys60 library slightly. See the files appuifw.py etc in http://trac.opencoin.org/trac/openco...box/jhb/mobile

    Cheers,

    Joerg

Similar Threads

  1. PyS60 with Nokia S60 SDK
    By sam_bakki in forum Python
    Replies: 22
    Last Post: 2010-06-23, 09:19
  2. Unable to run PyS60 1.9.3 on E71
    By ConstantineXVI in forum Python
    Replies: 10
    Last Post: 2009-04-21, 10:15
  3. run python script via browser locally
    By alireza.sahami in forum Mobile Web Server
    Replies: 11
    Last Post: 2008-12-20, 11:25
  4. how to run out of script?
    By bakidilek in forum Python
    Replies: 2
    Last Post: 2007-12-15, 11:31
  5. How to run a script?
    By hlaukkan in forum Python
    Replies: 9
    Last Post: 2007-02-02, 06:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved