chunk_id stringlengths 36 36 | source stringclasses 35
values | source_url stringlengths 0 290 | upstream_license stringclasses 1
value | document_id stringlengths 36 36 | chunk_index int64 0 324k | retrieved_at stringclasses 2
values | chunker_version stringclasses 4
values | content_hash stringlengths 15 64 | content stringlengths 50 44.7k | namespace stringclasses 9
values | source_name stringclasses 35
values | raw_text stringlengths 50 44.7k | cleaned_text stringlengths 50 44.7k | tags stringclasses 49
values | collection_name stringclasses 11
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d396cfdb-da9f-440f-bb21-1f0f0c20ba51 | CPython Docs | file://datasets/cpython/Doc/library/array.rst | unknown | 4e7f795e-baae-4b76-851e-937a5b5e34ca | 9,288 | supabase-export-v2 | de89a1376b63455c | .. method:: pop(index=-1, /)
Removes the item with the index *i* from the array and returns it. The optional
argument defaults to ``-1``, so that by default the last item is removed and
returned. | trusted_official_docs | CPython Docs | .. method:: pop(index=-1, /)
Removes the item with the index *i* from the array and returns it. The optional
argument defaults to ``-1``, so that by default the last item is removed and
returned. | .. method:: pop(index=-1, /)
Removes the item with the index *i* from the array and returns it. The optional
argument defaults to ``-1``, so that by default the last item is removed and
returned. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e24f4422-84d2-4a95-b808-91907024b7e1 | CPython Docs | file://datasets/cpython/Doc/library/array.rst | unknown | 4e7f795e-baae-4b76-851e-937a5b5e34ca | 9,284 | supabase-export-v2 | a8f8e8eaf8e543ea | optional arguments *start* and *stop* can be specified to search for *value* within a subsection of the array. Raise :exc:`ValueError` if *value* is not found.
.. versionchanged:: 3.10
Added optional *start* and *stop* parameters. | trusted_official_docs | CPython Docs | optional arguments *start* and *stop* can be specified to search for *value* within a subsection of the array. Raise :exc:`ValueError` if *value* is not found.
.. versionchanged:: 3.10
Added optional *start* and *stop* parameters. | optional arguments *start* and *stop* can be specified to search for *value* within a subsection of the array. Raise :exc:`ValueError` if *value* is not found.
.. versionchanged:: 3.10
Added optional *start* and *stop* parameters. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
001c9f6d-8c09-4316-8c60-f66e8a929ea9 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,327 | supabase-export-v2 | d52df3834992570f | >>> textwrap.shorten("Hello world!", width=12) 'Hello world!' >>> textwrap.shorten("Hello world!", width=11) 'Hello [...]' >>> textwrap.shorten("Hello world", width=10, placeholder="...") 'Hello...'
Optional keyword arguments correspond to the instance attributes of
:class:`TextWrapper`, documented below. Note that th... | trusted_official_docs | CPython Docs | >>> textwrap.shorten("Hello world!", width=12) 'Hello world!' >>> textwrap.shorten("Hello world!", width=11) 'Hello [...]' >>> textwrap.shorten("Hello world", width=10, placeholder="...") 'Hello...'
Optional keyword arguments correspond to the instance attributes of
:class:`TextWrapper`, documented below. Note that th... | >>> textwrap.shorten("Hello world!", width=12) 'Hello world!' >>> textwrap.shorten("Hello world!", width=11) 'Hello [...]' >>> textwrap.shorten("Hello world", width=10, placeholder="...") 'Hello...'
Optional keyword arguments correspond to the instance attributes of
:class:`TextWrapper`, documented below. Note that th... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
03546a14-f50c-4afb-9796-acf4c8e76c4a | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,334 | supabase-export-v2 | cfa83b7483506b8f | For example::
def test():
# end first line with \ to avoid the empty line! s = '''\
hello
world
'''
print(repr(s)) # prints ' hello\n world\n '
print(repr(dedent(s))) # prints 'hello\n world\n' | trusted_official_docs | CPython Docs | For example::
def test():
# end first line with \ to avoid the empty line! s = '''\
hello
world
'''
print(repr(s)) # prints ' hello\n world\n '
print(repr(dedent(s))) # prints 'hello\n world\n' | For example::
def test():
# end first line with \ to avoid the empty line! s = '''\
hello
world
'''
print(repr(s)) # prints ' hello\n world\n '
print(repr(dedent(s))) # prints 'hello\n world\n' | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0517bad5-9d8b-4900-8a0b-d81a38cd375a | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,375 | supabase-export-v2 | 52b0b64600bb8c81 | ``'"'`` or ``"'"``, followed by a space. One problem with this algorithm is that it is unable to detect the difference between "Dr." in ::
[...] Dr. Frankenstein's monster [...] | trusted_official_docs | CPython Docs | ``'"'`` or ``"'"``, followed by a space. One problem with this algorithm is that it is unable to detect the difference between "Dr." in ::
[...] Dr. Frankenstein's monster [...] | ``'"'`` or ``"'"``, followed by a space. One problem with this algorithm is that it is unable to detect the difference between "Dr." in ::
[...] Dr. Frankenstein's monster [...] | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0f0a37e5-0cb2-4751-ab76-6223cf842014 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,370 | supabase-export-v2 | 948c107697384c94 | .. attribute:: initial_indent
(default: ``''``) String that will be prepended to the first line of
wrapped output. Counts towards the length of the first line. The empty
string is not indented. | trusted_official_docs | CPython Docs | .. attribute:: initial_indent
(default: ``''``) String that will be prepended to the first line of
wrapped output. Counts towards the length of the first line. The empty
string is not indented. | .. attribute:: initial_indent
(default: ``''``) String that will be prepended to the first line of
wrapped output. Counts towards the length of the first line. The empty
string is not indented. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1129961c-72dc-4a9c-826a-b975379afe17 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,353 | supabase-export-v2 | f8d5f5df0e3685c7 | You can reuse the same :class:`TextWrapper` object many times, and you can change any of its options through direct assignment to instance attributes between uses.
The :class:`TextWrapper` instance attributes (and keyword arguments to the
constructor) are as follows: | trusted_official_docs | CPython Docs | You can reuse the same :class:`TextWrapper` object many times, and you can change any of its options through direct assignment to instance attributes between uses.
The :class:`TextWrapper` instance attributes (and keyword arguments to the
constructor) are as follows: | You can reuse the same :class:`TextWrapper` object many times, and you can change any of its options through direct assignment to instance attributes between uses.
The :class:`TextWrapper` instance attributes (and keyword arguments to the
constructor) are as follows: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
13cf140f-a619-49c2-ad50-494fab3b0e30 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,325 | supabase-export-v2 | f1bcb7444b8e3aa7 | Collapse and truncate the given *text* to fit in the given *width*.
First the whitespace in *text* is collapsed (all whitespace is replaced by
single spaces). If the result fits in the *width*, it is returned. Otherwise, enough words are dropped from the end so that the remaining words
plus the *placeholder* fit with... | trusted_official_docs | CPython Docs | Collapse and truncate the given *text* to fit in the given *width*.
First the whitespace in *text* is collapsed (all whitespace is replaced by
single spaces). If the result fits in the *width*, it is returned. Otherwise, enough words are dropped from the end so that the remaining words
plus the *placeholder* fit with... | Collapse and truncate the given *text* to fit in the given *width*.
First the whitespace in *text* is collapsed (all whitespace is replaced by
single spaces). If the result fits in the *width*, it is returned. Otherwise, enough words are dropped from the end so that the remaining words
plus the *placeholder* fit with... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1cdde28f-0f6d-40ad-8eaf-97234e212978 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,381 | supabase-export-v2 | 22c895d5d30fd989 | .. attribute:: break_long_words
(default: ``True``) If true, then words longer than :attr:`width` will be
broken in order to ensure that no lines are longer than :attr:`width`. If
it is false, long words will not be broken, and some lines may be longer
than :attr:`width`. (Long words will be put on a line by themsel... | trusted_official_docs | CPython Docs | .. attribute:: break_long_words
(default: ``True``) If true, then words longer than :attr:`width` will be
broken in order to ensure that no lines are longer than :attr:`width`. If
it is false, long words will not be broken, and some lines may be longer
than :attr:`width`. (Long words will be put on a line by themsel... | .. attribute:: break_long_words
(default: ``True``) If true, then words longer than :attr:`width` will be
broken in order to ensure that no lines are longer than :attr:`width`. If
it is false, long words will not be broken, and some lines may be longer
than :attr:`width`. (Long words will be put on a line by themsel... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
23132c80-b650-4210-a2f4-cca0a93c0397 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,316 | supabase-export-v2 | 96f687c670b7a858 | .. function:: wrap(text, width=70, *, initial_indent="", \ subsequent_indent="", expand_tabs=True, \ replace_whitespace=True, fix_sentence_endings=False, \ break_long_words=True, drop_whitespace=True, \ break_on_hyphens=True, tabsize=8, max_lines=None, \ placeholder=' [...]')
Wraps the single paragraph in *text* (a str... | trusted_official_docs | CPython Docs | .. function:: wrap(text, width=70, *, initial_indent="", \ subsequent_indent="", expand_tabs=True, \ replace_whitespace=True, fix_sentence_endings=False, \ break_long_words=True, drop_whitespace=True, \ break_on_hyphens=True, tabsize=8, max_lines=None, \ placeholder=' [...]')
Wraps the single paragraph in *text* (a str... | .. function:: wrap(text, width=70, *, initial_indent="", \ subsequent_indent="", expand_tabs=True, \ replace_whitespace=True, fix_sentence_endings=False, \ break_long_words=True, drop_whitespace=True, \ break_on_hyphens=True, tabsize=8, max_lines=None, \ placeholder=' [...]')
Wraps the single paragraph in *text* (a str... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
273f75e3-b817-4d40-b077-1d5abaf9fccd | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,336 | supabase-export-v2 | ea60ee7da679c7fa | versionchanged:: 3.14 The :func:`!dedent` function now correctly normalizes blank lines containing only whitespace characters. Previously, the implementation only normalized blank lines containing tabs and spaces.
.. function:: indent(text, prefix, predicate=None) | trusted_official_docs | CPython Docs | versionchanged:: 3.14 The :func:`!dedent` function now correctly normalizes blank lines containing only whitespace characters. Previously, the implementation only normalized blank lines containing tabs and spaces.
.. function:: indent(text, prefix, predicate=None) | versionchanged:: 3.14 The :func:`!dedent` function now correctly normalizes blank lines containing only whitespace characters. Previously, the implementation only normalized blank lines containing tabs and spaces.
.. function:: indent(text, prefix, predicate=None) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
29162c65-0c58-47b7-b2a8-d9ae88c8ec1c | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,366 | supabase-export-v2 | 3215cb94bc18a99c | .. note::
If :attr:`replace_whitespace` is false, newlines may appear in the
middle of a line and cause strange output. For this reason, text should
be split into paragraphs (using :meth:`str.splitlines` or similar)
which are wrapped separately. | trusted_official_docs | CPython Docs | .. note::
If :attr:`replace_whitespace` is false, newlines may appear in the
middle of a line and cause strange output. For this reason, text should
be split into paragraphs (using :meth:`str.splitlines` or similar)
which are wrapped separately. | .. note::
If :attr:`replace_whitespace` is false, newlines may appear in the
middle of a line and cause strange output. For this reason, text should
be split into paragraphs (using :meth:`str.splitlines` or similar)
which are wrapped separately. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
33a744ea-83d6-4577-b498-f12403cfa3f3 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,335 | supabase-export-v2 | 8acd48e887081c3c | with \ to avoid the empty line! s = '''\ hello world ''' print(repr(s)) # prints ' hello\n world\n ' print(repr(dedent(s))) # prints 'hello\n world\n'
.. versionchanged:: 3.14
The :func:`!dedent` function now correctly normalizes blank lines containing
only whitespace characters. Previously, the implementation only n... | trusted_official_docs | CPython Docs | with \ to avoid the empty line! s = '''\ hello world ''' print(repr(s)) # prints ' hello\n world\n ' print(repr(dedent(s))) # prints 'hello\n world\n'
.. versionchanged:: 3.14
The :func:`!dedent` function now correctly normalizes blank lines containing
only whitespace characters. Previously, the implementation only n... | with \ to avoid the empty line! s = '''\ hello world ''' print(repr(s)) # prints ' hello\n world\n ' print(repr(dedent(s))) # prints 'hello\n world\n'
.. versionchanged:: 3.14
The :func:`!dedent` function now correctly normalizes blank lines containing
only whitespace characters. Previously, the implementation only n... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
344ee020-0214-435f-b614-0650807a69a9 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,343 | supabase-export-v2 | 60af9d696b89ee39 | *predicate* argument can be used to control which lines are indented. For example, it is easy to add *prefix* to even empty and whitespace-only lines::
>>> print(indent(s, '+ ', lambda line: True))
+ hello
+
+
+ world | trusted_official_docs | CPython Docs | *predicate* argument can be used to control which lines are indented. For example, it is easy to add *prefix* to even empty and whitespace-only lines::
>>> print(indent(s, '+ ', lambda line: True))
+ hello
+
+
+ world | *predicate* argument can be used to control which lines are indented. For example, it is easy to add *prefix* to even empty and whitespace-only lines::
>>> print(indent(s, '+ ', lambda line: True))
+ hello
+
+
+ world | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3b672e83-2e0f-48c4-94bc-b7182c803714 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,368 | supabase-export-v2 | e812d0cd3d22c17a | .. attribute:: drop_whitespace
(default: ``True``) If true, whitespace at the beginning and ending of
every line (after wrapping but before indenting) is dropped. Whitespace at the beginning of the paragraph, however, is not dropped
if non-whitespace follows it. If whitespace being dropped takes up an
entire line, t... | trusted_official_docs | CPython Docs | .. attribute:: drop_whitespace
(default: ``True``) If true, whitespace at the beginning and ending of
every line (after wrapping but before indenting) is dropped. Whitespace at the beginning of the paragraph, however, is not dropped
if non-whitespace follows it. If whitespace being dropped takes up an
entire line, t... | .. attribute:: drop_whitespace
(default: ``True``) If true, whitespace at the beginning and ending of
every line (after wrapping but before indenting) is dropped. Whitespace at the beginning of the paragraph, however, is not dropped
if non-whitespace follows it. If whitespace being dropped takes up an
entire line, t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
548b6ffc-8a04-462c-8c36-140bb1d950f1 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,345 | supabase-export-v2 | 3f943121499a97c6 | .. versionadded:: 3.3
:func:`wrap`, :func:`fill` and :func:`shorten` work by creating a
:class:`TextWrapper` instance and calling a single method on it. That
instance is not reused, so for applications that process many text
strings using :func:`wrap` and/or :func:`fill`, it may be more efficient to
create your own :cl... | trusted_official_docs | CPython Docs | .. versionadded:: 3.3
:func:`wrap`, :func:`fill` and :func:`shorten` work by creating a
:class:`TextWrapper` instance and calling a single method on it. That
instance is not reused, so for applications that process many text
strings using :func:`wrap` and/or :func:`fill`, it may be more efficient to
create your own :cl... | .. versionadded:: 3.3
:func:`wrap`, :func:`fill` and :func:`shorten` work by creating a
:class:`TextWrapper` instance and calling a single method on it. That
instance is not reused, so for applications that process many text
strings using :func:`wrap` and/or :func:`fill`, it may be more efficient to
create your own :cl... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6dca0525-6482-4b35-802e-755a7f341543 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,346 | supabase-export-v2 | e8171d74fef8b6e3 | not reused, so for applications that process many text strings using :func:`wrap` and/or :func:`fill`, it may be more efficient to create your own :class:`TextWrapper` object.
Text is preferably wrapped on whitespaces and right after the hyphens in
hyphenated words; only then will long words be broken if necessary, unl... | trusted_official_docs | CPython Docs | not reused, so for applications that process many text strings using :func:`wrap` and/or :func:`fill`, it may be more efficient to create your own :class:`TextWrapper` object.
Text is preferably wrapped on whitespaces and right after the hyphens in
hyphenated words; only then will long words be broken if necessary, unl... | not reused, so for applications that process many text strings using :func:`wrap` and/or :func:`fill`, it may be more efficient to create your own :class:`TextWrapper` object.
Text is preferably wrapped on whitespaces and right after the hyphens in
hyphenated words; only then will long words be broken if necessary, unl... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6ea3af37-b352-4f35-a74d-9542c8b3c165 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,320 | supabase-export-v2 | a5f73f0e51fa5e56 | .. function:: fill(text, width=70, *, initial_indent="", \ subsequent_indent="", expand_tabs=True, \ replace_whitespace=True, fix_sentence_endings=False, \ break_long_words=True, drop_whitespace=True, \ break_on_hyphens=True, tabsize=8, \ max_lines=None, placeholder=' [...]')
Wraps the single paragraph in *text*, and r... | trusted_official_docs | CPython Docs | .. function:: fill(text, width=70, *, initial_indent="", \ subsequent_indent="", expand_tabs=True, \ replace_whitespace=True, fix_sentence_endings=False, \ break_long_words=True, drop_whitespace=True, \ break_on_hyphens=True, tabsize=8, \ max_lines=None, placeholder=' [...]')
Wraps the single paragraph in *text*, and r... | .. function:: fill(text, width=70, *, initial_indent="", \ subsequent_indent="", expand_tabs=True, \ replace_whitespace=True, fix_sentence_endings=False, \ break_long_words=True, drop_whitespace=True, \ break_on_hyphens=True, tabsize=8, \ max_lines=None, placeholder=' [...]')
Wraps the single paragraph in *text*, and r... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
735f836b-0505-4130-bc03-884889c1b440 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,326 | supabase-export-v2 | 9bd73a97e3034bb4 | in the *width*, it is returned. Otherwise, enough words are dropped from the end so that the remaining words plus the *placeholder* fit within *width*::
>>> textwrap.shorten("Hello world!", width=12)
'Hello world!'
>>> textwrap.shorten("Hello world!", width=11)
'Hello [...]'
>>> textwrap.shorten("Hello world", widt... | trusted_official_docs | CPython Docs | in the *width*, it is returned. Otherwise, enough words are dropped from the end so that the remaining words plus the *placeholder* fit within *width*::
>>> textwrap.shorten("Hello world!", width=12)
'Hello world!'
>>> textwrap.shorten("Hello world!", width=11)
'Hello [...]'
>>> textwrap.shorten("Hello world", widt... | in the *width*, it is returned. Otherwise, enough words are dropped from the end so that the remaining words plus the *placeholder* fit within *width*::
>>> textwrap.shorten("Hello world!", width=12)
'Hello world!'
>>> textwrap.shorten("Hello world!", width=11)
'Hello [...]'
>>> textwrap.shorten("Hello world", widt... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
78b14af0-9391-497a-8b15-5f92b86b8b4b | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,379 | supabase-export-v2 | 33efa1e5c0ac6a32 | :attr:`fix_sentence_endings` is false by default.
Since the sentence detection algorithm relies on ``string.lowercase`` for
the definition of "lowercase letter", and a convention of using two spaces
after a period to separate sentences on the same line, it is specific to
English-language texts. | trusted_official_docs | CPython Docs | :attr:`fix_sentence_endings` is false by default.
Since the sentence detection algorithm relies on ``string.lowercase`` for
the definition of "lowercase letter", and a convention of using two spaces
after a period to separate sentences on the same line, it is specific to
English-language texts. | :attr:`fix_sentence_endings` is false by default.
Since the sentence detection algorithm relies on ``string.lowercase`` for
the definition of "lowercase letter", and a convention of using two spaces
after a period to separate sentences on the same line, it is specific to
English-language texts. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
828fd06e-9e57-4a0b-8cfb-2b5eeb749bda | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,330 | supabase-export-v2 | bb5f7055633a3370 | Remove any common leading whitespace from every line in *text*.
This can be used to make triple-quoted strings line up with the left edge of the
display, while still presenting them in the source code in indented form. | trusted_official_docs | CPython Docs | Remove any common leading whitespace from every line in *text*.
This can be used to make triple-quoted strings line up with the left edge of the
display, while still presenting them in the source code in indented form. | Remove any common leading whitespace from every line in *text*.
This can be used to make triple-quoted strings line up with the left edge of the
display, while still presenting them in the source code in indented form. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9e7942c3-d9b1-4850-8570-fbbfaf24a413 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,319 | supabase-export-v2 | f8c04ed71527f891 | See the :meth:`TextWrapper.wrap` method for additional details on how :func:`wrap` behaves.
.. function:: fill(text, width=70, *, initial_indent="", \
subsequent_indent="", expand_tabs=True, \
replace_whitespace=True, fix_sentence_endings=False, \
break_long_words=True, drop_whitespace=True, \
break_on_hyphens=True... | trusted_official_docs | CPython Docs | See the :meth:`TextWrapper.wrap` method for additional details on how :func:`wrap` behaves.
.. function:: fill(text, width=70, *, initial_indent="", \
subsequent_indent="", expand_tabs=True, \
replace_whitespace=True, fix_sentence_endings=False, \
break_long_words=True, drop_whitespace=True, \
break_on_hyphens=True... | See the :meth:`TextWrapper.wrap` method for additional details on how :func:`wrap` behaves.
.. function:: fill(text, width=70, *, initial_indent="", \
subsequent_indent="", expand_tabs=True, \
replace_whitespace=True, fix_sentence_endings=False, \
break_long_words=True, drop_whitespace=True, \
break_on_hyphens=True... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a8ea33fb-51ae-4e81-8895-2cb11cf25cf4 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,359 | supabase-export-v2 | 704262a1e617357a | .. attribute:: tabsize
(default: ``8``) If :attr:`expand_tabs` is true, then all tab characters
in *text* will be expanded to zero or more spaces, depending on the
current column and the given tab size. | trusted_official_docs | CPython Docs | .. attribute:: tabsize
(default: ``8``) If :attr:`expand_tabs` is true, then all tab characters
in *text* will be expanded to zero or more spaces, depending on the
current column and the given tab size. | .. attribute:: tabsize
(default: ``8``) If :attr:`expand_tabs` is true, then all tab characters
in *text* will be expanded to zero or more spaces, depending on the
current column and the given tab size. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ab68b0bb-227b-423b-b2dd-b7330fb624ef | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,332 | supabase-export-v2 | 7e370ddc518406e7 | spaces are both treated as whitespace, but they are not equal: the lines ``" hello"`` and ``"\thello"`` are considered to have no common leading whitespace.
Lines containing only whitespace are ignored in the input and normalized to a
single newline character in the output. | trusted_official_docs | CPython Docs | spaces are both treated as whitespace, but they are not equal: the lines ``" hello"`` and ``"\thello"`` are considered to have no common leading whitespace.
Lines containing only whitespace are ignored in the input and normalized to a
single newline character in the output. | spaces are both treated as whitespace, but they are not equal: the lines ``" hello"`` and ``"\thello"`` are considered to have no common leading whitespace.
Lines containing only whitespace are ignored in the input and normalized to a
single newline character in the output. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b487424b-5cae-45b6-b38f-cafa78841977 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,374 | supabase-export-v2 | 3d52d79e3ab2aea3 | .. attribute:: fix_sentence_endings
(default: ``False``) If true, :class:`TextWrapper` attempts to detect
sentence endings and ensure that sentences are always separated by exactly
two spaces. This is generally desired for text in a monospaced font. However, the sentence detection algorithm is imperfect: it assumes t... | trusted_official_docs | CPython Docs | .. attribute:: fix_sentence_endings
(default: ``False``) If true, :class:`TextWrapper` attempts to detect
sentence endings and ensure that sentences are always separated by exactly
two spaces. This is generally desired for text in a monospaced font. However, the sentence detection algorithm is imperfect: it assumes t... | .. attribute:: fix_sentence_endings
(default: ``False``) If true, :class:`TextWrapper` attempts to detect
sentence endings and ensure that sentences are always separated by exactly
two spaces. This is generally desired for text in a monospaced font. However, the sentence detection algorithm is imperfect: it assumes t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b785002c-2a1d-4df0-9b2d-b100d5c4c631 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,393 | supabase-export-v2 | dc6be302ca8c8b57 | .. method:: wrap(text)
Wraps the single paragraph in *text* (a string) so every line is at most
:attr:`width` characters long. All wrapping options are taken from
instance attributes of the :class:`TextWrapper` instance. Returns a list
of output lines, without final newlines. If the wrapped output has no
content, t... | trusted_official_docs | CPython Docs | .. method:: wrap(text)
Wraps the single paragraph in *text* (a string) so every line is at most
:attr:`width` characters long. All wrapping options are taken from
instance attributes of the :class:`TextWrapper` instance. Returns a list
of output lines, without final newlines. If the wrapped output has no
content, t... | .. method:: wrap(text)
Wraps the single paragraph in *text* (a string) so every line is at most
:attr:`width` characters long. All wrapping options are taken from
instance attributes of the :class:`TextWrapper` instance. Returns a list
of output lines, without final newlines. If the wrapped output has no
content, t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b79a2896-bad0-416c-9ae7-6b0392366f24 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,383 | supabase-export-v2 | 39215fc4933c69a3 | .. attribute:: break_on_hyphens
(default: ``True``) If true, wrapping will occur preferably on whitespaces
and right after hyphens in compound words, as it is customary in English. If false, only whitespaces will be considered as potentially good places
for line breaks, but you need to set :attr:`break_long_words` to... | trusted_official_docs | CPython Docs | .. attribute:: break_on_hyphens
(default: ``True``) If true, wrapping will occur preferably on whitespaces
and right after hyphens in compound words, as it is customary in English. If false, only whitespaces will be considered as potentially good places
for line breaks, but you need to set :attr:`break_long_words` to... | .. attribute:: break_on_hyphens
(default: ``True``) If true, wrapping will occur preferably on whitespaces
and right after hyphens in compound words, as it is customary in English. If false, only whitespaces will be considered as potentially good places
for line breaks, but you need to set :attr:`break_long_words` to... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ba3ea2b9-2087-4558-a93e-568c4e4c1e9d | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,317 | supabase-export-v2 | 233864ae01fa4ea9 | the single paragraph in *text* (a string) so every line is at most *width* characters long. Returns a list of output lines, without final newlines.
Optional keyword arguments correspond to the instance attributes of
:class:`TextWrapper`, documented below. | trusted_official_docs | CPython Docs | the single paragraph in *text* (a string) so every line is at most *width* characters long. Returns a list of output lines, without final newlines.
Optional keyword arguments correspond to the instance attributes of
:class:`TextWrapper`, documented below. | the single paragraph in *text* (a string) so every line is at most *width* characters long. Returns a list of output lines, without final newlines.
Optional keyword arguments correspond to the instance attributes of
:class:`TextWrapper`, documented below. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bf25c292-ce63-4253-b1be-26e9ded4529c | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,315 | supabase-export-v2 | 33c388cb09b697b6 | wrapping or filling one or two text strings, the convenience functions should be good enough; otherwise, you should use an instance of :class:`TextWrapper` for efficiency.
.. function:: wrap(text, width=70, *, initial_indent="", \
subsequent_indent="", expand_tabs=True, \
replace_whitespace=True, fix_sentence_endings... | trusted_official_docs | CPython Docs | wrapping or filling one or two text strings, the convenience functions should be good enough; otherwise, you should use an instance of :class:`TextWrapper` for efficiency.
.. function:: wrap(text, width=70, *, initial_indent="", \
subsequent_indent="", expand_tabs=True, \
replace_whitespace=True, fix_sentence_endings... | wrapping or filling one or two text strings, the convenience functions should be good enough; otherwise, you should use an instance of :class:`TextWrapper` for efficiency.
.. function:: wrap(text, width=70, *, initial_indent="", \
subsequent_indent="", expand_tabs=True, \
replace_whitespace=True, fix_sentence_endings... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c60eb5fb-894c-482e-a659-04b67ed017ed | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,355 | supabase-export-v2 | bd2679c19ea1cc33 | .. attribute:: width
(default: ``70``) The maximum length of wrapped lines. As long as there
are no individual words in the input text longer than :attr:`width`,
:class:`TextWrapper` guarantees that no output line will be longer than
:attr:`width` characters. | trusted_official_docs | CPython Docs | .. attribute:: width
(default: ``70``) The maximum length of wrapped lines. As long as there
are no individual words in the input text longer than :attr:`width`,
:class:`TextWrapper` guarantees that no output line will be longer than
:attr:`width` characters. | .. attribute:: width
(default: ``70``) The maximum length of wrapped lines. As long as there
are no individual words in the input text longer than :attr:`width`,
:class:`TextWrapper` guarantees that no output line will be longer than
:attr:`width` characters. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d65d6d89-2d92-4333-8b84-941dc284dcf4 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,362 | supabase-export-v2 | 4dd6ef99481b5948 | .. attribute:: replace_whitespace
(default: ``True``) If true, after tab expansion but before wrapping,
the :meth:`wrap` method will replace each whitespace character
with a single space. The whitespace characters replaced are
as follows: tab, newline, vertical tab, formfeed, and carriage
return (``'\t\n\v\f\r'``). | trusted_official_docs | CPython Docs | .. attribute:: replace_whitespace
(default: ``True``) If true, after tab expansion but before wrapping,
the :meth:`wrap` method will replace each whitespace character
with a single space. The whitespace characters replaced are
as follows: tab, newline, vertical tab, formfeed, and carriage
return (``'\t\n\v\f\r'``). | .. attribute:: replace_whitespace
(default: ``True``) If true, after tab expansion but before wrapping,
the :meth:`wrap` method will replace each whitespace character
with a single space. The whitespace characters replaced are
as follows: tab, newline, vertical tab, formfeed, and carriage
return (``'\t\n\v\f\r'``). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e1900f86-2aee-4c34-8b8d-d99d85cbfa03 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,342 | supabase-export-v2 | 6d2992f757dcf91c | >>> s = 'hello\n\n \nworld' >>> indent(s, ' ') ' hello\n\n \n world'
The optional *predicate* argument can be used to control which lines
are indented. For example, it is easy to add *prefix* to even empty
and whitespace-only lines:: | trusted_official_docs | CPython Docs | >>> s = 'hello\n\n \nworld' >>> indent(s, ' ') ' hello\n\n \n world'
The optional *predicate* argument can be used to control which lines
are indented. For example, it is easy to add *prefix* to even empty
and whitespace-only lines:: | >>> s = 'hello\n\n \nworld' >>> indent(s, ' ') ' hello\n\n \n world'
The optional *predicate* argument can be used to control which lines
are indented. For example, it is easy to add *prefix* to even empty
and whitespace-only lines:: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e8d2bd27-884d-47f8-950a-acbe9ba85acb | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,331 | supabase-export-v2 | 7cfe30bc6feef339 | used to make triple-quoted strings line up with the left edge of the display, while still presenting them in the source code in indented form.
Note that tabs and spaces are both treated as whitespace, but they are not
equal: the lines ``" hello"`` and ``"\thello"`` are considered to have no
common leading whitespace. | trusted_official_docs | CPython Docs | used to make triple-quoted strings line up with the left edge of the display, while still presenting them in the source code in indented form.
Note that tabs and spaces are both treated as whitespace, but they are not
equal: the lines ``" hello"`` and ``"\thello"`` are considered to have no
common leading whitespace. | used to make triple-quoted strings line up with the left edge of the display, while still presenting them in the source code in indented form.
Note that tabs and spaces are both treated as whitespace, but they are not
equal: the lines ``" hello"`` and ``"\thello"`` are considered to have no
common leading whitespace. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f2c1edf2-b8ca-4114-979d-d92afc276692 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,314 | supabase-export-v2 | f9ac818459a6fdf0 | --------------
The :mod:`!textwrap` module provides some convenience functions,
as well as :class:`TextWrapper`, the class that does all the work. If you're just wrapping or filling one or two text strings, the convenience
functions should be good enough; otherwise, you should use an instance of
:class:`TextWrapper` fo... | trusted_official_docs | CPython Docs | --------------
The :mod:`!textwrap` module provides some convenience functions,
as well as :class:`TextWrapper`, the class that does all the work. If you're just wrapping or filling one or two text strings, the convenience
functions should be good enough; otherwise, you should use an instance of
:class:`TextWrapper` fo... | --------------
The :mod:`!textwrap` module provides some convenience functions,
as well as :class:`TextWrapper`, the class that does all the work. If you're just wrapping or filling one or two text strings, the convenience
functions should be good enough; otherwise, you should use an instance of
:class:`TextWrapper` fo... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f845ca24-76e5-40e5-94a6-be35beefe918 | CPython Docs | file://datasets/cpython/Doc/library/textwrap.rst | unknown | fc22c8ef-8839-4233-8448-c6a11fe853c8 | 9,352 | supabase-export-v2 | 02565b5bf93006e6 | wrapper = TextWrapper() wrapper.initial_indent = "* "
You can reuse the same :class:`TextWrapper` object many times, and you can
change any of its options through direct assignment to instance attributes
between uses. | trusted_official_docs | CPython Docs | wrapper = TextWrapper() wrapper.initial_indent = "* "
You can reuse the same :class:`TextWrapper` object many times, and you can
change any of its options through direct assignment to instance attributes
between uses. | wrapper = TextWrapper() wrapper.initial_indent = "* "
You can reuse the same :class:`TextWrapper` object many times, and you can
change any of its options through direct assignment to instance attributes
between uses. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0084c6ad-fd65-4c23-b584-924cfe5f856f | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,413 | supabase-export-v2 | 068ad5217f5cc3f4 | editor windows simultaneously. On Windows and Linux, each has its own top menu. Each menu documented below indicates which window type it is associated with.
Output windows, such as used for Edit => Find in Files, are a subtype of editor
window. They currently have the same top menu but a different
default title and co... | trusted_official_docs | CPython Docs | editor windows simultaneously. On Windows and Linux, each has its own top menu. Each menu documented below indicates which window type it is associated with.
Output windows, such as used for Edit => Find in Files, are a subtype of editor
window. They currently have the same top menu but a different
default title and co... | editor windows simultaneously. On Windows and Linux, each has its own top menu. Each menu documented below indicates which window type it is associated with.
Output windows, such as used for Edit => Find in Files, are a subtype of editor
window. They currently have the same top menu but a different
default title and co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
00e944b1-bfb1-4ec6-bdc7-f479c0485e54 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,415 | supabase-export-v2 | fa3982f74b9006dd | changes according to the window currently selected. It has an IDLE menu, and some entries described below are moved around to conform to Apple guidelines.
File menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | trusted_official_docs | CPython Docs | changes according to the window currently selected. It has an IDLE menu, and some entries described below are moved around to conform to Apple guidelines.
File menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | changes according to the window currently selected. It has an IDLE menu, and some entries described below are moved around to conform to Apple guidelines.
File menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0144585c-711f-456a-8594-0fb226961e60 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,552 | supabase-export-v2 | ec148614442a4ef2 | In IDLE's Shell, enter, edit, and recall complete statements. (Most consoles and terminals only work with a single physical line at a time).
Submit a single-line statement for execution by hitting :kbd:`Return`
with the cursor anywhere on the line. If a line is extended with
Backslash (:kbd:`\\`), the cursor must be on... | trusted_official_docs | CPython Docs | In IDLE's Shell, enter, edit, and recall complete statements. (Most consoles and terminals only work with a single physical line at a time).
Submit a single-line statement for execution by hitting :kbd:`Return`
with the cursor anywhere on the line. If a line is extended with
Backslash (:kbd:`\\`), the cursor must be on... | In IDLE's Shell, enter, edit, and recall complete statements. (Most consoles and terminals only work with a single physical line at a time).
Submit a single-line statement for execution by hitting :kbd:`Return`
with the cursor anywhere on the line. If a line is extended with
Backslash (:kbd:`\\`), the cursor must be on... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
02ff52ea-9f0b-4d7c-a19b-c44788b61632 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,605 | supabase-export-v2 | 9165f1a009cd6706 | by user code, such as with ``importlib.reload(sys)``, IDLE's changes are lost and input from the keyboard and output to the screen will not work correctly.
When Shell has the focus, it controls the keyboard and screen. This is
normally transparent, but functions that directly access the keyboard
and screen will not wor... | trusted_official_docs | CPython Docs | by user code, such as with ``importlib.reload(sys)``, IDLE's changes are lost and input from the keyboard and output to the screen will not work correctly.
When Shell has the focus, it controls the keyboard and screen. This is
normally transparent, but functions that directly access the keyboard
and screen will not wor... | by user code, such as with ``importlib.reload(sys)``, IDLE's changes are lost and input from the keyboard and output to the screen will not work correctly.
When Shell has the focus, it controls the keyboard and screen. This is
normally transparent, but functions that directly access the keyboard
and screen will not wor... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
033f6c4e-76b2-40ca-bc7b-8542687369b8 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,592 | supabase-export-v2 | 026d1f631031f56e | host:``. The valid value is ``127.0.0.1 (idlelib.rpc.LOCALHOST)``. One can diagnose with ``tcpconnect -irv 127.0.0.1 6543`` in one terminal window and ``tcplisten <same args>`` in another.
A common cause of failure is a user-written file with the same name as a
standard library module, such as *random.py* and *tkinter.... | trusted_official_docs | CPython Docs | host:``. The valid value is ``127.0.0.1 (idlelib.rpc.LOCALHOST)``. One can diagnose with ``tcpconnect -irv 127.0.0.1 6543`` in one terminal window and ``tcplisten <same args>`` in another.
A common cause of failure is a user-written file with the same name as a
standard library module, such as *random.py* and *tkinter.... | host:``. The valid value is ``127.0.0.1 (idlelib.rpc.LOCALHOST)``. One can diagnose with ``tcpconnect -irv 127.0.0.1 6543`` in one terminal window and ``tcplisten <same args>`` in another.
A common cause of failure is a user-written file with the same name as a
standard library module, such as *random.py* and *tkinter.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
054a0c0d-1da2-4585-bbfb-dd4e4a1dcdb1 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,494 | supabase-export-v2 | 2f3f90c3376cce37 | Turtle Demo Run the turtledemo module with example Python code and turtle drawings.
Additional help sources may be added here with the Configure IDLE dialog under
the General tab. See the :ref:`Help sources <help-sources>` subsection below
for more on Help menu choices. | trusted_official_docs | CPython Docs | Turtle Demo Run the turtledemo module with example Python code and turtle drawings.
Additional help sources may be added here with the Configure IDLE dialog under
the General tab. See the :ref:`Help sources <help-sources>` subsection below
for more on Help menu choices. | Turtle Demo Run the turtledemo module with example Python code and turtle drawings.
Additional help sources may be added here with the Configure IDLE dialog under
the General tab. See the :ref:`Help sources <help-sources>` subsection below
for more on Help menu choices. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
05546b74-eb89-4c4e-9936-ac12a500d67d | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,542 | supabase-export-v2 | 50bd8d6aa9c4ca97 | or '*' in the signature indicates that the preceding or following arguments are passed by position or name (keyword) only. Details are subject to change.
In Shell, the accessible functions depends on what modules have been
imported into the user process, including those imported by Idle itself,
and which definitions ha... | trusted_official_docs | CPython Docs | or '*' in the signature indicates that the preceding or following arguments are passed by position or name (keyword) only. Details are subject to change.
In Shell, the accessible functions depends on what modules have been
imported into the user process, including those imported by Idle itself,
and which definitions ha... | or '*' in the signature indicates that the preceding or following arguments are passed by position or name (keyword) only. Details are subject to change.
In Shell, the accessible functions depends on what modules have been
imported into the user process, including those imported by Idle itself,
and which definitions ha... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
06286fb5-d2b6-43e5-9fa0-86259d16122e | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,554 | supabase-export-v2 | a5f61228164d7e2e | If one pastes more than one statement into Shell, the result will be a :exc:`SyntaxError` when multiple statements are compiled as if they were one.
Lines containing ``RESTART`` mean that the user execution process has been
re-started. This occurs when the user execution process has crashed,
when one requests a restart... | trusted_official_docs | CPython Docs | If one pastes more than one statement into Shell, the result will be a :exc:`SyntaxError` when multiple statements are compiled as if they were one.
Lines containing ``RESTART`` mean that the user execution process has been
re-started. This occurs when the user execution process has crashed,
when one requests a restart... | If one pastes more than one statement into Shell, the result will be a :exc:`SyntaxError` when multiple statements are compiled as if they were one.
Lines containing ``RESTART`` mean that the user execution process has been
re-started. This occurs when the user execution process has crashed,
when one requests a restart... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
08789b2a-13e8-429f-9cf7-e6dce4c4eb2d | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,512 | supabase-export-v2 | 52daf570bcca834b | depending on settings and how you start IDLE. Thereafter, use the File menu. There can be only one open editor window for a given file.
The title bar contains the name of the file, the full path, and the version
of Python and IDLE running the window. The status bar contains the line
number ('Ln') and column number ('Co... | trusted_official_docs | CPython Docs | depending on settings and how you start IDLE. Thereafter, use the File menu. There can be only one open editor window for a given file.
The title bar contains the name of the file, the full path, and the version
of Python and IDLE running the window. The status bar contains the line
number ('Ln') and column number ('Co... | depending on settings and how you start IDLE. Thereafter, use the File menu. There can be only one open editor window for a given file.
The title bar contains the name of the file, the full path, and the version
of Python and IDLE running the window. The status bar contains the line
number ('Ln') and column number ('Co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
09c818c3-71b9-4adb-910c-6ea36578559d | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,502 | supabase-export-v2 | c199e96eb5b81fdc | set are specially marked. Breakpoints only have an effect when running under the debugger. Breakpoints for a file are saved in the user's ``.idlerc`` directory.
Set Breakpoint
Set a breakpoint on the current line. | trusted_official_docs | CPython Docs | set are specially marked. Breakpoints only have an effect when running under the debugger. Breakpoints for a file are saved in the user's ``.idlerc`` directory.
Set Breakpoint
Set a breakpoint on the current line. | set are specially marked. Breakpoints only have an effect when running under the debugger. Breakpoints for a file are saved in the user's ``.idlerc`` directory.
Set Breakpoint
Set a breakpoint on the current line. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0a686f25-bccb-44f8-896c-3045ca62dc6e | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,607 | supabase-export-v2 | f4dd513fade3cb8c | frames to the call stack that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and ``sys.setrecursionlimit`` to reduce the effect of the additional stack frames.
When user code raises SystemExit either directly or by calling sys.exit,
IDLE returns to a Shell prompt instead of exiting. | trusted_official_docs | CPython Docs | frames to the call stack that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and ``sys.setrecursionlimit`` to reduce the effect of the additional stack frames.
When user code raises SystemExit either directly or by calling sys.exit,
IDLE returns to a Shell prompt instead of exiting. | frames to the call stack that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and ``sys.setrecursionlimit`` to reduce the effect of the additional stack frames.
When user code raises SystemExit either directly or by calling sys.exit,
IDLE returns to a Shell prompt instead of exiting. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0ccd3065-3d2f-422c-b6d6-956dac7a6f98 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,476 | supabase-export-v2 | dbec20d87c341619 | Debug menu (Shell window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Go to File/Line
Look on the current line. with the cursor, and the line above for a filename
and line number. If found, open the file if not already open, and show the
line. Use this to view source lines referenced in an exception traceback
and lines fou... | trusted_official_docs | CPython Docs | Debug menu (Shell window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Go to File/Line
Look on the current line. with the cursor, and the line above for a filename
and line number. If found, open the file if not already open, and show the
line. Use this to view source lines referenced in an exception traceback
and lines fou... | Debug menu (Shell window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Go to File/Line
Look on the current line. with the cursor, and the line above for a filename
and line number. If found, open the file if not already open, and show the
line. Use this to view source lines referenced in an exception traceback
and lines fou... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0facb477-24fc-476f-8348-075d37d2a7e4 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,530 | supabase-export-v2 | 3af988d4f81fa7f5 | Search and Replace ^^^^^^^^^^^^^^^^^^
Any selection becomes a search target. However, only selections within
a line work because searches are only performed within lines with the
terminal newline removed. If ``[x] Regular expression`` is checked, the
target is interpreted according to the Python re module. | trusted_official_docs | CPython Docs | Search and Replace ^^^^^^^^^^^^^^^^^^
Any selection becomes a search target. However, only selections within
a line work because searches are only performed within lines with the
terminal newline removed. If ``[x] Regular expression`` is checked, the
target is interpreted according to the Python re module. | Search and Replace ^^^^^^^^^^^^^^^^^^
Any selection becomes a search target. However, only selections within
a line work because searches are only performed within lines with the
terminal newline removed. If ``[x] Regular expression`` is checked, the
target is interpreted according to the Python re module. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
10020ade-82b6-4f77-9cf1-ce5ad350d473 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,609 | supabase-export-v2 | b8135b193d66acb3 | User output in Shell ^^^^^^^^^^^^^^^^^^^^
When a program outputs text, the result is determined by the
corresponding output device. When IDLE executes user code, ``sys.stdout``
and ``sys.stderr`` are connected to the display area of IDLE's Shell. Some of
its features are inherited from the underlying Tk Text widget. Ot... | trusted_official_docs | CPython Docs | User output in Shell ^^^^^^^^^^^^^^^^^^^^
When a program outputs text, the result is determined by the
corresponding output device. When IDLE executes user code, ``sys.stdout``
and ``sys.stderr`` are connected to the display area of IDLE's Shell. Some of
its features are inherited from the underlying Tk Text widget. Ot... | User output in Shell ^^^^^^^^^^^^^^^^^^^^
When a program outputs text, the result is determined by the
corresponding output device. When IDLE executes user code, ``sys.stdout``
and ``sys.stderr`` are connected to the display area of IDLE's Shell. Some of
its features are inherited from the underlying Tk Text widget. Ot... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1149bc4f-141e-4410-a020-ab1ad3a1162a | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,601 | supabase-export-v2 | 9c624425cacbc775 | window. However, the different interface and operation occasionally affect visible results. For instance, ``sys.modules`` starts with more entries, and ``threading.active_count()`` returns 2 instead of 1.
By default, IDLE runs user code in a separate OS process rather than in
the user interface process that runs the sh... | trusted_official_docs | CPython Docs | window. However, the different interface and operation occasionally affect visible results. For instance, ``sys.modules`` starts with more entries, and ``threading.active_count()`` returns 2 instead of 1.
By default, IDLE runs user code in a separate OS process rather than in
the user interface process that runs the sh... | window. However, the different interface and operation occasionally affect visible results. For instance, ``sys.modules`` starts with more entries, and ``threading.active_count()`` returns 2 instead of 1.
By default, IDLE runs user code in a separate OS process rather than in
the user interface process that runs the sh... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
12b3a071-b817-4a04-be88-f91e064aa860 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,595 | supabase-export-v2 | fc89e5b9f3e7db1a | one undo the clash, or cannot or does not want to run as admin, it might be easiest to completely remove Python and start over.
A zombie pythonw.exe process could be a problem. On Windows, use Task
Manager to check for one and stop it if there is. Sometimes a restart
initiated by a program crash or Keyboard Interrupt (... | trusted_official_docs | CPython Docs | one undo the clash, or cannot or does not want to run as admin, it might be easiest to completely remove Python and start over.
A zombie pythonw.exe process could be a problem. On Windows, use Task
Manager to check for one and stop it if there is. Sometimes a restart
initiated by a program crash or Keyboard Interrupt (... | one undo the clash, or cannot or does not want to run as admin, it might be easiest to completely remove Python and start over.
A zombie pythonw.exe process could be a problem. On Windows, use Task
Manager to check for one and stop it if there is. Sometimes a restart
initiated by a program crash or Keyboard Interrupt (... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
13a25fcb-304a-45fe-9cb7-6238a60953d2 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,548 | supabase-export-v2 | 1b2b7ba578d027ef | Code Context ^^^^^^^^^^^^
Within an editor window containing Python code, code context can be toggled
in order to show or hide a pane at the top of the window. When shown, this
pane freezes the opening lines for block code, such as those beginning with
``class``, ``def``, or ``if`` keywords, that would have otherwise s... | trusted_official_docs | CPython Docs | Code Context ^^^^^^^^^^^^
Within an editor window containing Python code, code context can be toggled
in order to show or hide a pane at the top of the window. When shown, this
pane freezes the opening lines for block code, such as those beginning with
``class``, ``def``, or ``if`` keywords, that would have otherwise s... | Code Context ^^^^^^^^^^^^
Within an editor window containing Python code, code context can be toggled
in order to show or hide a pane at the top of the window. When shown, this
pane freezes the opening lines for block code, such as those beginning with
``class``, ``def``, or ``if`` keywords, that would have otherwise s... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1ac24b23-80ad-43d1-a698-88d6e250d568 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,622 | supabase-export-v2 | b7ba8b43e940a5d1 | shell prompt immediately and can interact with the live application. One just has to remember to re-enable the mainloop call when running in standard Python.
Running without a subprocess
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | trusted_official_docs | CPython Docs | shell prompt immediately and can interact with the live application. One just has to remember to re-enable the mainloop call when running in standard Python.
Running without a subprocess
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | shell prompt immediately and can interact with the live application. One just has to remember to re-enable the mainloop call when running in standard Python.
Running without a subprocess
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1b50bf20-b9c8-470d-b9f7-83d02d9ede45 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,487 | supabase-export-v2 | b513ca27b479acd4 | time one is zoomed on the screen. Changing screen settings may invalidate the saved height. This toggle has no effect when a window is maximized.
Window menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | trusted_official_docs | CPython Docs | time one is zoomed on the screen. Changing screen settings may invalidate the saved height. This toggle has no effect when a window is maximized.
Window menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | time one is zoomed on the screen. Changing screen settings may invalidate the saved height. This toggle has no effect when a window is maximized.
Window menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1db19c81-2ae8-4dc9-ae44-721b3088d187 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,615 | supabase-export-v2 | fe20dd2d6c951207 | Normal and error output are generally kept separate (on separate lines) from code input and each other. They each get different highlight colors.
For SyntaxError tracebacks, the normal '^' marking where the error was
detected is replaced by coloring the text with an error highlight. When code run from a file causes oth... | trusted_official_docs | CPython Docs | Normal and error output are generally kept separate (on separate lines) from code input and each other. They each get different highlight colors.
For SyntaxError tracebacks, the normal '^' marking where the error was
detected is replaced by coloring the text with an error highlight. When code run from a file causes oth... | Normal and error output are generally kept separate (on separate lines) from code input and each other. They each get different highlight colors.
For SyntaxError tracebacks, the normal '^' marking where the error was
detected is replaced by coloring the text with an error highlight. When code run from a file causes oth... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1e5e2a44-34ab-4f9b-90a1-d583419b891a | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,630 | supabase-export-v2 | 823956bd05bc27f4 | or up and down arrow keys held down. Or click the TOC (Table of Contents) button and select a section header in the opened box.
Help menu entry "Python Docs" opens the extensive sources of help,
including tutorials, available at ``docs.python.org/x.y``, where 'x.y'
is the currently running Python version. If your syste... | trusted_official_docs | CPython Docs | or up and down arrow keys held down. Or click the TOC (Table of Contents) button and select a section header in the opened box.
Help menu entry "Python Docs" opens the extensive sources of help,
including tutorials, available at ``docs.python.org/x.y``, where 'x.y'
is the currently running Python version. If your syste... | or up and down arrow keys held down. Or click the TOC (Table of Contents) button and select a section header in the opened box.
Help menu entry "Python Docs" opens the extensive sources of help,
including tutorials, available at ``docs.python.org/x.y``, where 'x.y'
is the currently running Python version. If your syste... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
24da68b6-869d-4caf-9270-3ae6f320f1e1 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,449 | supabase-export-v2 | 4f0db74721f6fd37 | Format menu (Editor window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Format Paragraph
Rewrap the text block containing the text insert cursor. Avoid code lines. See :ref:`Format block<format-block>` in the
Editing and Navigation section below. | trusted_official_docs | CPython Docs | Format menu (Editor window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Format Paragraph
Rewrap the text block containing the text insert cursor. Avoid code lines. See :ref:`Format block<format-block>` in the
Editing and Navigation section below. | Format menu (Editor window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Format Paragraph
Rewrap the text block containing the text insert cursor. Avoid code lines. See :ref:`Format block<format-block>` in the
Editing and Navigation section below. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
26b131a4-d63c-4697-9606-06b7f4edf10b | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,425 | supabase-export-v2 | e568644de2cc770e | filename has no '.', '.py' and '.txt' will be added for Python and text files, except that on macOS Aqua,'.py' is added for all files.)
Save Copy As... Save the current window to different file without changing the associated
file. (See Save As note above about filename extensions.) | trusted_official_docs | CPython Docs | filename has no '.', '.py' and '.txt' will be added for Python and text files, except that on macOS Aqua,'.py' is added for all files.)
Save Copy As... Save the current window to different file without changing the associated
file. (See Save As note above about filename extensions.) | filename has no '.', '.py' and '.txt' will be added for Python and text files, except that on macOS Aqua,'.py' is added for all files.)
Save Copy As... Save the current window to different file without changing the associated
file. (See Save As note above about filename extensions.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
26c43fde-c20d-49e2-947a-d088c5d5958c | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,619 | supabase-export-v2 | 15e37be98674476c | Developing tkinter applications ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IDLE is intentionally different from standard Python in order to
facilitate development of tkinter programs. Enter ``import tkinter as tk;
root = tk.Tk()`` in standard Python and nothing appears. Enter the same
in IDLE and a tk window appears. In standard ... | trusted_official_docs | CPython Docs | Developing tkinter applications ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IDLE is intentionally different from standard Python in order to
facilitate development of tkinter programs. Enter ``import tkinter as tk;
root = tk.Tk()`` in standard Python and nothing appears. Enter the same
in IDLE and a tk window appears. In standard ... | Developing tkinter applications ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IDLE is intentionally different from standard Python in order to
facilitate development of tkinter programs. Enter ``import tkinter as tk;
root = tk.Tk()`` in standard Python and nothing appears. Enter the same
in IDLE and a tk window appears. In standard ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
29714bb9-b07c-4387-940d-a34a2b34c2f8 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,455 | supabase-export-v2 | 04ce8ad2f6742458 | Tabify Region Turn *leading* stretches of spaces into tabs. (Note: We recommend using 4 space blocks to indent Python code.)
Untabify Region
Turn *all* tabs into the correct number of spaces. | trusted_official_docs | CPython Docs | Tabify Region Turn *leading* stretches of spaces into tabs. (Note: We recommend using 4 space blocks to indent Python code.)
Untabify Region
Turn *all* tabs into the correct number of spaces. | Tabify Region Turn *leading* stretches of spaces into tabs. (Note: We recommend using 4 space blocks to indent Python code.)
Untabify Region
Turn *all* tabs into the correct number of spaces. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2b8e065c-dfdb-4302-9f61-f092f1813f6e | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,492 | supabase-export-v2 | ced921de0a751eaf | IDLE Help Display this IDLE document, detailing the menu options, basic editing and navigation, and other tips.
Python Docs
Access local Python documentation, if installed, or start a web browser
and open docs.python.org showing the latest Python documentation. | trusted_official_docs | CPython Docs | IDLE Help Display this IDLE document, detailing the menu options, basic editing and navigation, and other tips.
Python Docs
Access local Python documentation, if installed, or start a web browser
and open docs.python.org showing the latest Python documentation. | IDLE Help Display this IDLE document, detailing the menu options, basic editing and navigation, and other tips.
Python Docs
Access local Python documentation, if installed, or start a web browser
and open docs.python.org showing the latest Python documentation. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2c038880-5bd7-4069-bb24-466e7af1268c | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,604 | supabase-export-v2 | 8052a2e315d786d8 | (On Windows, use ``python`` or ``py`` rather than ``pythonw`` or ``pyw``.) The secondary subprocess will then be attached to that window for input and output.
If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``,
IDLE's changes are lost and input from the keyboard and output to the screen
will not w... | trusted_official_docs | CPython Docs | (On Windows, use ``python`` or ``py`` rather than ``pythonw`` or ``pyw``.) The secondary subprocess will then be attached to that window for input and output.
If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``,
IDLE's changes are lost and input from the keyboard and output to the screen
will not w... | (On Windows, use ``python`` or ``py`` rather than ``pythonw`` or ``pyw``.) The secondary subprocess will then be attached to that window for input and output.
If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``,
IDLE's changes are lost and input from the keyboard and output to the screen
will not w... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2f51cffb-523c-4dc9-b22d-62ccb5c3956d | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,444 | supabase-export-v2 | ccc0a592ce418502 | Show Completions Open a scrollable list allowing selection of existing names. See :ref:`Completions <completions>` in the Editing and Navigation section below.
Expand Word
Expand a prefix you have typed to match a full word in the same window;
repeat to get a different expansion. | trusted_official_docs | CPython Docs | Show Completions Open a scrollable list allowing selection of existing names. See :ref:`Completions <completions>` in the Editing and Navigation section below.
Expand Word
Expand a prefix you have typed to match a full word in the same window;
repeat to get a different expansion. | Show Completions Open a scrollable list allowing selection of existing names. See :ref:`Completions <completions>` in the Editing and Navigation section below.
Expand Word
Expand a prefix you have typed to match a full word in the same window;
repeat to get a different expansion. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
31618389-439f-49c3-a2cc-1ad5987b7c61 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,561 | supabase-export-v2 | d8958a794a5cd873 | Text colors ^^^^^^^^^^^
Idle defaults to black on white text, but colors text with special meanings. For the shell, these are shell output, shell error, user output, and
user error. For Python code, at the shell prompt or in an editor, these are
keywords, builtin class and function names, names following ``class`` and
... | trusted_official_docs | CPython Docs | Text colors ^^^^^^^^^^^
Idle defaults to black on white text, but colors text with special meanings. For the shell, these are shell output, shell error, user output, and
user error. For Python code, at the shell prompt or in an editor, these are
keywords, builtin class and function names, names following ``class`` and
... | Text colors ^^^^^^^^^^^
Idle defaults to black on white text, but colors text with special meanings. For the shell, these are shell output, shell error, user output, and
user error. For Python code, at the shell prompt or in an editor, these are
keywords, builtin class and function names, names following ``class`` and
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
395ce7c6-3863-4b4b-964a-4e832b3014cb | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,479 | supabase-export-v2 | 498355e1f1a3aa5a | Editor will run under the debugger. In the Editor, breakpoints can be set with the context menu. This feature is still incomplete and somewhat experimental.
Stack Viewer
Show the stack traceback of the last exception in a tree widget, with
access to locals and globals. | trusted_official_docs | CPython Docs | Editor will run under the debugger. In the Editor, breakpoints can be set with the context menu. This feature is still incomplete and somewhat experimental.
Stack Viewer
Show the stack traceback of the last exception in a tree widget, with
access to locals and globals. | Editor will run under the debugger. In the Editor, breakpoints can be set with the context menu. This feature is still incomplete and somewhat experimental.
Stack Viewer
Show the stack traceback of the last exception in a tree widget, with
access to locals and globals. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3a2a4d22-0948-49b8-bc9c-1cdef65fa580 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,501 | supabase-export-v2 | 9698b3847ecc72f3 | Paste Insert contents of the system-wide clipboard into the current window.
Editor windows also have breakpoint functions. Lines with a breakpoint set are
specially marked. Breakpoints only have an effect when running under the
debugger. Breakpoints for a file are saved in the user's ``.idlerc``
directory. | trusted_official_docs | CPython Docs | Paste Insert contents of the system-wide clipboard into the current window.
Editor windows also have breakpoint functions. Lines with a breakpoint set are
specially marked. Breakpoints only have an effect when running under the
debugger. Breakpoints for a file are saved in the user's ``.idlerc``
directory. | Paste Insert contents of the system-wide clipboard into the current window.
Editor windows also have breakpoint functions. Lines with a breakpoint set are
specially marked. Breakpoints only have an effect when running under the
debugger. Breakpoints for a file are saved in the user's ``.idlerc``
directory. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3bc068dd-4936-4f00-881a-24c447ba6025 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,406 | supabase-export-v2 | 7af36021ef39781a | * multi-window text editor with multiple undo, Python colorizing, smart indent, call tips, auto completion, and other features
* search within any window, replace within editor windows, and search
through multiple files (grep) | trusted_official_docs | CPython Docs | * multi-window text editor with multiple undo, Python colorizing, smart indent, call tips, auto completion, and other features
* search within any window, replace within editor windows, and search
through multiple files (grep) | * multi-window text editor with multiple undo, Python colorizing, smart indent, call tips, auto completion, and other features
* search within any window, replace within editor windows, and search
through multiple files (grep) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3cbdd4d6-b577-41a3-9473-970fe9a5a9fe | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,603 | supabase-export-v2 | 3b919ee0609b60a9 | and join together everything one wants displayed together and then print a single string. Both format strings and :meth:`str.join` can help combine fields and lines.
IDLE's standard stream replacements are not inherited by subprocesses
created in the execution process, whether directly by user code or by
modules such a... | trusted_official_docs | CPython Docs | and join together everything one wants displayed together and then print a single string. Both format strings and :meth:`str.join` can help combine fields and lines.
IDLE's standard stream replacements are not inherited by subprocesses
created in the execution process, whether directly by user code or by
modules such a... | and join together everything one wants displayed together and then print a single string. Both format strings and :meth:`str.join` can help combine fields and lines.
IDLE's standard stream replacements are not inherited by subprocesses
created in the execution process, whether directly by user code or by
modules such a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3f02559b-3a95-4905-9349-68007b69a0ac | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,624 | supabase-export-v2 | 466535f6339a61bc | connection is not externally visible and no data is sent to or received from the internet. If firewall software complains anyway, you can ignore it.
If the attempt to make the socket connection fails, Idle will notify you. Such failures are sometimes transient, but if persistent, the problem
may be either a firewall bl... | trusted_official_docs | CPython Docs | connection is not externally visible and no data is sent to or received from the internet. If firewall software complains anyway, you can ignore it.
If the attempt to make the socket connection fails, Idle will notify you. Such failures are sometimes transient, but if persistent, the problem
may be either a firewall bl... | connection is not externally visible and no data is sent to or received from the internet. If firewall software complains anyway, you can ignore it.
If the attempt to make the socket connection fails, Idle will notify you. Such failures are sometimes transient, but if persistent, the problem
may be either a firewall bl... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
42ab42d2-c4db-4778-891a-4d06abf2c4ec | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,534 | supabase-export-v2 | f7e093b95119ddae | :data:`os.altsep` immediately after an opening quote. (On Windows, one can specify a drive first.) Move into subdirectories by typing a directory name and a separator.
Instead of waiting, or after a box is closed, open a completion box
immediately with Show Completions on the Edit menu. The default hot
key is :kbd:`C-s... | trusted_official_docs | CPython Docs | :data:`os.altsep` immediately after an opening quote. (On Windows, one can specify a drive first.) Move into subdirectories by typing a directory name and a separator.
Instead of waiting, or after a box is closed, open a completion box
immediately with Show Completions on the Edit menu. The default hot
key is :kbd:`C-s... | :data:`os.altsep` immediately after an opening quote. (On Windows, one can specify a drive first.) Move into subdirectories by typing a directory name and a separator.
Instead of waiting, or after a box is closed, open a completion box
immediately with Show Completions on the Edit menu. The default hot
key is :kbd:`C-s... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
454a2a3d-9c59-4563-9411-a8516772b85e | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,638 | supabase-export-v2 | f5ef151b78e3df9b | IDLE on macOS ^^^^^^^^^^^^^
Under System Preferences: Dock, one can set "Prefer tabs when opening
documents" to "Always". This setting is not compatible with the tk/tkinter
GUI framework used by IDLE, and it breaks a few IDLE features. | trusted_official_docs | CPython Docs | IDLE on macOS ^^^^^^^^^^^^^
Under System Preferences: Dock, one can set "Prefer tabs when opening
documents" to "Always". This setting is not compatible with the tk/tkinter
GUI framework used by IDLE, and it breaks a few IDLE features. | IDLE on macOS ^^^^^^^^^^^^^
Under System Preferences: Dock, one can set "Prefer tabs when opening
documents" to "Always". This setting is not compatible with the tk/tkinter
GUI framework used by IDLE, and it breaks a few IDLE features. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
47b2137e-1988-4b4e-aef4-237d7f01cbe7 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,511 | supabase-export-v2 | fcc87bec32f37c95 | Editor windows ^^^^^^^^^^^^^^
IDLE may open editor windows when it starts, depending on settings
and how you start IDLE. Thereafter, use the File menu. There can be only
one open editor window for a given file. | trusted_official_docs | CPython Docs | Editor windows ^^^^^^^^^^^^^^
IDLE may open editor windows when it starts, depending on settings
and how you start IDLE. Thereafter, use the File menu. There can be only
one open editor window for a given file. | Editor windows ^^^^^^^^^^^^^^
IDLE may open editor windows when it starts, depending on settings
and how you start IDLE. Thereafter, use the File menu. There can be only
one open editor window for a given file. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
47ee3d3a-1e55-4459-a316-9e177e1d9b5d | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,590 | supabase-export-v2 | e95657e14750a102 | Startup failure ^^^^^^^^^^^^^^^
IDLE uses a socket to communicate between the IDLE GUI process and the user
code execution process. A connection must be established whenever the Shell
starts or restarts. (The latter is indicated by a divider line that says
'RESTART'). If the user process fails to connect to the GUI pro... | trusted_official_docs | CPython Docs | Startup failure ^^^^^^^^^^^^^^^
IDLE uses a socket to communicate between the IDLE GUI process and the user
code execution process. A connection must be established whenever the Shell
starts or restarts. (The latter is indicated by a divider line that says
'RESTART'). If the user process fails to connect to the GUI pro... | Startup failure ^^^^^^^^^^^^^^^
IDLE uses a socket to communicate between the IDLE GUI process and the user
code execution process. A connection must be established whenever the Shell
starts or restarts. (The latter is indicated by a divider line that says
'RESTART'). If the user process fails to connect to the GUI pro... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
48cbeae6-b675-4528-a6a0-196d97f892a9 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,562 | supabase-export-v2 | 3f025e921f1709cc | names following ``class`` and ``def``, strings, and comments. For any text window, these are the cursor (when present), found text (when possible), and selected text.
IDLE also highlights the :ref:`soft keywords <soft-keywords>` :keyword:`match`,
:keyword:`case <match>`, and :keyword:`_ <wildcard-patterns>` in
pattern-... | trusted_official_docs | CPython Docs | names following ``class`` and ``def``, strings, and comments. For any text window, these are the cursor (when present), found text (when possible), and selected text.
IDLE also highlights the :ref:`soft keywords <soft-keywords>` :keyword:`match`,
:keyword:`case <match>`, and :keyword:`_ <wildcard-patterns>` in
pattern-... | names following ``class`` and ``def``, strings, and comments. For any text window, these are the cursor (when present), found text (when possible), and selected text.
IDLE also highlights the :ref:`soft keywords <soft-keywords>` :keyword:`match`,
:keyword:`case <match>`, and :keyword:`_ <wildcard-patterns>` in
pattern-... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
48e11652-6f8f-4eec-abe5-9371f5559e16 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,532 | supabase-export-v2 | fc1cefd502aa05ed | Completions ^^^^^^^^^^^
Completions are supplied, when requested and available, for module
names, attributes of classes or functions, or filenames. Each request
method displays a completion box with existing names. (See tab
completions below for an exception.) For any box, change the name
being completed and the item h... | trusted_official_docs | CPython Docs | Completions ^^^^^^^^^^^
Completions are supplied, when requested and available, for module
names, attributes of classes or functions, or filenames. Each request
method displays a completion box with existing names. (See tab
completions below for an exception.) For any box, change the name
being completed and the item h... | Completions ^^^^^^^^^^^
Completions are supplied, when requested and available, for module
names, attributes of classes or functions, or filenames. Each request
method displays a completion box with existing names. (See tab
completions below for an exception.) For any box, change the name
being completed and the item h... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4aaa1136-214f-4aa6-9c53-0c489546bd6d | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,625 | supabase-export-v2 | 11e166cf437fe23a | firewall blocking the connection or misconfiguration of a particular system. Until the problem is fixed, one can run Idle with the -n command line switch.
If IDLE is started with the -n command line switch it will run in a
single process and will not create the subprocess which runs the RPC
Python execution server. Thi... | trusted_official_docs | CPython Docs | firewall blocking the connection or misconfiguration of a particular system. Until the problem is fixed, one can run Idle with the -n command line switch.
If IDLE is started with the -n command line switch it will run in a
single process and will not create the subprocess which runs the RPC
Python execution server. Thi... | firewall blocking the connection or misconfiguration of a particular system. Until the problem is fixed, one can run Idle with the -n command line switch.
If IDLE is started with the -n command line switch it will run in a
single process and will not create the subprocess which runs the RPC
Python execution server. Thi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4b80b053-02c9-4cb7-8e41-71d1d508392a | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,593 | supabase-export-v2 | 4ddbbebde90dd0b8 | directory as a file that is about to be run, IDLE cannot import the stdlib file. The current fix is to rename the user file.
Though less common than in the past, an antivirus or firewall program may
stop the connection. If the program cannot be taught to allow the
connection, then it must be turned off for IDLE to work... | trusted_official_docs | CPython Docs | directory as a file that is about to be run, IDLE cannot import the stdlib file. The current fix is to rename the user file.
Though less common than in the past, an antivirus or firewall program may
stop the connection. If the program cannot be taught to allow the
connection, then it must be turned off for IDLE to work... | directory as a file that is about to be run, IDLE cannot import the stdlib file. The current fix is to rename the user file.
Though less common than in the past, an antivirus or firewall program may
stop the connection. If the program cannot be taught to allow the
connection, then it must be turned off for IDLE to work... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4be54a2b-446e-4389-90e3-c5204bea57ba | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,536 | supabase-export-v2 | 3e0dab3d02a72630 | it indents.) However, if there is only one match to the prefix, that match is immediately added to the editor text without opening a box.
Invoking 'Show Completions', or hitting :kbd:`Tab` after a prefix,
outside of a string and without a preceding '.' opens a box with
keywords, builtin names, and available module-leve... | trusted_official_docs | CPython Docs | it indents.) However, if there is only one match to the prefix, that match is immediately added to the editor text without opening a box.
Invoking 'Show Completions', or hitting :kbd:`Tab` after a prefix,
outside of a string and without a preceding '.' opens a box with
keywords, builtin names, and available module-leve... | it indents.) However, if there is only one match to the prefix, that match is immediately added to the editor text without opening a box.
Invoking 'Show Completions', or hitting :kbd:`Tab` after a prefix,
outside of a string and without a preceding '.' opens a box with
keywords, builtin names, and available module-leve... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4c467d5a-a4e9-4ad5-8719-32884983bdfe | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,634 | supabase-export-v2 | 80320d0806d9858f | Setting preferences ^^^^^^^^^^^^^^^^^^^
The font preferences, highlighting, keys, and general preferences can be
changed via Configure IDLE on the Option menu. Non-default user settings are saved in a ``.idlerc`` directory in the user's
home directory. Problems caused by bad user configuration files are solved
by editi... | trusted_official_docs | CPython Docs | Setting preferences ^^^^^^^^^^^^^^^^^^^
The font preferences, highlighting, keys, and general preferences can be
changed via Configure IDLE on the Option menu. Non-default user settings are saved in a ``.idlerc`` directory in the user's
home directory. Problems caused by bad user configuration files are solved
by editi... | Setting preferences ^^^^^^^^^^^^^^^^^^^
The font preferences, highlighting, keys, and general preferences can be
changed via Configure IDLE on the Option menu. Non-default user settings are saved in a ``.idlerc`` directory in the user's
home directory. Problems caused by bad user configuration files are solved
by editi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4ee18a5c-7b57-40a1-a36b-66866dbb6c90 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,540 | supabase-export-v2 | 88635df80b207937 | Calltips ^^^^^^^^
A calltip is shown automatically when one types :kbd:`(` after the name
of an *accessible* function. A function name expression may include
dots and subscripts. A calltip remains until it is clicked, the cursor
is moved out of the argument area, or :kbd:`)` is typed. Whenever the
cursor is in the argu... | trusted_official_docs | CPython Docs | Calltips ^^^^^^^^
A calltip is shown automatically when one types :kbd:`(` after the name
of an *accessible* function. A function name expression may include
dots and subscripts. A calltip remains until it is clicked, the cursor
is moved out of the argument area, or :kbd:`)` is typed. Whenever the
cursor is in the argu... | Calltips ^^^^^^^^
A calltip is shown automatically when one types :kbd:`(` after the name
of an *accessible* function. A function name expression may include
dots and subscripts. A calltip remains until it is clicked, the cursor
is moved out of the argument area, or :kbd:`)` is typed. Whenever the
cursor is in the argu... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
50837a1c-026e-4a9c-80d1-dc032c145505 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,462 | supabase-export-v2 | dc59afba1af361ac | .. _run-module:
Run Module
Do :ref:`Check Module <check-module>`. If no error, restart the shell to clean the
environment, then execute the module. Output is displayed in the Shell
window. Note that output requires use of ``print`` or ``write``. When execution is complete, the Shell retains focus and displays a prom... | trusted_official_docs | CPython Docs | .. _run-module:
Run Module
Do :ref:`Check Module <check-module>`. If no error, restart the shell to clean the
environment, then execute the module. Output is displayed in the Shell
window. Note that output requires use of ``print`` or ``write``. When execution is complete, the Shell retains focus and displays a prom... | .. _run-module:
Run Module
Do :ref:`Check Module <check-module>`. If no error, restart the shell to clean the
environment, then execute the module. Output is displayed in the Shell
window. Note that output requires use of ``print`` or ``write``. When execution is complete, the Shell retains focus and displays a prom... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
525e4483-11a8-4d28-aa6e-e595c8217168 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,446 | supabase-export-v2 | 3d3844cc4b31a399 | After an unclosed parenthesis for a function, open a small window with function parameter hints. See :ref:`Calltips <calltips>` in the Editing and Navigation section below.
Show Surrounding Parens
Highlight the surrounding parenthesis. | trusted_official_docs | CPython Docs | After an unclosed parenthesis for a function, open a small window with function parameter hints. See :ref:`Calltips <calltips>` in the Editing and Navigation section below.
Show Surrounding Parens
Highlight the surrounding parenthesis. | After an unclosed parenthesis for a function, open a small window with function parameter hints. See :ref:`Calltips <calltips>` in the Editing and Navigation section below.
Show Surrounding Parens
Highlight the surrounding parenthesis. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
54030dd7-2e7b-4c3f-ab63-747e777aef4b | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,591 | supabase-export-v2 | b1150eb4a723fad7 | connect to the GUI process, it usually displays a ``Tk`` error box with a 'cannot connect' message that directs the user here. It then exits.
One specific connection failure on Unix systems results from
misconfigured masquerading rules somewhere in a system's network setup. When IDLE is started from a terminal, one wil... | trusted_official_docs | CPython Docs | connect to the GUI process, it usually displays a ``Tk`` error box with a 'cannot connect' message that directs the user here. It then exits.
One specific connection failure on Unix systems results from
misconfigured masquerading rules somewhere in a system's network setup. When IDLE is started from a terminal, one wil... | connect to the GUI process, it usually displays a ``Tk`` error box with a 'cannot connect' message that directs the user here. It then exits.
One specific connection failure on Unix systems results from
misconfigured masquerading rules somewhere in a system's network setup. When IDLE is started from a terminal, one wil... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5848ab7f-a092-4e0c-868b-4e5cc20afc19 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,543 | supabase-export-v2 | 11b5c0b702e1c571 | modules have been imported into the user process, including those imported by Idle itself, and which definitions have been run, all since the last restart.
For example, restart the Shell and enter ``itertools.count(``. A calltip
appears because Idle imports itertools into the user process for its own
use. (This could c... | trusted_official_docs | CPython Docs | modules have been imported into the user process, including those imported by Idle itself, and which definitions have been run, all since the last restart.
For example, restart the Shell and enter ``itertools.count(``. A calltip
appears because Idle imports itertools into the user process for its own
use. (This could c... | modules have been imported into the user process, including those imported by Idle itself, and which definitions have been run, all since the last restart.
For example, restart the Shell and enter ``itertools.count(``. A calltip
appears because Idle imports itertools into the user process for its own
use. (This could c... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5a098214-5ef7-4cc9-aff7-1cac4a7241e9 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,553 | supabase-export-v2 | 79cedf208b9ea30a | with Backslash (:kbd:`\\`), the cursor must be on the last physical line. Submit a multi-line compound statement by entering a blank line after the statement.
When one pastes code into Shell, it is not compiled and possibly executed
until one hits :kbd:`Return`, as specified above. One may edit pasted code first. If on... | trusted_official_docs | CPython Docs | with Backslash (:kbd:`\\`), the cursor must be on the last physical line. Submit a multi-line compound statement by entering a blank line after the statement.
When one pastes code into Shell, it is not compiled and possibly executed
until one hits :kbd:`Return`, as specified above. One may edit pasted code first. If on... | with Backslash (:kbd:`\\`), the cursor must be on the last physical line. Submit a multi-line compound statement by entering a blank line after the statement.
When one pastes code into Shell, it is not compiled and possibly executed
until one hits :kbd:`Return`, as specified above. One may edit pasted code first. If on... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5a88f249-ae15-4c8a-91ea-4d3e2032827b | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,597 | supabase-export-v2 | 8759f16592ba650e | Once there is an error in a user configuration file, the best solution may be to delete it and start over with the settings dialog.
If IDLE quits with no message, and it was not started from a console, try
starting it from a console or terminal (``python -m idlelib``) and see if
this results in an error message. | trusted_official_docs | CPython Docs | Once there is an error in a user configuration file, the best solution may be to delete it and start over with the settings dialog.
If IDLE quits with no message, and it was not started from a console, try
starting it from a console or terminal (``python -m idlelib``) and see if
this results in an error message. | Once there is an error in a user configuration file, the best solution may be to delete it and start over with the settings dialog.
If IDLE quits with no message, and it was not started from a console, try
starting it from a console or terminal (``python -m idlelib``) and see if
this results in an error message. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5ccc5e65-92dc-4689-8760-b4c96353f483 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,483 | supabase-export-v2 | 29ec66d79f450595 | extensions. On macOS, open the configuration dialog by selecting Preferences in the application menu. For more details, see :ref:`Setting preferences <preferences>` under Help and preferences.
Most configuration options apply to all windows or all future windows. The option items below only apply to the active window. | trusted_official_docs | CPython Docs | extensions. On macOS, open the configuration dialog by selecting Preferences in the application menu. For more details, see :ref:`Setting preferences <preferences>` under Help and preferences.
Most configuration options apply to all windows or all future windows. The option items below only apply to the active window. | extensions. On macOS, open the configuration dialog by selecting Preferences in the application menu. For more details, see :ref:`Setting preferences <preferences>` under Help and preferences.
Most configuration options apply to all windows or all future windows. The option items below only apply to the active window. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
698a3c53-84a5-476d-bce4-e2d193ba3d55 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,598 | supabase-export-v2 | 9ebdd30a0e4365ce | not started from a console, try starting it from a console or terminal (``python -m idlelib``) and see if this results in an error message.
On Unix-based systems with tcl/tk older than ``8.6.11`` (see
``About IDLE``) certain characters of certain fonts can cause
a tk failure with a message to the terminal. This can hap... | trusted_official_docs | CPython Docs | not started from a console, try starting it from a console or terminal (``python -m idlelib``) and see if this results in an error message.
On Unix-based systems with tcl/tk older than ``8.6.11`` (see
``About IDLE``) certain characters of certain fonts can cause
a tk failure with a message to the terminal. This can hap... | not started from a console, try starting it from a console or terminal (``python -m idlelib``) and see if this results in an error message.
On Unix-based systems with tcl/tk older than ``8.6.11`` (see
``About IDLE``) certain characters of certain fonts can cause
a tk failure with a message to the terminal. This can hap... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
69a2cb81-8643-480d-9a4b-0af822242c7d | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,617 | supabase-export-v2 | d7633e1d01526813 | dialog. Output with fewer lines can be squeezed by right clicking on the output. This can be useful lines long enough to slow down scrolling.
Squeezed output is expanded in place by double-clicking the label. It can also be sent to the clipboard or a separate view window by
right-clicking the label. | trusted_official_docs | CPython Docs | dialog. Output with fewer lines can be squeezed by right clicking on the output. This can be useful lines long enough to slow down scrolling.
Squeezed output is expanded in place by double-clicking the label. It can also be sent to the clipboard or a separate view window by
right-clicking the label. | dialog. Output with fewer lines can be squeezed by right clicking on the output. This can be useful lines long enough to slow down scrolling.
Squeezed output is expanded in place by double-clicking the label. It can also be sent to the clipboard or a separate view window by
right-clicking the label. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6a0c2c1e-0779-406a-b058-65c67895dea8 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,458 | supabase-export-v2 | c5d885c607c4dbdd | New Indent Width Open a dialog to change indent width. The accepted default by the Python community is 4 spaces.
Strip Trailing Whitespace
Remove trailing space and other whitespace characters after the last
non-whitespace character of a line by applying :meth:`str.rstrip` to each line,
including lines within multil... | trusted_official_docs | CPython Docs | New Indent Width Open a dialog to change indent width. The accepted default by the Python community is 4 spaces.
Strip Trailing Whitespace
Remove trailing space and other whitespace characters after the last
non-whitespace character of a line by applying :meth:`str.rstrip` to each line,
including lines within multil... | New Indent Width Open a dialog to change indent width. The accepted default by the Python community is 4 spaces.
Strip Trailing Whitespace
Remove trailing space and other whitespace characters after the last
non-whitespace character of a line by applying :meth:`str.rstrip` to each line,
including lines within multil... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6b183c02-b71a-48c5-b31e-b57b86c96301 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,623 | supabase-export-v2 | ab12010238cab3f3 | Running without a subprocess ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
By default, IDLE executes user code in a separate subprocess via a socket,
which uses the internal loopback interface. This connection is not
externally visible and no data is sent to or received from the internet. If firewall software complains anyway, you can ... | trusted_official_docs | CPython Docs | Running without a subprocess ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
By default, IDLE executes user code in a separate subprocess via a socket,
which uses the internal loopback interface. This connection is not
externally visible and no data is sent to or received from the internet. If firewall software complains anyway, you can ... | Running without a subprocess ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
By default, IDLE executes user code in a separate subprocess via a socket,
which uses the internal loopback interface. This connection is not
externally visible and no data is sent to or received from the internet. If firewall software complains anyway, you can ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6fddce8b-f764-410d-b195-a76a0969135f | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,546 | supabase-export-v2 | 2560eb913ab13f00 | Format block ^^^^^^^^^^^^
Reformat Paragraph rewraps a block ('paragraph') of contiguous equally
indented non-blank comments, a similar block of text within a multiline
string, or a selected subset of either. If needed, add a blank line to separate string from code. Partial lines in a selection expand to complete lines... | trusted_official_docs | CPython Docs | Format block ^^^^^^^^^^^^
Reformat Paragraph rewraps a block ('paragraph') of contiguous equally
indented non-blank comments, a similar block of text within a multiline
string, or a selected subset of either. If needed, add a blank line to separate string from code. Partial lines in a selection expand to complete lines... | Format block ^^^^^^^^^^^^
Reformat Paragraph rewraps a block ('paragraph') of contiguous equally
indented non-blank comments, a similar block of text within a multiline
string, or a selected subset of either. If needed, add a blank line to separate string from code. Partial lines in a selection expand to complete lines... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7073015e-a4d8-4739-8ded-fd7a2e5ff4bf | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,621 | supabase-export-v2 | c40aa8cc03cad838 | or from an IDLE editor, a ``>>>`` shell prompt does not appear until ``mainloop()`` returns, at which time there is nothing left to interact with.
When running a tkinter program from an IDLE editor, one can comment out
the mainloop call. One then gets a shell prompt immediately and can
interact with the live applicatio... | trusted_official_docs | CPython Docs | or from an IDLE editor, a ``>>>`` shell prompt does not appear until ``mainloop()`` returns, at which time there is nothing left to interact with.
When running a tkinter program from an IDLE editor, one can comment out
the mainloop call. One then gets a shell prompt immediately and can
interact with the live applicatio... | or from an IDLE editor, a ``>>>`` shell prompt does not appear until ``mainloop()`` returns, at which time there is nothing left to interact with.
When running a tkinter program from an IDLE editor, one can comment out
the mainloop call. One then gets a shell prompt immediately and can
interact with the live applicatio... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7c8a43ee-9847-46fe-a8fe-47c8f6e979b4 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,423 | supabase-export-v2 | 5d27b2953b394fa5 | Path Browser Show sys.path directories, modules, functions, classes and methods in a tree structure.
Save
Save the current window to the associated file, if there is one. Windows
that have been changed since being opened or last saved have a \* before
and after the window title. If there is no associated file,
do S... | trusted_official_docs | CPython Docs | Path Browser Show sys.path directories, modules, functions, classes and methods in a tree structure.
Save
Save the current window to the associated file, if there is one. Windows
that have been changed since being opened or last saved have a \* before
and after the window title. If there is no associated file,
do S... | Path Browser Show sys.path directories, modules, functions, classes and methods in a tree structure.
Save
Save the current window to the associated file, if there is one. Windows
that have been changed since being opened or last saved have a \* before
and after the window title. If there is no associated file,
do S... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7cd950e2-8401-4a99-99aa-ea8e4bfb3739 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,533 | supabase-export-v2 | e8cd9de5bc4d83de | box. Close the box with :kbd:`Escape`, :kbd:`Enter`, and double :kbd:`Tab` keys or clicks outside the box. A double click within the box selects and closes.
One way to open a box is to type a key character and wait for a
predefined interval. This defaults to 2 seconds; customize it
in the settings dialog. (To prevent a... | trusted_official_docs | CPython Docs | box. Close the box with :kbd:`Escape`, :kbd:`Enter`, and double :kbd:`Tab` keys or clicks outside the box. A double click within the box selects and closes.
One way to open a box is to type a key character and wait for a
predefined interval. This defaults to 2 seconds; customize it
in the settings dialog. (To prevent a... | box. Close the box with :kbd:`Escape`, :kbd:`Enter`, and double :kbd:`Tab` keys or clicks outside the box. A double click within the box selects and closes.
One way to open a box is to type a key character and wait for a
predefined interval. This defaults to 2 seconds; customize it
in the settings dialog. (To prevent a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7fa509c5-b796-43ef-a54d-ee1f69990cca | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,564 | supabase-export-v2 | cebb2cacbea949f0 | use the Configure IDLE dialog Highlighting tab. The marking of debugger breakpoint lines in the editor and text in popups and dialogs is not user-configurable.
Startup and Code Execution
-------------------------- | trusted_official_docs | CPython Docs | use the Configure IDLE dialog Highlighting tab. The marking of debugger breakpoint lines in the editor and text in popups and dialogs is not user-configurable.
Startup and Code Execution
-------------------------- | use the Configure IDLE dialog Highlighting tab. The marking of debugger breakpoint lines in the editor and text in popups and dialogs is not user-configurable.
Startup and Code Execution
-------------------------- | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8428880d-e7ca-41a3-a3f6-96f427132862 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,631 | supabase-export-v2 | 9c9cfccbe3cebf6e | currently running Python version. If your system has an off-line copy of the docs (this may be an installation option), that will be opened instead.
Selected URLs can be added or removed from the help menu at any time using the
General tab of the Configure IDLE dialog. | trusted_official_docs | CPython Docs | currently running Python version. If your system has an off-line copy of the docs (this may be an installation option), that will be opened instead.
Selected URLs can be added or removed from the help menu at any time using the
General tab of the Configure IDLE dialog. | currently running Python version. If your system has an off-line copy of the docs (this may be an installation option), that will be opened instead.
Selected URLs can be added or removed from the help menu at any time using the
General tab of the Configure IDLE dialog. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
85a684e4-a599-4393-bfde-55830da708ec | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,527 | supabase-export-v2 | d21bd15b7208f728 | Automatic indentation ^^^^^^^^^^^^^^^^^^^^^
After a block-opening statement, the next line is indented by 4 spaces (in the
Python Shell window by one tab). After certain keywords (break, return etc.)
the next line is dedented. In leading indentation, :kbd:`Backspace` deletes up
to 4 spaces if they are there. :kbd:`Tab`... | trusted_official_docs | CPython Docs | Automatic indentation ^^^^^^^^^^^^^^^^^^^^^
After a block-opening statement, the next line is indented by 4 spaces (in the
Python Shell window by one tab). After certain keywords (break, return etc.)
the next line is dedented. In leading indentation, :kbd:`Backspace` deletes up
to 4 spaces if they are there. :kbd:`Tab`... | Automatic indentation ^^^^^^^^^^^^^^^^^^^^^
After a block-opening statement, the next line is indented by 4 spaces (in the
Python Shell window by one tab). After certain keywords (break, return etc.)
the next line is dedented. In leading indentation, :kbd:`Backspace` deletes up
to 4 spaces if they are there. :kbd:`Tab`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
87041549-8c51-404c-afd6-20e0a16bc1a4 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,620 | supabase-export-v2 | ab71e94e00a5160f | second, which is about every 50 milliseconds. Next enter ``b = tk.Button(root, text='button'); b.pack()``. Again, nothing visibly changes in standard Python until one enters ``root.update()``.
Most tkinter programs run ``root.mainloop()``, which usually does not
return until the tk app is destroyed. If the program is r... | trusted_official_docs | CPython Docs | second, which is about every 50 milliseconds. Next enter ``b = tk.Button(root, text='button'); b.pack()``. Again, nothing visibly changes in standard Python until one enters ``root.update()``.
Most tkinter programs run ``root.mainloop()``, which usually does not
return until the tk app is destroyed. If the program is r... | second, which is about every 50 milliseconds. Next enter ``b = tk.Button(root, text='button'); b.pack()``. Again, nothing visibly changes in standard Python until one enters ``root.update()``.
Most tkinter programs run ``root.mainloop()``, which usually does not
return until the tk app is destroyed. If the program is r... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
88ff1b63-e6fc-4047-89b0-c0ff3f8fcf11 | CPython Docs | file://datasets/cpython/Doc/library/idle.rst | unknown | d9a6f0a7-b1a4-48f2-b5b7-d815ab65b840 | 9,426 | supabase-export-v2 | 2d1fec314cec2611 | Save Copy As... Save the current window to different file without changing the associated file. (See Save As note above about filename extensions.)
Print Window
Print the current window to the default printer. | trusted_official_docs | CPython Docs | Save Copy As... Save the current window to different file without changing the associated file. (See Save As note above about filename extensions.)
Print Window
Print the current window to the default printer. | Save Copy As... Save the current window to different file without changing the associated file. (See Save As note above about filename extensions.)
Print Window
Print the current window to the default printer. | python, official-docs, cpython, P0 | Local_Trusted_Corpus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.