User Profile

Collapse

Profile Sidebar

Collapse
Kosarar
Kosarar
Last Activity: Jan 12 '17, 10:49 PM
Joined: Dec 17 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Kosarar
    started a topic How do I create lists in classes in Python?

    How do I create lists in classes in Python?

    I want to operate a local list in a class in Python. I can not do that:
    Code:
    class cCompetition:
        lcPersonAll = []
     
        def AddPerson(self, cPersonNew):
            lcPersonAll.append(cPersonNew)
     
    cCompetition1 = cCompetition()
    cCompetition1.AddPerson("Smith")
    However, global list is possible.
    See more | Go to post

  • How to implement password access to specific file type in Linux/Windows programmatica

    Linux and Windows question.

    1. I do not want user to launch all ".doc" files (including those he brings in).
    2. User tries to launch a file "test.doc".
    3. The password window appears.
    4. If the password is correct, the file is opened.
    Know how?..

    I read this guide:
    http://www.wikihow.com/Create-a-Password-Protected-File-on-Windows-7

    The problem...
    See more | Go to post

  • I want to let user to add and delete as many TextBoxes as he wants. How to do this? I

    I want to let user to add and delete as many TextBoxes as he wants. How to do this? I suppose, I must create new names like this: TextBoxes_5, TextBoxes_6, store those names in an array and nicely composite all present objects on the UI. How to do this?

    Probably my task is opposite to http://gcc.gnu.org/onlinedocs/cpp/Stringification .html
    See more | Go to post
No activity results to display
Show More
Working...