Hey Fabio Yes, you're absolutely correct. Recently, I started to work with the same. Honestly, this is what I was waiting for.
Thank you, Fabio, for your reply. On Wednesday, 18 September 2019 02:22:15 UTC+5:30, Fábio Casagrande Hirono wrote: > > Hi Savin, > > Have you tried using cells? You can break your script in cells by adding > the special comment "#%%" at the beginning of a line. The cell where the > cursor is currently positioned is considered the 'active' cell, and you can > run it with "CTRL+ENTER". > > https://docs.spyder-ide.org/editor.html#defining-code-cells > > Kind Regards, > Fabio > > > > On Monday, September 9, 2019 at 12:13:07 AM UTC-10, Savin Beniwal wrote: >> >> Dear All >> >> I would like to attract your attention to my query. The query is as >> follows. >> >> I have written a code of more than 200 lines for my cosmology problem. >> Every time, I have to run some lines of this code rather than full code. >> For this, Usually, I select these lines and run using F9. Unfortunately, >> Now I'm exhausted from this process. I would like to know some other way to >> do the same thing, if any. >> >> Is the following one of the possible way to do above work? >> --When I run full file or press F5, so before executing full code, the >> console would ask me from which line number to which line number would you >> like to run python file? Then console will run only python lines between >> the user's defined line number. >> It is just my thought, I'm sorry for spyder/python this process may be >> pointless. I'm also sorry If couldn't my point clearly. Please let me know. >> >> I'm eagerly waiting for your reply. >> >> With Regards!!! >> >> >> -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/3c651efb-8223-4386-8f4f-aee83bd79bd6%40googlegroups.com.
