Skip to content
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)

Category: Python Tutorials

1SMARTchicken - Code Made Easy

Category: Python Tutorials

  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)
1SMARTchicken - Code Made Easy

Category: Python Tutorials

  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)
  • Home
  • Tutorials
  • Python Tutorials
  • Page 4
Python Tutorials

Python – Using JSON

April 25, 2025 / Python Tutorials, Tutorials / JSON

Python has a built-in package called json, which can be used to work with JSON data to store and exchange data.

Python Tutorials

Python – Working with Try and Except

April 29, 2025 / Python Tutorials, Tutorials / Error

A Python try block lets you test a block of code for errors. And the except block lets you handle the error.

Python Tutorials

Python – Formatting Strings

May 15, 2025 / Python Tutorials, Tutorials / Python String, String

There are two ways to format strings in Python: Using F-strings (the preferred way since v3.6) and the format() method (older and less efficient).

Python Tutorials

Python – User Input

May 19, 2025 / Python Tutorials, Tutorials

Since Python 3.6 the input() method is used to ask the user to input user data.

Python Tutorials

Python – Opening Files

May 20, 2025 / Python File Handling, Python Tutorials, Tutorials

The key function for working with files in Python is the open() function, which takes two parameters: filename, and mode.

Python Tutorials

Python – Reading Files

May 27, 2025 / Python File Handling, Python Tutorials, Tutorials

In Python, the open() function will open the file and the read() method is used to read the content of the file.

Python Tutorials

Python – Writing to a File

May 30, 2025 / Python File Handling, Python Tutorials, Tutorials

In Python, the open() function is used to open or create a file and then a parameter is set to write contents to the file.

Python Tutorials

Python – Deleting a File

June 4, 2025 / Python File Handling, Python Tutorials, Tutorials

In Python, to delete a file, the OS module is imported, and the os.remove() function is used.

Python Tutorials

Python – Creating a MySQL Database

June 8, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “CREATE DATABASE” statement is used to create a MySQL database.

Python Tutorials

Python – Connecting to a MySQL Database

June 5, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

Python can be used in database applications to connect to a MySQL database to interact with stored information.

Python Tutorials

Python – Creating a MySQL Table

June 10, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “CREATE TABLE” statement is used to create a MySQL table.

Python Tutorials

Python – Adding Data to a MySQL Table

June 13, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “INSERT INTO” statement is used to add data to a MySQL table.

Python Tutorials

Python – Retrieving Data From a MySQL Table

June 17, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “SELECT” statement is used to get data from a MySQL table.

Python Tutorials

Python – Using “WHERE” to Retrieve Data From a MySQL Table

June 20, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “WHERE” statement is used to get filtered data from a MySQL table.

Python Tutorials

Python – Using “ORDER BY” to Order Data From a MySQL Table

June 20, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the ORDER BY keyword is used to sort the resulting data in either ascending or descending order.

Python Tutorials

Python – Using “LIMIT” When Retrieving Data From a MySQL Table

June 29, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “LIMIT” statement is used to limit the number of records returned from a MySQL table.

Python Tutorials

Python – Updating Data in a MySQL Table

June 26, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “UPDATE” statement is used to make changes to existing data in a MySQL table.

Python Tutorials

Python – Deleting Data From a MySQL Table

June 24, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “DELETE FROM” statement is used to remove data from a MySQL table.

Python Tutorials

Python – Joining Two or More MySQL Tables

June 29, 2025 / Python and MySQL, Python Tutorials, Tutorials / MySQL

In Python, the “JOIN” statement is used to combine rows from two or more tables, based on a related column they share.

← Previous 1 … 3 4

or View All Tags

Tutorials

  • HTML Tutorials (40)
  • CSS Tutorials (45)
    • CSS Flexbox (12)
  • JavaScript Tutorials (6)
  • jQuery Tutorials (13)
  • PHP Tutorials (0)
  • SQL Tutorials (0)
  • Python Tutorials (79)
    • Python File Handling (4)
    • Python and MySQL (11)
  • WordPress Tutorials (0)

Reference

  • HTML Reference (244)
    • HTML Tags (107)
    • HTML Attributes (46)
    • HTML Events (76)
    • HTML Resources (15)
  • CSS Reference (309)
    • CSS Selectors (55)
    • CSS Properties (220)
    • CSS Functions (17)
    • CSS Resources (17)
  • JavaScript Reference (555)
    • JavaScript Selectors (7)
    • JavaScript Operators (12)
    • JavaScript Statements (17)
    • JavaScript Methods (284)
    • JavaScript Properties (162)
    • JavaScript RegExp (45)
    • JavaScript Resources (28)
  • jQuery Reference (220)
    • jQuery Selectors (54)
    • jQuery Methods (140)
    • jQuery Ajax Methods (16)
    • jQuery Properties (17)
    • jQuery Resources (9)
  • PHP Reference (460)
    • PHP Keywords (59)
    • PHP Functions (400)
    • PHP Constants (0)
    • PHP Resources (1)
  • SQL Reference (290)
    • SQL Keywords (59)
    • MySQL Functions (138)
    • SQL Server Functions (83)
    • SQL Resources (10)
  • Python Reference (94)
    • Python Methods (86)
    • Python Resources (8)
  • WordPress Reference (0)

Snippets

  • HTML Snippets (3)
  • CSS Snippets (12)
  • JavaScript Snippets (5)
  • jQuery Snippets (8)
  • PHP Snippets (1)
  • SQL Snippets (3)
  • Python Snippets (1)
  • WordPress Snippets (36)
1SMARTchicken - Code Made Easy

333 Washington Blvd.
Suite 126
Marina del Rey, CA 90292
United States

contact2025@1smartchicken.com

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions

Search for Code:

or View All Tags

Copyright © 2025 1SMARTchicken | All Rights Reserved.