Comments (2)
My bad, seems like an off-by-one error got me.
for exponent in range(0,len(prefixes)-1):
should be for exponent in range(0,len(prefixes)):
.
With this, it works as intended:
In [3]: bytes_to_human(1000**5)
Out[3]: '1PB'
from bleachbit.
Fixed in cf70987
from bleachbit.
Related Issues (20)
- Bleachbit 4.60 Errors HOT 3
- Syntax warnings in BleachBit 4.6.0-1 on Ubuntu 24.03 HOT 2
- App;ication was unable to start properly. Error code: 0xc000007b HOT 5
- Progress bar HOT 2
- Donations Link On Site Fails - I wanna buy you a beer and cant
- How to automate in batch or ahk script? HOT 3
- Misleading App Title In Panel HOT 2
- Better GUI Design [UI/UX Enhancements] HOT 2
- Weird process name in Task Manager HOT 3
- i can't open the software HOT 5
- Request Add Librewolf to Cleaners
- Google Chrome bug HOT 15
- Bleachbit will not open nor run... HOT 2
- Add a wildcard operator to the inclusion/exclusion lists [Feature Enhancement]
- MS Edge - Recently closed history not deleted HOT 1
- Bleachbit 4.6.0 error on Win 10 HOT 2
- theres a windows error 5 when im trying to run the program, Can someone please explain how to fix it? HOT 1
- journalctl is not cleaned HOT 4
- Debugging terminal, the directory is not empty
- Cannot clean browser history if another user is running browser HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bleachbit.