Initial commit: Create comprehensive Git playground
- Multi-language source code (Python, JavaScript, Java, C++, Go) - Configuration files (JSON, YAML, INI) - Sample data files (CSV, JSON, logs) - Binary and media assets (PNG, SVG, PDF) - Test files and deployment scripts - Nested directory structure for testing Git features 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
29
main.py
Normal file
29
main.py
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Main application entry point for the sandbox project.
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
from datetime import datetime
|
||||
|
||||
def load_config():
|
||||
"""Load configuration from config.json"""
|
||||
try:
|
||||
with open('config.json', 'r') as f:
|
||||
return json.load(f)
|
||||
except FileNotFoundError:
|
||||
return {"debug": True, "version": "1.0.0"}
|
||||
|
||||
def main():
|
||||
"""Main function"""
|
||||
config = load_config()
|
||||
print(f"Sandbox Project v{config.get('version', '1.0.0')}")
|
||||
print(f"Debug mode: {config.get('debug', False)}")
|
||||
print(f"Current time: {datetime.now()}")
|
||||
|
||||
if config.get("debug"):
|
||||
print("Running in debug mode")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user