🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Stheven Cabral
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Stheven Cabral
    Full Stack JavaScript Techdegree Graduate 29,854 Points

    What Does UTF-8 mean?

    Posted October 21, 2019 4:31am by Stheven Cabral
    .a{fill-rule:evenodd;}techdegree seal-36
    Stheven Cabral
    Full Stack JavaScript Techdegree Graduate 29,854 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Andrei Oprescu
    Andrei Oprescu
    9,547 Points

    I don't quite understand how this works

    Posted August 9, 2018 11:25am by Andrei Oprescu
    Andrei Oprescu
    9,547 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Jerimiah Willhite
    Jerimiah Willhite
    12,014 Points

    Why would you not just use 'search' all the time? What's the use of 'match'?

    Posted June 2, 2017 6:00pm by Jerimiah Willhite
    Jerimiah Willhite
    12,014 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    What is that "Span"?

    Posted April 24, 2017 6:45am by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • MoatazBellah Ghobashy
    MoatazBellah Ghobashy
    9,518 Points

    How to can i get some file to read with a directory!!

    Posted October 23, 2016 7:45pm by MoatazBellah Ghobashy
    MoatazBellah Ghobashy
    9,518 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • vikas pal
    vikas pal
    11,563 Points

    what's the difference in 'with' and '.open()'

    Posted October 14, 2016 5:16pm by vikas pal
    vikas pal
    11,563 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • Hara Gopal K
    PLUS
    Hara Gopal K
    Courses Plus Student 10,027 Points

    storing regex in a variable

    Posted October 7, 2016 5:29pm by Hara Gopal K
    Hara Gopal K
    Courses Plus Student 10,027 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • Chris Jones
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Chris Jones
    Java Web Development Techdegree Graduate 23,933 Points

    How is a pointer different from a variable?

    Posted September 9, 2016 1:18am by Chris Jones
    .a{fill-rule:evenodd;}techdegree seal-36
    Chris Jones
    Java Web Development Techdegree Graduate 23,933 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • sidni ahmed
    sidni ahmed
    3,329 Points

    reading file on my pc?

    Posted May 29, 2016 3:56pm by sidni ahmed
    sidni ahmed
    3,329 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    4 Answers

  • James N
    James N
    17,864 Points

    is "regex" built-in to python? or do i have to download it seperatly?

    Posted January 24, 2016 8:56pm by James N
    James N
    17,864 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Rajesh Tupakula
    Rajesh Tupakula
    1,927 Points

    Need help with the regular expression.

    Posted January 13, 2016 5:14pm by Rajesh Tupakula
    Rajesh Tupakula
    1,927 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Graham Mackenzie
    Graham Mackenzie
    2,747 Points

    "This saves us some very confusing repeated uses of the backslash character or the escape character"

    Posted November 12, 2015 8:15pm by Graham Mackenzie
    Graham Mackenzie
    2,747 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • peter keves
    peter keves
    6,854 Points

    open read and close methods

    Posted September 1, 2015 6:53pm by peter keves
    peter keves
    6,854 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Naivedya Bansal
    Naivedya Bansal
    5,483 Points

    regarding SRE_Match object

    Posted July 22, 2015 10:48am by Naivedya Bansal
    Naivedya Bansal
    5,483 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Babak Damadi
    PLUS
    Babak Damadi
    Courses Plus Student 3,133 Points

    with Open("names.txt")

    Posted December 29, 2014 7:09pm by Babak Damadi
    Babak Damadi
    Courses Plus Student 3,133 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.