le717 / linescan.py Goto Github PK
View Code? Open in Web Editor NEWEffortlessly read a text file using counting numbers.
Home Page: http://wp.me/p1V5ge-1nO
License: MIT License
Effortlessly read a text file using counting numbers.
Home Page: http://wp.me/p1V5ge-1nO
License: MIT License
Like the title says
Possibly duplicate linecache.checkcache()
functionality for updating any stored scans. It would probably not recheck all stored files, thus it would require the file name. (though all scans could be rescanned). Line numbers would not be needed, as the existing numbers would be used.
I think linescan is simple enough that I could restructure it in OOP. It would help me learn that programming paradigm too.
Allow the number of stored scans to be changed, ideally though the linescan.debug()
function.
endLine
parameter changed to endline
errorValue
parameter changed to errorvalue
README.md
By passing a specific value for endline
(the string "end"), the entire file (starting from lineno
) will be scanned.
Do this through a new autoclear
boolean parameter in debug()
(default True
, meaning it clears automatically).
I have to figure out how to run the examples on Travis CI. They would then serve as tests to ensure everything worked and as user-examples.
ImportError
Update API docs for OOP refactoring
I need some examples for the rescan()
function. I was forgot exactly how to use it and had no examples showing how while reworking the script with OOP.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.