Skip to content Skip to sidebar Skip to footer
Showing posts with the label Coding Style

Python: Unintentionally Modifying Parameters Passed Into A Function

A few times I accidentally modified the input to a function. Since Python has no constant reference… Read more Python: Unintentionally Modifying Parameters Passed Into A Function

Is It A Good Practice To Add Names To __all__ Using A Decorator?

Is this a good practice in Python (from Active State Recipes -- Public Decorator)? import sys def … Read more Is It A Good Practice To Add Names To __all__ Using A Decorator?

Python Style Guide: Intermittent Variables

I was searching for a Python style guide in terms of 'intermittent variables' and readabili… Read more Python Style Guide: Intermittent Variables

Pythonic Way To Implement A Tokenizer

I'm going to implement a tokenizer in Python and I was wondering if you could offer some style … Read more Pythonic Way To Implement A Tokenizer

Python 3.3 Socket Programming Error

In Python 3.3 I am getting an error while executing this line: print ('Message from server : &#… Read more Python 3.3 Socket Programming Error

Tool To Enforce Python Code Style/standards

I'm trying to find a tool to check for coding style in python. For PHP I've seen there is t… Read more Tool To Enforce Python Code Style/standards