wildinformatics.blogspot.com
Wild Informatics: Static member in Python
http://wildinformatics.blogspot.com/2013/06/static-member-in-python.html
Jun 19, 2013. Static member in Python. Python has different syntax from most common OOP languages like C or Java. When declaring variables, the name is not followed by a type identifier or scope modifier. For creating a static member of a class, simply write it inside the class outside of the scope of member functions. To declare a variable belonging to instance, simply add self. prefix. Subscribe to: Post Comments (Atom). Static member in Python. Life is short - you need Python! Mike Naylor's math blog.
wildinformatics.blogspot.com
Wild Informatics: Calling C functions from Python
http://wildinformatics.blogspot.com/2012/12/calling-c-functions-from-python.html
Dec 2, 2012. Calling C functions from Python. Python is capable of calling functions from a C library. Say, we have the following C code which needs to be used in a python script. I'm using Ubuntu 12.04 with python 2.7. Int add(int a, int b) { return (a b) ; }. First the C code has to be compiled as a shared library. Gcc -fpic -c c code.c $ gcc -shared -o c code.so c code.o. Then the shared library has to be copied to /lib/x86 64-linux-gnu/. Sudo cp c code.so /lib/x86 64-linux-gnu/. One Problem A Day.
wildinformatics.blogspot.com
Wild Informatics: November 2012
http://wildinformatics.blogspot.com/2012_11_01_archive.html
Nov 30, 2012. Fixing broken merge list in Ubuntu. Sometime broken merge list poses a barricade on the path of further updates. To fix this problem, the old (flawed) merge list has to be removed first, then a new one has to be created. In Ubuntu 12.04, the following worked for me. Sudo rm /var/lib/apt/lists/* -vf sudo apt-get update. Location: Windsor, ON, Canada. Nov 7, 2012. Opening a Terminal Anywhere in Ubuntu. Sudo apt-get install nautilus-open-terminal. Subscribe to: Posts (Atom). One Problem A Day.
wildinformatics.blogspot.com
Wild Informatics: Author
http://wildinformatics.blogspot.com/p/author.html
There comes a time in every rightly constructed boy's life when he has a raging desire to go somewhere and dig for hidden treasure. The Adventures of Tom Sawyer. My boyhood has not ended yet and I don't see it ending anytime soon. I often look for hidden treasure in science, engineering, programming, art, nature, life, universe and everything. This blog serves as showcase and a reminder. Dhaka Currently I'm pursuing a masters degree in Computer Science at the University of Windsor. Mike Naylor's math blog.
wildinformatics.blogspot.com
Wild Informatics: Saving images of plots made in Matplotlib
http://wildinformatics.blogspot.com/2013/09/saving-images-of-plots-made-in.html
Sep 4, 2013. Saving images of plots made in Matplotlib. Matplotlib, a versatile python library for 2D plotting, allows saving images in several bitmap formats as well as vector formats like SVG.To save an image, one has to specify output format first. Then simply calling a save image function gets the job done. The following example saves an image in SVG format, then in PNG. As you can see, the library figures out the format of output from the extension of the output file name. Code School Python Courses.
wildinformatics.blogspot.com
Wild Informatics: Satisfying GUI needs in Python
http://wildinformatics.blogspot.com/2013/05/satisfying-gui-needs-in-python.html
May 30, 2013. Satisfying GUI needs in Python. There are a few GUI libraries that can satisfy the GUI need in Python. I have tried a couple of them so far. First one I tried was Tk. The second one I tried was Qt. Several licensing exists for Qt at the moment and its history is complicated. It can be safely said, Without getting into details, that there is a GNU GPL 3.0 licensed version of Qt is available. For using with Python, PyQt4 can be downloaded and installed. Sudo apt-get install python-qt4.
wildinformatics.blogspot.com
Wild Informatics: May 2013
http://wildinformatics.blogspot.com/2013_05_01_archive.html
May 30, 2013. Satisfying GUI needs in Python. There are a few GUI libraries that can satisfy the GUI need in Python. I have tried a couple of them so far. First one I tried was Tk. The second one I tried was Qt. Several licensing exists for Qt at the moment and its history is complicated. It can be safely said, Without getting into details, that there is a GNU GPL 3.0 licensed version of Qt is available. For using with Python, PyQt4 can be downloaded and installed. Sudo apt-get install python-qt4.
wildinformatics.blogspot.com
Wild Informatics: March 2012
http://wildinformatics.blogspot.com/2012_03_01_archive.html
Mar 31, 2012. Using LaTeX in Windows 7. Despite being a supporter and believer of software freedom, often times I've to compromise and use proprietary software. Since many of the people I have to collaborate and communicate with are completely running on proprietary or mixed platform like me, its a good idea to have a list of open source and proprietary software combinations of choice. Mar 27, 2012. Following example code creates and populates a cell array :. Index is written within curly braces e.g.
wildinformatics.blogspot.com
Wild Informatics: December 2012
http://wildinformatics.blogspot.com/2012_12_01_archive.html
Dec 2, 2012. Calling C functions from Python. Python is capable of calling functions from a C library. Say, we have the following C code which needs to be used in a python script. I'm using Ubuntu 12.04 with python 2.7. Int add(int a, int b) { return (a b) ; }. First the C code has to be compiled as a shared library. Gcc -fpic -c c code.c $ gcc -shared -o c code.so c code.o. Then the shared library has to be copied to /lib/x86 64-linux-gnu/. Sudo cp c code.so /lib/x86 64-linux-gnu/. One Problem A Day.
african-volunteer.net
Volunteer Cape Verde ~ Volunteer Work Cape Verde ~ Volunteer Opportunities Cape Verde
http://www.african-volunteer.net/volunteer_work_cape_verde.html
Volunteer Work Cape Verde, Volunteer Opportunities Cape Verde, Free Volunteer Work Cape Verde, Volunteer Programs Cape Verde, Paid Volunteer Work Cape Verde. Cape Verde has few natural resources so what it does have needs to be preserved and new resources are required to protect the islanders from the droughts that regularly affect the islands. In the last few years many have moved away from the increasingly over burdened capital of Praia to rural areas where there is a lack of basic amenities such as sa...
SOCIAL ENGAGEMENT