# Adding the privacy policy page to the website files # Define the content of privacy.html privacy_html_content = """ Privacy Policy

Privacy Policy

This Privacy Policy explains how Train Ticket Planner collects, uses, and protects your personal information. By using our website, you agree to the terms of this Privacy Policy.

1. Information We Collect

We may collect the following types of information:

2. Use of Information

We use your information to:

3. Cookies

Our website uses cookies to enhance functionality and improve your experience. Cookies may also be used by third-party services such as Google AdSense to deliver relevant ads.

You can control cookie settings in your browser preferences.

4. Google AdSense

We use Google AdSense to display ads on our website. AdSense may use cookies to serve personalized ads based on your browsing activity. You can learn more about Google’s advertising policies at https://policies.google.com/technologies/ads.

5. Data Sharing

We do not sell, trade, or share your personal information with third parties, except:

6. Data Security

We implement appropriate security measures to protect your data. However, no online system is entirely secure, and we cannot guarantee absolute security.

7. Third-Party Links

Our website may include links to external sites. We are not responsible for the privacy practices or content of these third-party websites. Please review their policies before sharing information.

8. Your Rights

You have the right to:

9. Changes to This Privacy Policy

We may update this Privacy Policy from time to time. Changes will be posted on this page, and we encourage you to review it regularly.

10. Contact Us

If you have any questions or concerns about this Privacy Policy, please contact us:

Email: support@trainticketplanner.com

Phone: +91-123-456-7890

""" # Write the privacy.html file privacy_file_path = "/mnt/data/train_ticket_booking/privacy.html" with open(privacy_file_path, "w") as file: file.write(privacy_html_content) "Privacy Policy page added successfully."