Tag: compile

Sum a multidimensional list in python

October 1, 2013 at 10:58 pmCategory:Python

How can i compute this :

to obtain this:

thanks

You can use collections.defaultdict


Thanks @raymonad for the alternate, cleaner, solution:

How to compile pseuwow under Linux

September 16, 2010 at 10:28 amCategory:Linux | Mangos

Pseuwow is widely known as a client emulator for mangos project, it allows you sent chat text to players in game through command line in console which is just like a bot. It officially announce it is 99% support Linux, however due to the author does not familiar with Linux, the Makefile become the 1% which is causes some minor problem.

Prepare

You need to create a Makefile.am in pseuwow/src/dep/src/irrKlang/

and modify pseuwow/src/dep/src/Makefile.am

Fix the line

to the correct path

Then

at last, you need to copy the entire “dep” direictory & “conf” directory to /opt/pseuwow/bin/

Pseuwow is widely known as a client emulator for mangos project, it allows you sent chat text to players in game through command line in console which is just like a bot. It officially announce it is 99% support Linux, however due to the author does not familiar with Linux, the Makefile become the 1% which is causes some minor problem.