DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
read bytes from file python
with open("myfile", "rb") as f: byte = f.read(1) while byte: # Do stuff with byte. byte = f.read(1)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#read
#bytes
#file
#python
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit