Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7877421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:21:58+00:00 2026-06-03T03:21:58+00:00

I am using IDLE to learn Python 2.7 on Windows 7. The Vertical scroll

  • 0

I am using IDLE to learn Python 2.7 on Windows 7.

The Vertical scroll bar works fine but I cannot find
a way to activate the Horizontal scroll bar.

Is there a horizontal scroll bar in Python’s IDLE?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:21:59+00:00Added an answer on June 3, 2026 at 3:21 am

    Horizontal Scroll Bars for IDLE

    from http://code.activestate.com/lists/python-list/26878/
    (not my code, found it on this site)
    It is dated Wed, 08 Mar 2000

    Works for Python 2.6 but I can’t get to work in 2.7. I get an error saying that the file is open some where. For me, the file he is talking about is located in:C:\Python27\ArcGIS10.1\Lib\idlelib It will be different if you do not have the ArcMap program which comes with python and installs it for you.

    I finally got around to adding horizontal scroll bars to the IDLE
    editor window to help when you get those LONG lines of code. They
    changes are rather mionor (4 new lines of code) and were made in the
    EditorWindow.py module. To make the changes in IDLE, open
    EditorWindow.py and perform a search for ‘vbar’ which is in the
    EditorWindow class, __init__ method. Add those lines that have ###
    appended to them and VOILA you have it. Unfortunately, the scrollbar
    appears BELOW the row and column information in IDLE 0.5 (sigh).

        self.vbar = vbar = Scrollbar(top, name='vbar')
        self.hbar = hbar = Scrollbar(top, orient=HORIZONTAL, name='hbar') ###
        ...
        vbar['command'] = text.yview
        vbar.pack(side=RIGHT, fill=Y)
        hbar['command'] = text.xview        ###
        hbar.pack(side=BOTTOM, fill=X)      ###
    
        text['yscrollcommand'] = vbar.set
        text['xscrollcommand'] = hbar.set   ###
    

    Hope this is helpful.

    Jonathan Polley

    jwpolley at collins.rockwell.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using python 2.5 in windows on a macbook pro with IDLE. How do
I'm an absolute beginner using IDLE (Python 2.6.4) to learn the basics. I recently
I'm using python 2.7.2 with built-in IDLE on windows 7 x64, and found a
Windows 7 As I'm learning Python (3.2) I prefer using IDLE than CMD. In
I am using IDLE to learn python and I just notices something. Whenever I
I'm used to using Idle for Python development, but decided to give Visual Studio
I have Python 3.2.2 downloaded and have been using IDLE to execute code; however,
Im using IDLE on windows 7. When I run the following code uni =
I'm currently using IDLE, its decent, but I'd like to know if there're better
Python for Windows by default comes with IDLE, which is the barest-bones IDE I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.