Creating Linked Lists in Python

2009-03-21 Thread J-Burns
Hey thr, I need some help here actually. So i thought i could get it easily from here. I need to make a linked list that can do the following: 1) Point to multiple nodes at one time 2) Should have 2 values: a) The node no. b) The value of that node in reference to the next node that it i

Using Tkinter

2008-08-22 Thread J-Burns
Hello. Im a bit new to using Tkinter and im not a real pro in programming itself... :P. Need some help here. Problem 1: How do I make something appear on 2 separate windows using Tkinter? By this I mean that the format would be something like this: You have Page1 : This has 2-3 buttons on it. Cl

Re: Rotating a cube

2008-07-17 Thread J-Burns
On Jul 17, 12:53 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > J-Burns wrote: > > Is there a built in Python function for this? > > for answering questions that have nothing to do with programming, and > looks quite a bit like homework? don't think they've

Rotating a cube

2008-07-16 Thread J-Burns
Hello. Need some help here. I have a 4*4 cube. So the equation of the cube becoming: x + 4*y + 16*z Now i want to rotate this cube 90 degrees anticlockwise( a right rotation). How can i do that? The rotation must take place with the axis of rotation b

Using Gnuplot and making an exe file outv the prog

2008-07-02 Thread J-Burns
Hello. Been using the gnuplot lately. Program runs fine. And its plots as well. Now i want to make an exe file out of this program using py2exe. Cud some1 help me in telling me how this is done. Thnks -- http://mail.python.org/mailman/listinfo/python-list

Wierd Test Failure

2008-06-20 Thread J-Burns
Hello. Im using doctests to check the functions that ive made. Wat i dnt understand is that it gives me a fialure even though the expected and got values are the same. Check this out: ** File "C:\Python25\Lib\idlelib\idle.pyw", li

Doc tests in Python

2008-06-18 Thread J-Burns
Hello. Im new to using doctests in python. Could some1 tel me how to use doctests if i have a constructor in my code? -- http://mail.python.org/mailman/listinfo/python-list

Re: Mapping a series of Dates to an array of Numbers

2008-06-17 Thread J-Burns
Btw dnt forget the solution should also cater to this problem: Supposedly there is a day on which i did not do anything. Than that particular spot in my graph should be left empty. Meaning that if i did something on the 1st March and after it i did something on the 7th March. Then essentially 1st m

Mapping a series of Dates to an array of Numbers

2008-06-17 Thread J-Burns
Hello. Got a problem here. Ive got a set of points tht id be plotting. Those points would contain the date on which the work was done against its frequency. Supposedly if i did something on the 28th of March one of the points would be (28, respective freq). The next time i did my work on the 1st o