Search Results for tag python
Found 49 resultsHow to install Python 3.13.0 from source
Tutorial on how to install Python 3.13.0 from source. configure, make, make install. Useful for Debian, Ubuntu, Fedora, Red Hat and other Linux systems. ... read more
Tutorial on how to install Python 3.13.0 from source. configure, make, make install. Useful for Debian, Ubuntu, Fedora, Red Hat and other Linux systems. ... read more
{ updated: 2024-10-11 23:35:35 }
How to install Python 3.12.7 from source
Tutorial on how to install Python 3.12.7 from source. configure, make, make install. Useful for Debian, Ubuntu, Fedora, Red Hat and other Linux systems. ... read more
Tutorial on how to install Python 3.12.7 from source. configure, make, make install. Useful for Debian, Ubuntu, Fedora, Red Hat and other Linux systems. ... read more
{ updated: 2024-10-11 23:35:29 }
More About American Computer Science League (ACSL)
Blog post about ACSL clubs, content and tips on how to coach your ACSL students. ... read more
Blog post about ACSL clubs, content and tips on how to coach your ACSL students. ... read more
{ updated: 2024-10-10 23:34:20 }
ACSL Junior Division: Information, Review and Timeline
Blog post about coaching your ACSL Junior Division club, with tips and timelines. This is our sixth year coaching ACSL and fifth year coaching ACSL Junior. ... read more
Blog post about coaching your ACSL Junior Division club, with tips and timelines. This is our sixth year coaching ACSL and fifth year coaching ACSL Junior. ... read more
{ updated: 2024-10-10 23:21:56 }
Python Program to Find Repeated Numbers That Are Perfect Squares
Algorithm and Python program to find repeated numbers that are perfect squares. Examples of repeated numbers are 123123 and 3434. ... read more
Algorithm and Python program to find repeated numbers that are perfect squares. Examples of repeated numbers are 123123 and 3434. ... read more
{ updated: 2024-10-06 04:42:09 }
ACSL Junior Wrap Around Code Problem
My Python solution for the ACSL Junior Division 2001-2002 Contest 1 Problem Wrap Around Code. Includes the problem solving logic and Python code tips. ... read more
My Python solution for the ACSL Junior Division 2001-2002 Contest 1 Problem Wrap Around Code. Includes the problem solving logic and Python code tips. ... read more
{ updated: 2024-10-02 04:39:23 }
USACO Palindrome Game Problem
My Python solution for the USACO February 2024 Bronze Division 'Palindrome Game' problem. Includes the problem solving logic. ... read more
My Python solution for the USACO February 2024 Bronze Division 'Palindrome Game' problem. Includes the problem solving logic. ... read more
{ updated: 2024-09-30 12:36:04 }
Python Code to Generate k-digit Number With k As Each Digit
In this Python snippet, we will use different string and math numeric operations to generate a k-digit number where each digit has the value k. ... read more
In this Python snippet, we will use different string and math numeric operations to generate a k-digit number where each digit has the value k. ... read more
{ updated: 2024-09-16 19:56:36 }
Codeforces osu!mania Problem in Python and C++
My Python and C++ solutions for the Codeforces osu!mania problem 2009B. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces osu!mania problem 2009B. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-09-07 23:22:55 }
Codeforces Three Brothers Problem in Python and C++
My Python and C++ solutions for the Codeforces Three Brothers problem 2010B. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces Three Brothers problem 2010B. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-09-03 23:44:01 }
How to Generate Random Numbers in Python
Blog post about how to generate random numbers in Python using various methods. Uses random and secret modules. ... read more
Blog post about how to generate random numbers in Python using various methods. Uses random and secret modules. ... read more
{ updated: 2024-08-30 01:37:14 }
Codeforces Maximum Multiple Sum Problem in Python and C++
My Python and C++ solutions for the Codeforces Maximum Multiple Sum problem 1985A. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces Maximum Multiple Sum problem 1985A. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-08-29 20:47:43 }
How to Break a Python List into Sublists or Slices
Learn how to break a Python list into a list of lists or tuples using itertools.batched, list comprehension, slicing and for loops with append. ... read more
Learn how to break a Python list into a list of lists or tuples using itertools.batched, list comprehension, slicing and for loops with append. ... read more
{ updated: 2024-08-27 22:41:04 }
How to Automate Facebook Posts to Page using Python and Graph API
Tutorial on posting to your Facebook page using Python and Graph API v19. This includes increasing your access token lifetime from 2 months to indefinitely. ... read more
Tutorial on posting to your Facebook page using Python and Graph API v19. This includes increasing your access token lifetime from 2 months to indefinitely. ... read more
{ updated: 2024-08-27 03:01:05 }
How to Set X-Frame-Options in Nginx, Apache, Flask and NodeJS
This blog post shows how to set X-Frame-Options in Nginx, Apache, Flask and NodeJS. Includes a complete program. ... read more
This blog post shows how to set X-Frame-Options in Nginx, Apache, Flask and NodeJS. Includes a complete program. ... read more
{ updated: 2024-08-26 21:21:46 }
How to install Python 3.12.5 on Debian 11 bullseye
Tutorial on installing Python 3.12.5 on Debian 11 bullseye from source. Released on August 6, 2024. Thi sblog post involves configure, make and altinstall ... read more
Tutorial on installing Python 3.12.5 on Debian 11 bullseye from source. Released on August 6, 2024. Thi sblog post involves configure, make and altinstall ... read more
{ updated: 2024-08-08 18:03:57 }
Benchmarking Local and Global Variables, and List Comprehension in Python
How to benchmark the execution speed of local and global variables, and list comprehension. ... read more
How to benchmark the execution speed of local and global variables, and list comprehension. ... read more
{ updated: 2024-07-30 23:59:59 }
Asynchronous Programming with httpx
Article on how to get started with Python httpx module, an alternative to the requests module. httpx supports both synchronous and asynchronous HTTP requests. ... read more
Article on how to get started with Python httpx module, an alternative to the requests module. httpx supports both synchronous and asynchronous HTTP requests. ... read more
{ updated: 2024-07-30 23:59:59 }
Python for Kids: a 30-Day Roadmap
This blog post is about a suggested timeline on how to teach Python to kids. This includes a list of topics to teach core Python for school age. Python 3.12 ... read more
This blog post is about a suggested timeline on how to teach Python to kids. This includes a list of topics to teach core Python for school age. Python 3.12 ... read more
{ updated: 2024-07-30 23:59:59 }
Python Program to Generate Large Datasets
Generate large datasets with randomly generated values. Uses the `csv`, `json` and `random` Python modules and does not depend on any external file or database. ... read more
Generate large datasets with randomly generated values. Uses the `csv`, `json` and `random` Python modules and does not depend on any external file or database. ... read more
{ updated: 2024-07-30 23:59:59 }
How to Install Python 3.12.3 on the Raspberry Pi
Tutorial on how to Install Python 3.12.3 on the Raspberry Pi. This will be updated whenever there is a new version or Python or Raspberry Pi OS (Raspbian). ... read more
Tutorial on how to Install Python 3.12.3 on the Raspberry Pi. This will be updated whenever there is a new version or Python or Raspberry Pi OS (Raspbian). ... read more
{ updated: 2024-07-02 23:59:59 }
ACSL Intermediate Number Transformation Problem
My Python solution for the ACSL Intermediate Problem Number Transformation in 2019-2020. Includes the problem solving logic and Python code tips. ... read more
My Python solution for the ACSL Intermediate Problem Number Transformation in 2019-2020. Includes the problem solving logic and Python code tips. ... read more
{ updated: 2024-06-25 00:01:01 }
ACSL Junior Numble Problem
My Python solution for the ACSL Junior Division 2013-2014 Contest 4 Problem Numble. Includes the problem solving logic and Python code tips. ... read more
My Python solution for the ACSL Junior Division 2013-2014 Contest 4 Problem Numble. Includes the problem solving logic and Python code tips. ... read more
{ updated: 2024-06-24 00:01:01 }
ACSL Junior Finals Run-Length Encoding Problem
My Python solution for the ACSL Junior Division 2023-2024 Finals #1 Problem Run-Length Encoding. Includes the problem solving logic and Python code tips. ... read more
My Python solution for the ACSL Junior Division 2023-2024 Finals #1 Problem Run-Length Encoding. Includes the problem solving logic and Python code tips. ... read more
{ updated: 2024-06-15 23:59:59 }
Codeforces Yogurt Sale Problem in Python and C++
My Python and C++ solutions for the Codeforces Yogurt Sale problem 1955A. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces Yogurt Sale problem 1955A. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-05-08 23:59:59 }
Codeforces Moving Chips Problem in Python and C++
My Python and C++ solutions for the Codeforces 'Moving Chips' problem 1923A. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces 'Moving Chips' problem 1923A. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-02-24 23:59:59 }
Codeforces Make it White Problem in Python and C++
My Python and C++ solutions for the Codeforces 'Make it White' problem 1927A. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces 'Make it White' problem 1927A. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-02-06 23:59:59 }
USACO Cow College Problem
My Python solution for the USACO December 2022 Bronze Division 'Cow College' problem. Includes the problem solving logic. ... read more
My Python solution for the USACO December 2022 Bronze Division 'Cow College' problem. Includes the problem solving logic. ... read more
{ updated: 2024-02-03 23:59:59 }
Codeforces Brick Wall Problem in Python and C++
My Python and C++ solutions for the Codeforces 'Brick Wall' problem 1918A. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces 'Brick Wall' problem 1918A. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-01-31 23:59:59 }
Codeforces Fafa and the Gates Problem in Python and C++
My Python and C++ solutions for the Codeforces 'Fafa and the Gates' problem 935B. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces 'Fafa and the Gates' problem 935B. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-01-29 23:59:59 }
ACSL String Stats Problem
My Python solutions for the ACSL Junior Division 2018-2019 Programming Problem 'String Stats'. Includes the problem solving logic. ... read more
My Python solutions for the ACSL Junior Division 2018-2019 Programming Problem 'String Stats'. Includes the problem solving logic. ... read more
{ updated: 2024-01-28 00:01:01 }
Codeforces Bark to Unlock Problem in Python and C++
My Python and C++ solutions for the Codeforces Bark to Unlock problem 868A. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces Bark to Unlock problem 868A. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-01-27 23:59:59 }
Codeforces Key Races Problem in Python and C++
My Python and C++ solutions for the Codeforces Key Races problem 835A. Includes the problem solving logic and speed benchmarks. ... read more
My Python and C++ solutions for the Codeforces Key Races problem 835A. Includes the problem solving logic and speed benchmarks. ... read more
{ updated: 2024-01-26 23:59:59 }
How to access and update environment variables in Python
This article shows you how to set, retrieve and modify environment variables using Python. Python uses the os.environ module for handling environment variables. ... read more
This article shows you how to set, retrieve and modify environment variables using Python. Python uses the os.environ module for handling environment variables. ... read more
{ updated: 2024-01-25 23:59:59 }
Convert Binary, Octal, Decimal and Hexadecimal Numbers using Python
How to convert between the four number systems - binary, octal, decimal and hexadecimal using Python. bin(), oct(), hex(), int() functions. ... read more
How to convert between the four number systems - binary, octal, decimal and hexadecimal using Python. bin(), oct(), hex(), int() functions. ... read more
{ updated: 2024-01-24 23:59:59 }
Python Underscore _ Variable
Learn about the underscore variable in Python and where it is used. It is used as an ignore variable. Underscores are also used in variable names and reserved method names. ... read more
Learn about the underscore variable in Python and where it is used. It is used as an ignore variable. Underscores are also used in variable names and reserved method names. ... read more
{ updated: 2024-01-20 23:59:59 }
Sending Asynchronous Requests in Python with asyncio and aiohttp
Tutorial on how to send asynchronous HTTP requests using the asynchio and aiohttp modules in Python 3.10 and greater. This code is different from that of previous versions. ... read more
Tutorial on how to send asynchronous HTTP requests using the asynchio and aiohttp modules in Python 3.10 and greater. This code is different from that of previous versions. ... read more
{ updated: 2024-01-10 23:59:59 }
Generate Random Data using Python
Article on how to generate various types of random data using Python. In our examples we will use Python 3.12, but any Python above 3.6 should do. ... read more
Article on how to generate various types of random data using Python. In our examples we will use Python 3.12, but any Python above 3.6 should do. ... read more
{ updated: 2024-01-02 23:59:59 }
Python One-Liners to Make your Programs More Efficient
Python one-liners to make your programs more efficient and concise. ... read more
Python one-liners to make your programs more efficient and concise. ... read more
{ updated: 2023-12-26 23:59:59 }
How to Enable HSTS in Nginx, Apache, Flask, NodeJS
This blog post shows how to enable HSTS in Nginx, Apache, Flask and NodeJS. ... read more
This blog post shows how to enable HSTS in Nginx, Apache, Flask and NodeJS. ... read more
{ updated: 2023-12-09 23:59:59 }
Web Controllable Christmas Lights using Raspberry Pi and RGB LED Strip
Web controllable Christmas lights using Raspberry Pi and RGB LED strip. You can change the LED strip colours. ... read more
Web controllable Christmas lights using Raspberry Pi and RGB LED strip. You can change the LED strip colours. ... read more
{ updated: 2023-10-23 23:59:59 }
How to install Python packages offline
This tutorial shows you how to install Python packages if your computer is offline or the firewall prevents connection to pypi.org. ... read more
This tutorial shows you how to install Python packages if your computer is offline or the firewall prevents connection to pypi.org. ... read more
{ updated: 2023-02-26 23:59:59 }
Python script to tweet your Internet speed
This is a Python program that tweets your Internet speed to your Twitter account. ... read more
This is a Python program that tweets your Internet speed to your Twitter account. ... read more
{ updated: 2022-10-13 23:59:59 }
Python script to submit URLs to Bing search engine
Python program to bulk submit URLs to Bing search engine. This uses the Submission API provided by Bing Webmaster Tools. ... read more
Python program to bulk submit URLs to Bing search engine. This uses the Submission API provided by Bing Webmaster Tools. ... read more
{ updated: 2022-07-26 23:59:59 }
Install Visual Studio Code for Python development
Tutorial on how to install Visual Studio Code for development in Python. This includes installing of plugins. ... read more
Tutorial on how to install Visual Studio Code for development in Python. This includes installing of plugins. ... read more
{ updated: 2022-06-22 23:59:59 }
Working with JSON in Python
How to work with JSON in Python using the json module. Includes serialization and deserialization, dumps() and loads() ... read more
How to work with JSON in Python using the json module. Includes serialization and deserialization, dumps() and loads() ... read more
{ updated: 2022-05-30 23:59:59 }
ACSL Intermediate Division
Blog post about how to coach your ACSL Intermediate Division club. ... read more
Blog post about how to coach your ACSL Intermediate Division club. ... read more
{ updated: 2022-01-27 00:01:01 }
Python script to show live video using RTSP
Python script that connects to a Wyze camera and streams live video on RTSP. ... read more
Python script that connects to a Wyze camera and streams live video on RTSP. ... read more
{ updated: 2021-09-22 23:59:59 }