×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    21

    why I can't import unquote from urllib?

    why I can't import unquote from urllib, my code is:
    Code:
       from urllib import unquote
    thanks....

  2. #2
    Registered User
    Join Date
    Oct 2007
    Posts
    21

    Re: why I can't import unquote from urllib?

    there is "import socket" in urllib, it seems that I cannot import socket in urllib, is this a bug of pys60 ?

  3. #3
    Super Contributor
    Join Date
    May 2006
    Location
    Oulu, Finland
    Posts
    622

    Re: why I can't import unquote from urllib?

    Hi lb213_2000 and welcome to the forum

    the socket module has been lightly modified for Symbian and is available as

    Code:
    import socket
    Code:
    from urllib import unquote
    works on my E61 with PyS60 1.4.0. If you do not have PyS60 1.4.0, please upgrade your installation http://sourceforge.net/projects/pys60/

    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

    Tips and modules:
    http://www.lfdm.net/thesis

  4. #4
    Registered User
    Join Date
    Oct 2007
    Posts
    21

    Re: why I can't import unquote from urllib?

    I have installed PyS60 1.4.0 and use emulator of 3rd Edition of FP1 SDK, but code
    Code:
      from urllib import unquote
    cannot work on my emulator, what's the reason ? thanks

  5. #5
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,800

    Re: why I can't import unquote from urllib?

    Hi lb213_2000

    Its Working fine on my devices as well...
    I use 6680 with pys60 1.4.0
    Code:
      from urllib import unquote
    I dont get any errors.
    What error do you get when you tru the above code?
    Pankaj Nathani
    www.croozeus.com

  6. #6
    Registered User
    Join Date
    Oct 2007
    Posts
    21

    Re: why I can't import unquote from urllib?

    Quote Originally Posted by croozeus View Post
    Hi lb213_2000

    Its Working fine on my devices as well...
    I use 6680 with pys60 1.4.0
    Code:
      from urllib import unquote
    I dont get any errors.
    What error do you get when you tru the above code?
    thanks, it works fine now

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Bluetooth is a problem in j2me, especially in games
    By memosen80 in forum Mobile Java General
    Replies: 8
    Last Post: 2007-01-27, 18:50
  3. SyExpat + problem + memmove + Carbide Express
    By pearman in forum Symbian
    Replies: 2
    Last Post: 2006-10-14, 22:21
  4. SocketConnection Work on 6600&Emulators BUT NOT IN 6680
    By eerant in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-03-11, 00:35
  5. Replies: 0
    Last Post: 2006-02-20, 11:51

Posting Permissions

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