Skip to content

Commit 6d1cfa1

Browse files
author
GeekTrainer
committed
2 parents 34bb904 + f0e6af9 commit 6d1cfa1

File tree

3 files changed

+73
-0
lines changed

3 files changed

+73
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.30723.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "Module12ReadingFromFiles", "Module12ReadingFromFiles\Module12ReadingFromFiles.pyproj", "{28A10113-491D-4CD8-A1B0-E6C6B2F05C71}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{28A10113-491D-4CD8-A1B0-E6C6B2F05C71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{28A10113-491D-4CD8-A1B0-E6C6B2F05C71}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{28A10113-491D-4CD8-A1B0-E6C6B2F05C71}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{28A10113-491D-4CD8-A1B0-E6C6B2F05C71}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import csv
2+
3+
#Open my file
4+
with open("Tasmania.txt","r") as animalFile :
5+
allRowsList = csv.reader(animalFile)
6+
7+
for currentRow in allRowsList :
8+
print(';'.join(currentRow))
9+
10+
#for currentWord in currentRow :
11+
# print(currentWord)
12+
13+
14+
15+
##Read file line by line
16+
#firstAnimal = animalFile.readline()
17+
#print(firstAnimal)
18+
#secondAnimal = animalFile.readline()
19+
#print(secondAnimal)
20+
21+
##read all file contents
22+
#allFileContents = animalFile.read()
23+
#print(allFileContents)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<SchemaVersion>2.0</SchemaVersion>
6+
<ProjectGuid>28a10113-491d-4cd8-a1b0-e6c6b2f05c71</ProjectGuid>
7+
<ProjectHome>.</ProjectHome>
8+
<StartupFile>Module12ReadingFromFiles.py</StartupFile>
9+
<SearchPath>
10+
</SearchPath>
11+
<WorkingDirectory>.</WorkingDirectory>
12+
<OutputPath>.</OutputPath>
13+
<Name>Module12ReadingFromFiles</Name>
14+
<RootNamespace>Module12ReadingFromFiles</RootNamespace>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
19+
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
21+
<DebugSymbols>true</DebugSymbols>
22+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
23+
</PropertyGroup>
24+
<ItemGroup>
25+
<Compile Include="Module12ReadingFromFiles.py" />
26+
</ItemGroup>
27+
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
28+
</Project>

0 commit comments

Comments
 (0)