Python Forum
IPython console vs Spyder script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IPython console vs Spyder script
#3
Ok, I will try your suggestion.

Sorry for not sharing the code. It is very long and there are a lot of things going on, so here I am just trying to narrow down the issue. Actually, one thing I have just realised is that in my exception block I was still using an attribute of MyDevice. But what I could do is to generate a new instance of the device class with the same name, and then run a reset commands. Maybe like this it could work. Of course this is not understanding the issue, but I am just trying to find a way to avoid stopping the measurement while running over night.

Also, I am now trying to run the script via command prompt instead of Spyder. Not sure if this will make any difference.
Reply


Messages In This Thread
IPython console vs Spyder script - by losc - Apr-30-2020, 02:20 AM
RE: IPython console vs Spyder script - by losc - Apr-30-2020, 03:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Combine console script + GUI (tkinter) dejot 2 545 Feb-27-2024, 04:38 PM
Last Post: deanhystad
  Spyder console zoom in not working? Dionysis 2 556 Feb-06-2024, 03:31 PM
Last Post: paul18fr
  IPython errors for numpy array min/max methods muelaner 1 663 Nov-04-2023, 09:22 PM
Last Post: snippsat
  Can a program execute code in iPython shell and get result? deanhystad 3 1,831 Jun-17-2022, 03:45 AM
Last Post: Larz60+
  Make console show after script was built with Pyinstaller --NOCONSOLE? H84Gabor 0 1,269 May-05-2022, 12:32 PM
Last Post: H84Gabor
  Encountering `importlib_metadata.PackageNotFoundError` trying to run console script gretchenfrage 0 5,721 Jul-08-2021, 09:26 PM
Last Post: gretchenfrage
  Spyder Quirk? global variable does not increment when function called in console rrace001 1 2,301 Sep-18-2020, 02:50 PM
Last Post: deanhystad
  Problem running script within console koepjo 3 10,008 Mar-26-2020, 07:11 AM
Last Post: koepjo
  How can I create a multiline input in ipython? DataMower 3 4,474 Oct-28-2019, 08:50 PM
Last Post: DataMower
  ipython autocomplete broke indentation! Exsul 6 4,725 Aug-20-2019, 01:29 AM
Last Post: Exsul

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020