These are chat archives for spyder-ide/public

6th
Nov 2018
serra
@quiguisola
Nov 06 2018 04:15 UTC
sorry @CAM-Gerlach, yesterday I lost connection
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:15 UTC
No worries.
serra
@quiguisola
Nov 06 2018 04:32 UTC
Ok, since I have trouble pasting the image, I'll just describe it.
On the Spyder Editor, there's a vertical line somewhere about the middle of the screen.
Beneath the "maximize panel" icon
traversing the whole editor
oh, I think it indicates where the window cut's when you minimize it, maybe
but not sure
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:35 UTC
I still don't know what you mean. If you really can't upload it here just upload it to any other image uploading site, like Imgur, and paste the link.
Can you point it out on this image?
image.png
serra
@quiguisola
Nov 06 2018 04:36 UTC
here it wont show since you have two editing panels
it appears when you only have one opened
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:36 UTC
Upload a screenshot to Imgur or something with a circle, arrow etc. pointing at the line. I still am not sure what you mean.
serra
@quiguisola
Nov 06 2018 04:38 UTC
do you have an email? LOL
i dont have imgur
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:39 UTC
You don't need to "have" it; anyone can upload an image without an account.
serra
@quiguisola
Nov 06 2018 04:39 UTC
yeah, I dont have an account, that's what I meant
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:40 UTC
I understand that; I'm saying you don't need one
serra
@quiguisola
Nov 06 2018 04:40 UTC
oh, right
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:41 UTC
Oh do you mean the customizable line length indicator (showing the 79 character PEP 8 limit by default)?
image.png
yeah
that's the one, heheh
so it comes from PEP, ok, gotcha!
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:42 UTC
That image looks really weird—is that a photo of your screen lol?
serra
@quiguisola
Nov 06 2018 04:42 UTC
hahaha
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:43 UTC
Never mind, I'm not even going to ask hehehe
serra
@quiguisola
Nov 06 2018 04:43 UTC
i put a filter on bc on the regular picture it wasnt visible
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:43 UTC
...Wow
I don't even know what to say at this point, lol
serra
@quiguisola
Nov 06 2018 04:44 UTC
why, did I mess up smth?
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:44 UTC
Anyway, its set at 79 characters by default per the widely followed PEP 8 standard, but you can set it to whatever you want in the preferences or turn it off if you don't like it
serra
@quiguisola
Nov 06 2018 04:45 UTC
I use the white screen, not the black one
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:45 UTC
image.png
serra
@quiguisola
Nov 06 2018 04:45 UTC
correct, I understand now, thanks!
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:46 UTC
In Spyder 4 you can actually add multiple lines at different customizable locations
serra
@quiguisola
Nov 06 2018 04:47 UTC
I tried several editors before, Atom and others. Spyder is by far the best :)
very user friendly
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:47 UTC
Thanks! :)
serra
@quiguisola
Nov 06 2018 04:47 UTC
ok, back to coding, thanks for your help man!
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:48 UTC
Sure, happy to help and sorry for getting a bit frustrated at times. Best of luck and happy Spydering!
serra
@quiguisola
Nov 06 2018 04:48 UTC
^^
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 04:48 UTC
^_^
jimtal001
@jimtal001
Nov 06 2018 18:15 UTC
Does anyone know if Spider is compatible with the Nvidia Jetson TX2 board?
I tried Anaconda on the Jetson TX2 and it failed to install so I am assuming Spyder is also not compatible.
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 18:20 UTC
I'm not directly familiar with the Nvidia Jetson platform, although a quick Google suggests its aimed at embedded applications rather than desktops, laptops and workstations on which you'd typically be using an IDE and developing your code.
You can theoretically install Spyder with pip on any platform that supports Python itself, but there could be issues building dependencies (particularly Qt/PyQt/QtPy) if you don't have the right compilers.
You could consider running Spyder on another machine, launching a remote kernel on the TX2 which only requires spyder-kernels with a much smaller dependency tail (that doesn't include most or all non-pure-Python packages), and then connecting to it with Spyder and using it just as you would locally with most of the same Spyder features.
jimtal001
@jimtal001
Nov 06 2018 18:32 UTC
Thank you for the response. I am not familiar with spyder-kernels but will do some study here.
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 20:03 UTC
@jimtal001 Its just the package used by Spyder to launch and communicate with the IPython/Jupyter kernels for its Consoles; the code was previously part of Spyder itself until we recently split it into its own modular package in the latest versions, to enable use cases like this.
Foad Sojoodi Farimani
@fsfarimani_twitter
Nov 06 2018 22:08 UTC
hey guys, here in this discussion I tried to picture some ideas for pretty printing of Numpy arrays. I tried to implement some primitive prototypes for traditional terminals using unicode and other guys have also developed very interesting HTML versions for IPython. I want to encourage you to take a look and maybe integrate similar ideas into the variable explorer in Spyder. Thanks in advance.
Carlos Cordoba
@ccordoba12
Nov 06 2018 22:37 UTC
@fsfarimani_twitter, thanks for the pointer, but I think that's a solved problem for us, thanks precisely to the variable explorer
CAM Gerlach
@CAM-Gerlach
Nov 06 2018 23:28 UTC
@fsfarimani_twitter Thanks for letting us know. Is there something particular your implementation provides that our Variable Explorer doesn't? If so, then feel free to submit a bug request or PR. Also, if your function gets picked up by IPython or numpy, you'll be able to easily use it with Spyder just like anything else. Finally, if you want some sort of pretty printing specific to the GUI console, it would likely need to be implemented in QtConsole, rather than Spyder itself.
That being said, @ccordoba12 one handy thing is that the pretty version can be accessed with one quick, autocompletes command in the console, rather than clicking and scrolling through a GUI. Is there a Spyder equivalent to the View(object_name) function in Rstudio, which automatically opens the desired object in Rstudio's equivalent of the DataframeEditor, CollectionEditor, etc.? If not, how hard would it be to implement? This would be very convenient to have...