Search Results

Showing results 1 to 40 of 66
Search took 0.01 seconds.
Search: Posts Made By: Racoon200
Forum: Python Jan 22nd, 2008
Replies: 2
Views: 1,462
Posted By Racoon200
No problem. I solved it. I don't remember the solution though, but What I did is that I put a connect function at the beginning of the app, and a disconnect one with the atexit. That solved my...
Forum: Python Jan 21st, 2008
Replies: 6
Views: 2,398
Posted By Racoon200
Forum: Python Jan 20th, 2008
Replies: 2
Views: 3,516
Posted By Racoon200
Well, I already solved it. It was because I called a ftp close(), so when I tried to connect again, it couldn't be done (it says in the wiki of ftplib). So, I eliminated all ftp.close() and added one...
Forum: Python Jan 19th, 2008
Replies: 2
Views: 3,516
Posted By Racoon200
I get this error when uploading a file with the ftplib via storbinary method after retrieving a file via retr method.

Why does it happen and how can I fix it?
Forum: Python Jan 19th, 2008
Replies: 6
Views: 2,398
Posted By Racoon200
I'm just saying like a sample function, but my problem is that if I put event_obj, they ask me for an extra argument, but If I don't put it, then the function will run automatically at the beginning....
Forum: Python Jan 19th, 2008
Replies: 6
Views: 2,398
Posted By Racoon200
Well, now it all works perfectly. Thanks.
New problem:
I have a function in the scripts file that requires an argument (string), So if I write it like this (in the scripts.py file)

def...
Forum: Python Jan 19th, 2008
Replies: 8
Views: 1,008
Posted By Racoon200
Why bad post? I told him how to get the distance between the two corners!? Its the hipothenuse man, thats the distance he wants. Don't blame me for not knowing the exact name of the formula, I study...
Forum: Python Jan 19th, 2008
Replies: 8
Views: 1,008
Posted By Racoon200
Forum: Python Jan 19th, 2008
Replies: 8
Views: 1,008
Posted By Racoon200
That's pithagoras i think.
You need the width or square and height. Also the starting points (corner square drawed from)

Then you do an equation:
width**2 + height**2 = distanceBetweenPonts**2
Forum: Python Jan 19th, 2008
Replies: 9
Views: 2,120
Posted By Racoon200
Yes. There's a tool called py2exe. Here is the link:
http://www.py2exe.org/
It can also compile resource files in the same exe, to keep it clean
Forum: Python Jan 19th, 2008
Replies: 9
Views: 2,120
Posted By Racoon200
Yes. There's a tool called py2exe. Here is the link:
http://www.py2exe.org/
It can also compile resource files in the same exe, to keep it clean
Forum: Python Jan 19th, 2008
Replies: 6
Views: 2,398
Posted By Racoon200
Hi. I would like to know how to get the position of the cursor (blinking line in any text control) to insert there a string.

I would also like to know how to get the value of a text widget and...
Forum: Python Jan 19th, 2008
Replies: 2
Views: 1,462
Posted By Racoon200
Problem: I keep getting this error when I press the button to trigger Publish from 2nd time and on.
Error:

AttributeError: 'NoneType' has no attribute 'sendall'


The error is caused basically...
Forum: Python Jan 19th, 2008
Replies: 4
Views: 1,402
Posted By Racoon200
Thank you very much! This was just what I was looking for in order to call a function from a button!
Forum: Python Nov 17th, 2007
Replies: 2
Views: 1,436
Posted By Racoon200
Oh it ran! thank you!

But what I want is to put a textbox where you can type in something instead of fum, for instance. In other words, you type something in the textbox, click a button, and the...
Forum: Python Nov 16th, 2007
Replies: 2
Views: 1,436
Posted By Racoon200
Hi... I have this addLink button, that calls the addLinkClick function. content is a multiline text control.
The following are variables: href,target,linkName
I want this button to print

print...
Forum: Python Nov 16th, 2007
Replies: 4
Views: 1,538
Posted By Racoon200
Well, I read something about wxPython and I guess you can do it by
(for a button)
self.buttonName.Bind(wx.EVT_BUTTON, self.buttonNameClick)

Where buttonName is the button's name, and...
Forum: Python Nov 16th, 2007
Replies: 1
Code Snippet: wxPython Button Demo
Views: 12,662
Posted By Racoon200
how do I run a wxPython .py file?
Forum: Python Nov 7th, 2007
Replies: 4
Views: 1,538
Posted By Racoon200
What I need is to get the content of the textbox with the click of the button.
I dont know what do you mean with the palette. All I know is that iam using FarPy GUI Editor
Forum: Python Nov 7th, 2007
Replies: 4
Views: 1,538
Posted By Racoon200
Hi. Iam making an app to write and append to an html document blog-type blocks. I have the GUI finished, but I need to fusion it with my script.

Look at this snippet of my script:

def...
Forum: IT Professionals' Lounge Jul 5th, 2007
Replies: 11
Solved: .ico compiler
Views: 3,280
Posted By Racoon200
well, its just what i asked for...CONGRATULATIONS, but dang! I downloaded ("bought") GIFMovieGear, so, I don't think iam uninstalling it, but I don't think that I'm using the console instead of just...
Forum: Site Layout and Usability Jul 2nd, 2007
Replies: 6
Views: 1,359
Posted By Racoon200
I would suggest that your "little man" image would be a .png, because gif's dont support further than 1-bit transparency, png's do (use photoshop/gimp to soften the borders). Then the image would...
Forum: IT Professionals' Lounge Jul 2nd, 2007
Replies: 11
Solved: .ico compiler
Views: 3,280
Posted By Racoon200
To enrich your knowledge, I notify you that icons have 3 basic sizes in windows xp. Each of the icons come with those 3 resolutions packed in a single icon, so that the icon embeded in the .ico is...
Forum: JavaScript / DHTML / AJAX Jul 2nd, 2007
Replies: 2
Views: 1,565
Posted By Racoon200
Yes, Ill better give you the zip (attached below).

It is supposed that when you click a ball, the value has to be shared in equal quantities within the next (value) balls.

i.e.
if the hole...
Forum: JavaScript / DHTML / AJAX Jul 1st, 2007
Replies: 2
Views: 1,565
Posted By Racoon200
Iam making a game, the error is that in the "d" loop (for...) the value "holeBalls" stays always the same.

for (d=holeNum;d<=holeBalls;d++)
{
document.getElementById('hole'+d).value++
}
}...
Forum: IT Professionals' Lounge Jun 27th, 2007
Replies: 11
Solved: .ico compiler
Views: 3,280
Posted By Racoon200
No i mean, have you tested them compiling icons? I tried changing the .zip extension for .ico, but it didn't work, that's why I'm doubty
Forum: IT Professionals' Lounge Jun 27th, 2007
Replies: 11
Solved: .ico compiler
Views: 3,280
Posted By Racoon200
Are you sure sure, or your just guessing?
Forum: IT Professionals' Lounge Jun 26th, 2007
Replies: 11
Solved: .ico compiler
Views: 3,280
Posted By Racoon200
no no no. I don't need software to copy files to folders man, iam not that silly. When you sort files in the windows explorer, you can see there are several icon sizes wether you sort files by list,...
Forum: IT Professionals' Lounge Jun 25th, 2007
Replies: 11
Solved: .ico compiler
Views: 3,280
Posted By Racoon200
This may sound too lazy but...can somebody do an icon compiling console...for example
You place icons you made in a folder named:
64x64.ico
48x48.ico
32x32.ico
16x16.ico
then you run the...
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2007
Replies: 3
Views: 1,304
Posted By Racoon200
I told you that you didn't really have to know kalah, my bad to write it down there.
The problem is that holeBalls var has to be = to the value stored in each hole (got by getelementbyid function),...
Forum: JavaScript / DHTML / AJAX Jun 19th, 2007
Replies: 7
Views: 4,292
Posted By Racoon200
and thank ya very much s.o.s, your always helping the needed.
Forum: JavaScript / DHTML / AJAX Jun 19th, 2007
Replies: 7
Views: 4,292
Posted By Racoon200
and on purpose, anybody here knows a free js editor with line numbers and autocomplete?
Forum: JavaScript / DHTML / AJAX Jun 19th, 2007
Replies: 3
Views: 1,304
Posted By Racoon200
Hi. Iam doing my first game and its going very well.
Its the classic African Kalah (with egyptian rules)
There is a problem. And you gotta know the basics of kalah to solve it....
Forum: JavaScript / DHTML / AJAX Jun 19th, 2007
Replies: 7
Views: 4,292
Posted By Racoon200
this is the input...
<input blah blah blah class='someclasss' onclick='changeSrc(this)'>

.someclass
{
background-image:url(someimage.someformat);
}

function changeSrc(clicked)
{
Forum: JavaScript / DHTML / AJAX Jun 17th, 2007
Replies: 7
Views: 4,292
Posted By Racoon200
Hi. I have an input with a background image (done in css);
I want to change the background image with the click of a button.

How do it do it?
Forum: JavaScript / DHTML / AJAX Jun 13th, 2007
Replies: 1
Views: 1,506
Posted By Racoon200
Take a look at my site...
http://www.freewebs.com/whellmundv/index.htm

Now click on the "computer screen" icon in the head bar.
You will notice that a "console" appears right?, but when you try...
Forum: JavaScript / DHTML / AJAX May 31st, 2007
Replies: 13
Solved: js calculator
Views: 4,023
Posted By Racoon200
I think iam now done.

Thanks a lot you guyz, i will give yo8u credit, even though i dont think nobody is going to notice.

This is for the famouse german game, ogame.

Thanks for your...
Forum: JavaScript / DHTML / AJAX May 29th, 2007
Replies: 13
Solved: js calculator
Views: 4,023
Posted By Racoon200
please complete this in order to stop me from bothering with my thread...

shift:shiftKey::enter:________
Forum: JavaScript / DHTML / AJAX May 29th, 2007
Replies: 13
Solved: js calculator
Views: 4,023
Posted By Racoon200
yes, i use ie
Forum: JavaScript / DHTML / AJAX May 29th, 2007
Replies: 13
Solved: js calculator
Views: 4,023
Posted By Racoon200
...It doesn't work...
Showing results 1 to 40 of 66

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC