Page 10 of 14 FirstFirst ... 78910111213 ... LastLast
Results 91 to 100 of 131

>>> PYTHON programming . . .


This discussion is about ">>> PYTHON programming . . ." in the "Programming" forums.
I use the latest 2.x version. I don't know whether I should start using 3.x version. No IDE, just Notepad++ for creating scripts and good ...

  1. #91
    Junior Member
    Join Date
    Jan 2005
    Gender
    Male
    Posts
    39

    I use the latest 2.x version. I don't know whether I should start using 3.x version. No IDE, just Notepad++ for creating scripts and good old CLI for running the scripts.

  2. #92
    Junior Member jebz's Avatar
    Join Date
    Jun 2009
    Gender
    Male
    Posts
    285
    Quote Originally Posted by MarkCuering View Post
    compile? you mean running it on symbian platform?
    Exactly but in Symbian 60 2nd Edition only. Do you have any ideas?

  3. #93
    Junior Member MojaveKid's Avatar
    Join Date
    Oct 2004
    Posts
    57
    i believe 2.6.5 is currently the latest for the 2.x.x series.

    what Ive been waiting for is Python's unobtrusive multi-core support. this feature is obtrusively(hehehe) supported in the current 3.x.x..this is one of the reason I jumped shipped to IronPython.

    the opensource SharpDevelop IDE should take care of your GUI needs...it uses .NET Forms

    if using wxPython, try wxDesigner IDE (this is not free...)

    SciTE and DrPython should serve you well for moderately long python scripting.

  4. #94
    Junior Member
    Join Date
    Jan 2005
    Gender
    Male
    Posts
    39
    guys, naa ko question. ganahan ko mag kuha sa list sa mga files sa usa ka dir. naa na ko inani nga code

    Code:
    import os
    
    path = "/some/path/"
    dir_list = os.listdir(path)
    for item in dir_list:
        print item
    pero gusto ko nga specific file types lang kuhaon i.e. .txt files lang. naa way ani? thanks.

  5. #95
    Junior Member MojaveKid's Avatar
    Join Date
    Oct 2004
    Posts
    57
    Quote Originally Posted by riclags View Post
    guys, naa ko question. ganahan ko mag kuha sa list sa mga files sa usa ka dir. naa na ko inani nga code

    Code:
    import os
    
    path = "/some/path/"
    dir_list = os.listdir(path)
    for item in dir_list:
        print item
    pero gusto ko nga specific file types lang kuhaon i.e. .txt files lang. naa way ani? thanks.
    kindly investigate os.walk() function...

  6. #96
    Junior Member
    Join Date
    Jan 2005
    Gender
    Male
    Posts
    39
    Quote Originally Posted by riclags View Post
    guys, naa ko question. ganahan ko mag kuha sa list sa mga files sa usa ka dir. naa na ko inani nga code

    Code:
    import os
    
    path = "/some/path/"
    dir_list = os.listdir(path)
    for item in dir_list:
        print item
    pero gusto ko nga specific file types lang kuhaon i.e. .txt files lang. naa way ani? thanks.
    i think i found a solution:

    Code:
    import os
    import glob
    
    path = "/some/path/*.txt"
    file_list = []
    
    for item in glob.glob(path):
        file_list.append(os.path.split(item)[1])
    
    print file_list
    if there's a better way, then let me know

  7. #97
    Senior Member ej___'s Avatar
    Join Date
    Oct 2006
    Posts
    881

    Default Python Developer Opportunity

    Sa mga interesado ani.

    Bisitaha lang. Open Positions Extension Corporation

  8. #98
    Elite Member zer0Cool's Avatar
    Join Date
    Mar 2006
    Posts
    1,060
    i am trying to learn python now.. .could someone help me installing python in my cellphone??

    S60 cellphone

  9. #99
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    download it somewhere, I have python install before in my N73 handphone. but to learning python effectively do it in your desktop.

  10. #100
    Junior Member b@r3f00t's Avatar
    Join Date
    Jul 2010
    Gender
    Male
    Posts
    181
    Quote Originally Posted by limunsito View Post
    ahh nice ni dah... unsa nindut na compiler ani?
    Wala ni cya magkinahanglan ug compiler bro kay interpreted ni cya nga language meaning every command or every line of code kay iya na i-interpret daun once imo na kining padaganon.

    IDLE ra ang imo kinahanglan ani, sort of iyang development environment...

  11.    Advertisement

Page 10 of 14 FirstFirst ... 78910111213 ... LastLast

Similar Threads

 
  1. Looking For: 4670, 8800 gt, 9800 gt, gt240
    By poloy6200 in forum Computers & Accessories
    Replies: 13
    Last Post: 09-30-2010, 08:21 PM
  2. Looking For: New or 2nd Hand 9600 GT, 8800 GTS, 8800 GT, 7900 GT Graphics Card
    By insect111 in forum Computers & Accessories
    Replies: 36
    Last Post: 06-03-2010, 09:08 PM
  3. MOVED: >>> PYTHON programming . . .
    By vern in forum Software & Games (Old)
    Replies: 0
    Last Post: 11-10-2007, 05:04 AM
  4. Replies: 6
    Last Post: 01-17-2007, 11:57 PM
  5. nVIDIA answers! GeForce 7900 GTX/GT 7600 GT
    By Visual C# in forum Computer Hardware
    Replies: 12
    Last Post: 04-04-2006, 06:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top