Python Central
  • Home
  • Categories
    • Learn Python Guide
      • Classes
      • Regular Expressions
      • Strings
        • Encoding and Decoding Strings
    • Cookbook Recipes
      • Recursion
    • How Tos
    • Library Guides
      • Android Scripting Layer (SL4A)
      • Databases
        • SQLAlchemy
        • SQLite
      • Graphical Toolkits
        • PySide/PyQt Guide
        • Tkinter Guide
      • Web Frameworks
        • Django Guide
    • Tips and Tricks
    • Tools
  • About
  • FAQ
  • Contact

Articles Tagged: set

How to Check if a List, Tuple or Dictionary is Empty in Python

The preferred way to check if any list, dictionary, set, string or tuple is empty in Python is to simply use an if statement to check it. For example, if we define a function as such: It will magically detect if any built in structure is empty. So if we run this: Then, if we [...]

Read More →

Latest Articles

  • Hashing Files with Python
  • Hashing Strings with Python
  • Memory-Mapped (mmap) File Support in Python
  • PySide/PyQt Tutorial: QWebView
  • Home
  • About
  • FAQ
  • Contact
© Copyright 2013, Aztech Media Pty Ltd.