forked from bwnyasse/dv-workshop-for-opencommit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
35 lines (29 loc) · 2.22 KB
/
Copy pathexample.html
File metadata and controls
35 lines (29 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<title>Python Project Kickoff - Datavalet Sample for Workshop</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400|Roboto:400,300,400italic,500,700|Roboto+Mono">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://storage.googleapis.com/codelab-elements-tmp/codelab-elements.css">
</head>
<body>
<google-codelab codelab-title="Python Project Kickoff - Datavalet Sample for Workshop"><google-codelab-step label="Step 1: Environment Setup">Before diving into coding, ensure that your Python environment is set up correctly. This includes installing Python, setting up a virtual environment, and installing necessary packages.
- Install Python from the official website.
- Create a virtual environment using `python -m venv venv`.
- Activate the virtual environment.
- Install necessary packages using `pip install`.</google-codelab-step><google-codelab-step label="Step 2: Initial Code Structure">Start by setting up the basic structure of your Python project. This step involves creating the main Python file and any necessary modules.
- Create a new Python file named `main.py`.
- Define the basic classes and functions.
- Write a simple script to test the setup.</google-codelab-step><google-codelab-step label="Step 3: Version Control">Version control is essential for any software project. Set up a Git repository for your project.
- Initialize a Git repository using `git init`.
- Add your files to the repository with `git add .`.
- Commit your changes using `git commit -m "Initial commit"`.
Follow these steps to get a solid start on your Python project!</google-codelab-step></google-codelab>
<script src="https://storage.googleapis.com/codelab-elements-tmp/native-shim.js"></script>
<script src="https://storage.googleapis.com/codelab-elements-tmp/custom-elements.min.js"></script>
<script src="https://storage.googleapis.com/codelab-elements-tmp/prettify.js"></script>
<script src="https://storage.googleapis.com/codelab-elements-tmp/codelab-elements.js"></script>
</body>
</html>