Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				I dont know python but wouldnt it be quicker if you check if there have been changes to the file before writing it?
- 
				
				@abkcode yes. At the moment you always save even if the content hasnt changed. Since read write operations are relatively heavy an isChanged check could potentionally be a lot quicker.
Related Rants





 No questions asked
No questions asked As a Python user and the fucking unicode mess, this is sooooo mean!
As a Python user and the fucking unicode mess, this is sooooo mean!
 I just started working on a little project to browse devrant from terminal. It converts images to ascii art!
I just started working on a little project to browse devrant from terminal. It converts images to ascii art!
Worked on open-source for the first time. Learned python and wrote script to upgrade fontawesome from 4 to 5 by replacing the icon names.
https://github.com/abkcode/...
more open-source projects coming soon.
rant
fontawesome
open-source
python