Python Problem Collection

Source: Internet
Author: User

    1. Caller What does that mean?
    2. callable (obj)        if obj as code  or function
    3. static method differs from class method  
    4. object variable class  , immutable class what
    5. can do type of key key, hash type
    6. class with hash () function
    7. struct, why?
    8. functools usage
    9. itertools usage
    10. tuple namedtuple dic list  set frozenset map  dict   defaultdict 
    11. tuple, list, set, map, Dict built-in methods
    12. hashable and non-hash affect which collections
    13. map  Iteraitems/items the use of the
    14. xrange, Range difference
    15. adorner decorator
    16. SAP programming Methods
    17. define decorator and sap< /li>
    18. How to preserve a copy of an object
    19. how to define globally accessible variables within a function
    20. socket Programming Example
    21. Regular expression
    22. closure problem
    23. Generator and De Corator
    24. Different combinations of types
    25. built-in methods for each combination type and overriding the
    26. context Manager using the
    27. offset function with the functools
    28. python file processing /li>
    29. python exception handling
    30. Python Dynamic Programming method collection
    31. python iterates over an object. Iterative methods
    32. Python Object-oriented programming method conventions
    33. python function comments and unittest test methods
Collection 2: Python advanced Programming
    1. stdin stdout Stderror redirect problem
    2. System file directory operations, how to return a specific type of file collection
    3. File Lock method
    4. Write operations for gzip files
    5. Stringio General Operations
    6. Pickler file streams, object conversions (stream writes for complex objects that support recursive structures)
    7. Marshal only supports serialization of simple objects
    8. The use of the shelve module is a bit like dict
    9. DBM for object storage
    10. Time Module
    11. Thread module
    12. Thread.allocate_lock () object lock
    13. Threading is an object-oriented package threading similar to Java
    14. The Lock method of threading
    15. Threading.condition () Condition variable
    16. Python solves multi-producer multi-consumer issues (Queue module)
    17. Binary data encoding of the struct module
    18. Struct.pack struct. Umpack ()

Put it here first, this month to solve. There are new questions to add at any time.

Python Problem Collection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.