×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    16

    Listing the files in a directory!

    Hey every one I just want to know how to make a list of the files in a directory. I am asking this question because i am new to python programming and pys60 specially.

    Please help

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

    Re: Listing the files in a directory!

    Hi amaj1407 and welcome to the forum

    Code:
    import os
    print os.listdir(path)
    Please take some time to read the language tutorial and library reference fro Python 2.2.2 (PyS60 core) http://www.python.org/doc/2.2.2/

    Also visit the wiki there's a lot of good stuff there including all the links to get started

    Happy Pythoning

    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

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

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    16

    Re: Listing the files in a directory!

    Thank you lfd for your response, I'll try them and if I have any questions I'll ask

Similar Threads

  1. directory creation
    By susha in forum Mobile Java General
    Replies: 24
    Last Post: 2007-09-10, 19:08
  2. Pull-Functionality to receive files from a pc via bluetooth
    By kaiten-sushi in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2007-03-13, 04:37
  3. Can carbide handle included files in mmp files
    By svdwal in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2006-12-04, 17:14
  4. Directory Listing
    By Nokia_Archive in forum Symbian
    Replies: 2
    Last Post: 2003-11-05, 14:23
  5. MMS FILES ON 7650
    By fix78 in forum General Messaging
    Replies: 1
    Last Post: 2002-11-01, 11:37

Posting Permissions

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