These are chat archives for spyder-ide/public

3rd
May 2018
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:00
how to get the plugin ?
also, I have been looking to turn on autocomplete
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:06
and, how to load the "gitk" gui into spyder ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:11
Its not really supported right now for lack of funds, but you can find it on its repo
Autocomplete should work by default, although there are currently are some limitations which we're in the process of overhauling in Spyder 4.
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:12
when i enter code im not seeing autocomplete suggestions
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:16
You can open gitk by right clicking a file or directory in the file explorer or the project explorer
Carlos Cordoba
@ccordoba12
May 03 2018 00:18

when i enter code im not seeing autocomplete suggestions

You need to press the Tab key after a word or character to get completions for it

Paul Armen Gureghian
@paulgureghian
May 03 2018 00:19
sounds like semi-autocomplete. lol
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:20
A lot of IDEs are that way, actually, although I prefer on the fly myself. Its still autocomplete, just not on the fly
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:20
nope. tab key doesnt do anything either
Carlos Cordoba
@ccordoba12
May 03 2018 00:21
Yes, it's true, but we'll change the current behavior for Spyder 4 to be on the fly autocomplete

nope. tab key doesnt do anything either

Please show us the code you're trying to code completions for. Don't forget to signal the point where you're pressing Tab too

Paul Armen Gureghian
@paulgureghian
May 03 2018 00:23
screenshot ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:23
I guess...
Carlos Cordoba
@ccordoba12
May 03 2018 00:23
Sure, that's fine
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:24
standby ...
image.png
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:26
That's a known issue with pandas
Certain things can't be introspected due to how the third party modules are written
Carlos Cordoba
@ccordoba12
May 03 2018 00:27
Yes, that's right
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:27
#4859
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:30
thanks guys. guess ill just use the git bash and forgo autocomplete.
can I get email notifications for replies to my questions here ? could not find the setting
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:31
Autocomplete should work for the vast majority of things with a few exceptions; if not you can probably fix it. Its just for very specific things like attributes of pandas dataframes that it doesn't, due to how those packages are structured. Also, major improvements are in progress for Spyder 4.
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:35
spyder for me, has been a bit better than pycharm. pycharm need a python interpreter and did not have code analysis turned on by default
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:37

did not have code analysis turned on by default

Uhh, I'm pretty sure PyCharm has rather extensive code analysis features, considering its target audience (big software developers)...

One of Spyder's other big advantages though, and in fact what many consider to be its killer feature, is its Variable Explorer. I almost couldn't imagine working without it, especially coming from Rstudio.
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:39
I am an R coder too.
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:39
Same :)
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:40
what is the part at the top of the script called which adds my name and says "created by" ? where in the settings can I configure it ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:40
Preferences > Editor > Advanced > Edit Template for New Modules button (near top)
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:41
im not an expert, but why does pycharm need an interpreter to link with ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:43
Neither am I. I mean, that's just how its designed to work I guess. Keep in mind that it is primarily aimed at big-time developers making full fledged production applications, a very different audience from scientists, data analysts and engineers that Spyder primarily caters toward.
Paul Armen Gureghian
@paulgureghian
May 03 2018 00:44
I just would think a big time ide like pycharm for python would work out of the box
because of that I am now a spiderman. lol
what makes spyder from anaconda different / better than a standalone installation ? can I put a shortcut to the conda spyder on my desktop or I have to always go through conda navigator ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 00:53

what makes spyder from anaconda different / better than a standalone installation

Much easier to install, update, and way less potential for problems. And there isn't such a thing as a truly fully standalone install; you still need python and the dependencies (including qt/pyqt) for it to work properly.

can I put a shortcut to the conda spyder on my desktop

Anaconda should have installed one already (far better than just your desktop) to your start menu so you can launch it normally like anything else (tap Win and start typing the name). If not, if you run like conda install -f spyder it should recreate them, otherwise something went funny with your install. You can also start spyder from any Anaconda Prompt or suitably configured terminal window with just spyder.

Paul Armen Gureghian
@paulgureghian
May 03 2018 01:04
and finally , what kind of spyder are we talking about here ? black widow ? brown recluse ? wolf spyder ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 01:04
The Scientific Python Development Environment; that kind of Spyder.
Paul Armen Gureghian
@paulgureghian
May 03 2018 01:05
sounds deadly
CAM Gerlach
@CAM-Gerlach
May 03 2018 01:05
Let's hope not...
Paul Armen Gureghian
@paulgureghian
May 03 2018 01:05
what are some of spyders competitors in the scientific space ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 01:06
There's nothing that really directly compares to it in Python. It is much like Rstudio and the Matlab IDEs for those languages.
Paul Armen Gureghian
@paulgureghian
May 03 2018 01:08
other than spyder, what ide would you use? pycharm? idle? eclipse?
CAM Gerlach
@CAM-Gerlach
May 03 2018 01:43
I don't think I'd be able to really stand any of those for data science; I'd go back to Rstudio full time instead of those. But if I were to use Python, i'd probably consider either Rodeo or Jupyterlab; I actually considered Rodeo briefly when I started due to the similar "feel" to Rstudio (JupyterLab wasn't out then) but I'm glad I chose Spyder of course.
Paul Armen Gureghian
@paulgureghian
May 03 2018 23:33
hi CAM. I dont see matplotlib in the dependencies. how to install the library / package ?
CAM Gerlach
@CAM-Gerlach
May 03 2018 23:36
You can install it just like any other package. conda install matplotlib, assuming you don't have it (conda list matplotlib to check, as the Spyder deps list doesn't currently show matplotlib, though there's an open issue to do so). Also, for the record, remember that Google is your friend :)