Search Results

Showing results 1 to 14 of 14
Search took 0.02 seconds.
Search: Posts Made By: Aia ; Forum: Python and child forums
Forum: Python Jan 3rd, 2009
Replies: 9
Views: 580
Posted By Aia
>So the difference is only one movl instruction.

cmpl $4, -8(%ebp) is not the same that cmpl $4, %eax


jle .L3 in not the same that jbe .L3


movl -8(%ebp), %eax is in a...
Forum: Python Jan 3rd, 2009
Replies: 18
Solved: Indentation?
Views: 1,081
Posted By Aia
>I have been afraid of Vim editor, due to NO-knowledge.
Practice will change that. Learn as you go according to your need. Vim has much to offer, but until you start using it, you'll will not know...
Forum: Python Jan 3rd, 2009
Replies: 9
Views: 580
Posted By Aia
The compiler doesn't miraculously change that expression into a constant. It evaluates each time through the loop. An unnecessary waste of CPU cycles when making a single call and keeping the value...
Forum: Python Jan 3rd, 2009
Replies: 9
Views: 580
Posted By Aia
"Beauty is only in the eye of the beholder".
Those that know, find a well written piece of code in C very motivating and easy to work with.
The comparison of languages as it has been described...
Forum: Python Dec 30th, 2008
Replies: 8
Views: 750
Posted By Aia
To RE or not to RE (http://www.youtube.com/watch?v=GR8t3mTovD8), that is the question.
Complimentary slides
(http://us.pycon.org/2008/conference/schedule/event/63/)
Forum: Python Dec 28th, 2008
Replies: 8
Views: 750
Posted By Aia
'Group: [0-9]\n{1}#.*$'
Setting aside the fact that that regex would not match any of the text you gave as an example, the key to understand your problem is .*$. That's a greedy "match regex", it...
Forum: Python Dec 13th, 2008
Replies: 3
Views: 1,088
Posted By Aia
>But i want to round the square-rooted numbers to about 6 digits e.g. 5.12345. How can this be done?

Take a look at round()
Forum: Python Dec 13th, 2008
Replies: 2
Views: 341
Posted By Aia
from math import sqrt
Forum: Python Oct 16th, 2008
Replies: 7
Views: 778
Posted By Aia
>What does the ' \n' mean?
New line, or sometimes RETURN keyboard.
Forum: Python Oct 14th, 2008
Replies: 2
Views: 2,325
Posted By Aia
http://mail.python.org/pipermail/python-list/2005-March/311942.html
Forum: Python Oct 1st, 2008
Replies: 4
Solved: subprocess
Views: 875
Posted By Aia
Handling command line arguments (http://www.faqs.org/docs/diveintopython/kgp_commandline.html)
Maybe that would help?
Forum: Python Oct 1st, 2008
Replies: 5
Views: 1,938
Posted By Aia
Regex it is just that, regular expression (http://www.regular-expressions.info/tutorial.html). A pattern describing some text.
Forum: Python Aug 17th, 2008
Replies: 10
Solved: extra string
Views: 1,120
Posted By Aia
The standard C functions strlen() and strcpy() require the inclusion of the header file string.h. Furthermore there was not need to add the extra code: strcpy(text, "Spell this string forward then...
Forum: Python Mar 31st, 2008
Replies: 4
Views: 9,589
Posted By Aia
print "%-20s %4d" % ("John Smith",107)

% Is the conversion specifier. It tells print that what it follows is the formula you want for displaying the data. As part of that formula you have ( - )...
Showing results 1 to 14 of 14

 


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

©2003 - 2009 DaniWeb® LLC