BitVector

2008-03-09 Thread DanielJohnson
Hi, I am trying to solve a genetic algorithm problem where I want to read a bitvector of very large size (say 1) and manipulate bits based on certain algorithms. I am a newbie in Python. What data structure are good to read such huge data set. Are there any built in classes for bit fiddling.

Re: Creating Installer or Executable in Python

2007-11-14 Thread DanielJohnson
Thanks for telling about py2exe. Is there any utility that will help to make it as a .deb or .rpm file (for Linux)? -- http://mail.python.org/mailman/listinfo/python-list

Creating Installer or Executable in Python

2007-11-14 Thread DanielJohnson
I have a small project which has around 10 .py files and I run this project using command line arguments. I have to distribute this project to somebody. I was wondering how can I make an executable or some kind of installer, so that end user doesn't need to compile and worry if he/ she has Python

combination function in python

2007-04-14 Thread DanielJohnson
how to use the combination function in python ? For example 9 choose 2 (written as 9C2) = 9!/7!*2!=36 Please help, I couldnt find the function through help. -- http://mail.python.org/mailman/listinfo/python-list

network simulator in Python ?

2007-02-21 Thread DanielJohnson
I was wondering if anyblody can suggest me a network simulator written in python in which I can add on my own code and extend its functionality. I am looking for a simulator which will simualte TCP, UDP, RTP and most networking protocol. The learning curve for ns2 and other simulator is too high f