Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Use the python tag for all Python related questions. If you believe your question may be even more specific, you can include a version specific tag such as python-3.x.
1
vote
0
answers
37
views
Perform backup of a file with selectable number of backups
So I am making a program, the program keeps its previous running state in a file. Sometimes things happen and I have to revert to a "last known good" state. This means that the file needs to be backed …
7
votes
1
answer
2k
views
Optimizing critical loop for consuming a byte-buffer
One overarching goal of the project is to ensure a Pure Python implementation of functions currently available only through a .Net-based library. … Because the project must be Pure Python, 'cheats' using C code is not allowed (except for the implicit C code invoked by standard Python libraries). …
5
votes
2
answers
2k
views
Find duplicate files using Python
Most Python "duplicate file finder" scripts I found do a brute-force of calculating the hashes of all files under a directory. …
1
vote
0
answers
176
views
Algorithm to draw a patterned line by traversing the path through points
So I was in need of a way to draw a patterned line that passes through several points on a 2D space, something that no Python library seems able to do out of the box (at least, the ones I've been looking …
2
votes
1
answer
1k
views
Indeterminate-length big-endian to little-endian conversion in Python
I have a need to convert wire encoding (big-endian) to little-endian in Python. …