Forum: Python Aug 14th, 2009 |
| Replies: 7 Views: 374 |
Forum: Python Aug 14th, 2009 |
| Replies: 7 Views: 374 No matter how you do it, the fraction part is the result of the remainder / divisor so still need a division!
Could fake it somewhat.
In integer
part %
----- = -------
whole ... |
Forum: Python Jul 2nd, 2009 |
| Replies: 10 Views: 553 That will work as well. But close file then reopen it with the create upon open or you will merely be overwriting the existing file and have debris from the previous file at the end! |
Forum: Python Jul 2nd, 2009 |
| Replies: 10 Views: 553 A file is not elastic so two ways.
1) copy file A to file B but skip over the parts of file A you don't want copied!
2) invalidate the data! Write a 'bad' character code over fields in the... |
Forum: Python Jun 25th, 2009 |
| Replies: 3 Views: 266 Are you using a 32-bit compiler or a 16-bit?
If 16-bit then you have a problem!
100000000
is 05f5e100 in hex requiring 32-bits to store. Since you are being signed due to the -1, It seems a... |
Forum: Python Jun 17th, 2009 |
| Replies: 8 Views: 835 (ignore this response, accidental post) |