Bite code's user avatar
Bite code's user avatar
Bite code's user avatar
Bite code
Save time and efforts when dealing with Python
  • Member for 15 years
  • Last seen this week
17788 votes
Accepted

What does the "yield" keyword do in Python?

8882 votes

What are metaclasses in Python?

5393 votes
Accepted

How do I include a JavaScript file in another JavaScript file?

4753 votes

How do I make function decorators and chain them together?

2462 votes
Accepted

What is the difference between an interface and abstract class?

1964 votes
Accepted

How to get a file's extension in PHP?

1303 votes

How do I connect to a MySQL Database in Python?

1086 votes
Accepted

How to print a date in a regular format?

484 votes
Accepted

Compare object instances for equality by their attributes

481 votes

What is an ORM, how does it work, and how should I use one?

350 votes

How do I generate all permutations of a list?

327 votes

How do I protect Python code from being read by users?

292 votes
Accepted

Pylint, PyChecker or PyFlakes?

243 votes
Accepted

Null vs. False vs. 0 in PHP

243 votes

mysqli or PDO - what are the pros and cons?

222 votes

Hidden features of Python

217 votes
Accepted

How to extract img src, title and alt from html using php?

199 votes

How to insert a SQLite record with a datetime set to 'now' in Android application?

182 votes
Accepted

How do I set and access attributes of a class?

157 votes

Advice for C# programmer writing Python

156 votes
Accepted

Given a URL to a text file, what is the simplest way to read the contents of the text file?

154 votes
Accepted

How can I download all emails with attachments from Gmail?

134 votes
Accepted

Character Limit in HTML

131 votes
Accepted

Using the AND and NOT Operator in Python

116 votes
Accepted

Is Django for the frontend or backend?

95 votes
Accepted

Installing multiple versions of a package with pip

91 votes
Accepted

Single line for loop over iterator with an "if" filter?

82 votes
Accepted

How does the Strategy Pattern work?

81 votes
Accepted

Limit on file name length in bash

79 votes
Accepted

How to write Strategy Pattern in Python differently than example in Wikipedia?

1
2 3 4 5
16