Skip to content

Commit 873bd13

Browse files
Code examples from module 2
1 parent f343a5c commit 873bd13

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-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}") = "Module2DisplayingText", "Module2DisplayingText\Module2DisplayingText.pyproj", "{CDCBF0E2-08FB-4C74-96A8-11164A699C23}"
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+
{CDCBF0E2-08FB-4C74-96A8-11164A699C23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{CDCBF0E2-08FB-4C74-96A8-11164A699C23}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{CDCBF0E2-08FB-4C74-96A8-11164A699C23}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{CDCBF0E2-08FB-4C74-96A8-11164A699C23}.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,17 @@
1+
print('The capybara is the worlds largest rodent')
2+
print('The capybara likes to live in groups')
3+
print("The capybara can swim")
4+
5+
print("the capybara lives in \nSouth America")
6+
print("""This is the strangest
7+
way to print over multiple lines I know""")
8+
9+
print('here is a double quote "' + " here is a single quote '")
10+
print("or you can just do this \" does that work")
11+
print("can I just print a \ on the screen?")
12+
13+
#I am inserting a \\ so the \ appears correctly in the string
14+
print("But what if I want \\news ")
15+
16+
17+
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>cdcbf0e2-08fb-4c74-96a8-11164a699c23</ProjectGuid>
7+
<ProjectHome>.</ProjectHome>
8+
<StartupFile>Module2DisplayingText.py</StartupFile>
9+
<SearchPath>
10+
</SearchPath>
11+
<WorkingDirectory>.</WorkingDirectory>
12+
<OutputPath>.</OutputPath>
13+
<Name>Module2DisplayingText</Name>
14+
<RootNamespace>Module2DisplayingText</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="Module2DisplayingText.py" />
26+
</ItemGroup>
27+
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
28+
</Project>

0 commit comments

Comments
 (0)