Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Python
File 59 codes
Home
Python
File
1 Adding Line Numbers to a Python Script
2 Change Dir
3 Close a file
4 Close a file after using
5 Closing Files
6 Copy file and move dir
7 Creating a text file with the writelines() method
8 Define class to deal with files
9 Define file open and read in a function
10 Define function to Open a file
11 Demonstrates reading from a text file
12 Demonstrates writing to a text file
13 File Output
14 File Random Access
15 File read() Demo
16 File read(n)
17 File readline()
18 File readlines
19 File Wildcards
20 File write(string)
21 File writelines(list)
22 Handle File reading Exception
23 Handling IO Errors
24 Iterating Over Lines with readlines
25 List files in the zip file
26 Listing Directories
27 Listing Directories with glob
28 Loop through a file
29 Loop through header information in a ZIP file
30 Looping Over Characters with read
31 Looping Over Characters with read Writing the Loop Differently
32 Looping through the file, line by line
33 Multi-threading
34 Open a file and read a line
35 Open a file and read char by char
36 Open a text file and write a line of text
37 Read a file line by line
38 Read a file line by line and check line separator
39 Reading a binary File
40 Reading a file
41 Reading and Writing Files
42 Reading characters from a line
43 Reading characters from the file
44 Reading Everything
45 Reading one line at a time
46 Reading the entire file at once
47 Reading the entire file into a list
48 Reading the newly created file
49 Reads a single line from the file
50 Tell()
51 Text files
52 Use file pointer to get file content
53 Use seek() to move file pointer
54 Working with Directories
55 Working with File Objects
56 Write string to a file
57 Writes the contents of string to the file
58 Writing to Files
59 Zip file