This is my 17th python tutorial for beginners -
In this Python Tutorial:
file tell and seek in python
tell()
Return the current stream position.
seek(offset[, whence])
Change the stream position to the given byte offset. offset is interpreted relative to the position indicated by whence. The default value for whence is SEEK_SET. Values for whence are:
SEEK_SET or 0 – start of the stream (the default); offset should be zero or positive
SEEK_CUR or 1 – current stream position; offset may be negative
SEEK_END or 2 – end of the stream; offset is usually negative
Return the new absolute position.
Links :
For python os.walk. Please check • python os.walk|os.system in python ||...
pass argument in python : • pass argument in python|pass paramete...
For reading and writing files : • Reading and Writing into File in pyth...
Be sure to SUBSCRIBE HERE: / @code4you753
You may follow me on facebook : / python-tutorial-for-beginners-141028486539665
For more information. You may visit https://docs.python.org/2/tutorial/da...
This module provides a portable way of using operating system dependent functionality.
===Code===
file_name = "test.txt"
f1 = open(file_name, 'r')
f1.seek(12)
print f1.read()
f1.close()
file tell and seek in python
file seek and tell in python
python tutorial for beginners
Learn Python Programming
python programming
python tutorial for beginners with examples
python tutorial for beginners video
python scripting tutorial
learning python programming
python install ubuntu python install
python install tutorial
python installation in windows
Tutorial python
Tutorial series
Learning Tutorial
language model python
Tutorial python
Tutorial series
Learning Tutorial
language model python
In this course of my tutorial . I will tell you :
How to use Python programming?
How to get experience in Python programming ?
What is Python ?
How to learn Python ?
We recommend:
Learning Python, 5th Edition by Mark Lutz http://a.co/hJzjfuh
Shop Amazon Used Textbooks - Save up to 90% http://amzn.to/2pllk4B
To know about youtube : https://en.wikipedia.org/wiki/YouTube
Later sections : We will learn oracle database and how to connect database :
http://www.oracle.com/technetwork/art...
python kivy
desktop application
mobile apps
python project