
    Je9$                        d Z ddlZddlmZ ddlmZ ddlmZ dZ	dZ
ej                  dk7  rd	Z
d
ddddddgdgdddddgdgdddddgdddddgdgddgZ ed       ed      dd ed       ed      ej                  gej                  gd ed       ed      j                  e	e
      ej                   gd d!gd" ed#       ed$      ej"                  gdd ed%       ed&      ej$                  gdd ed'       ed(      ej&                  gdd ed)       ed*      ej(                  gdd ed+       ed,      ej*                  gdd ed-       ed.      ej,                  gdd ed/       ed0      ej.                  gdd ed1       ed2      ej0                  gdd ed3       ed4      j                  e      ddgZ ed5       ed6      dd ed
       ed7      d8gd9gZ G d: d;      Zy)<zDefault tours.    N)_)SpyderWidgets)__docs_url__z5https://qtconsole.readthedocs.io/en/stable/index.html darwinzPlease click on the button below to run some simple code in this console. This will be useful to show you other important features.z#Welcome to Spyder introduction tourz<b>Spyder</b> is an interactive development environment. This tip panel supports rich text. <br><br> it also supports image insertion to the right so farspyder_about)titlecontentimagezWidget displayzeThis shows how a widget is displayed. The tip panel is adjusted based on the first widget in the listbutton1button2T)r	   r
   widgets
decorationinteract)r	   r
   r   r   zWidget display and highlightz)This shows how a highlighted widget looksbuttonFz!Welcome to the introduction tour!a  <b>Spyder</b> is a powerful Interactive Development Environment (or IDE) for the Python programming language.<br><br>Here, we are going to guide you through its most important features.<br><br>Please use the arrow keys or click on the buttons below to move along the tour.Editora  This is where you write Python code before evaluating it. You can get automatic completions while typing, along with calltips when calling a function and help when hovering over an object.<br><br>The Editor comes with a line number area (highlighted here in red) where Spyder shows warnings and syntax errors. They can help you to detect potential problems before running your code.<br><br>You can also set debug breakpoints in the line number area by clicking next to any non-empty line.)r	   r
   r   r   zIPython Consolea  This is where you can run Python code, either from the Editor or interactively. To run the current file, press <b>F5</b> by default, or press <b>F9</b> to execute the current line or selection.<br><br>The IPython Console comes with many useful features that greatly improve your programming workflow, like syntax highlighting, autocompletion, plotting and 'magic' commands. To learn more, check out the <a href="{0}">documentation</a>.<br><br>{1}z test_list_tour = [1, 2, 3, 4, 5]z!test_dict_tour = {'a': 1, 'b': 2})r	   r
   r   runzVariable Explorera|  In this pane you can view and edit the variables generated during the execution of a program, or those entered directly in the IPython Console.<br><br>If you ran the code in the previous step, the Variable Explorer will show the list and dictionary objects it generated. By double-clicking any variable, a new window will be opened where you can inspect and modify their contents.Helpa
  This pane displays documentation of the functions, classes, methods or modules you are currently using in the Editor or the IPython Console.<br><br>To use it, press <b>Ctrl+I</b> (<b>Cmd-I</b> on macOS) with the text cursor in or next to the object you want help on.PlotszThis pane shows the figures and images created during your code execution. It allows you to browse, zoom, copy, and save the generated plots.Filesa  This pane lets you browse the files and directories on your computer.<br><br>You can open any file in its corresponding application by double-clicking it, and supported file types will be opened right inside of Spyder.<br><br>The Files pane also allows you to copy one or many absolute or relative paths, automatically formatted as Python strings or lists, and perform a variety of other file operations.zHistory LogzThis pane records all the commands and code run in any IPython console, allowing you to easily retrace your steps for reproducible research.FindzpThe Find pane allows you to search for text in a given directory and navigate through all the found occurrences.ProfilerzThe Profiler helps you optimize your code by determining the run time and number of calls for every function and method used in a file. It also allows you to save and compare your results between runs.zCode Analysisz}The Code Analysis helps you improve the quality of your programs by detecting style issues, bad practices and potential bugs.zThe endzYou have reached the end of our tour and are ready to start using Spyder! For more information, check out our <a href="{}">documentation</a>.<br><br>zNew features in Spyder 3.0zD<b>Spyder</b> is an interactive development environment based on blaz=Spyder is an interactive development environment based on blavariableexplorer)r	   r
   r   c                       e Zd ZdZdZy)TourIdentifiersintroduction_tour	test_tourN)__name__
__module____qualname__IntroductionTourTestTour     </usr/lib/python3/dist-packages/spyder/plugins/tours/tours.pyr   r      s    *Hr$   r   )__doc__sysspyder.api.translationsr   spyder.plugins.tours.apir   swspyderr   QTCONSOLE_LINKBUTTON_TEXTplatform	TEST_TOUReditoreditor_line_number_areaformatipython_consolevariable_explorerhelp_pluginplots_pluginfile_explorerhistory_logfind_pluginprofilercode_analysis
INTRO_TOURFEAT30r   r#   r$   r%   <module>r>      s@     & 8  I<<83K 7O   "H; k "H; k "H; 0>:j?&	V 67 5 6  
 8 + , II;112!& $% # $ %+F>;$G&&'./
* &' 	> 	? (()  6 B C NN# 7 A B OO$ 7 	; 	< $$%  =! E F NN# 6 $ % NN# :  
 KK=	 ?# + , $$% 9   ! "(!5MO
h /0 0 1	 89 $ %&'	
  r$   