How can I use #$save partly?
See original GitHub issueThank you for giving me a nice extension but I have a question about how to apply #$save in part of whole codes like below:
import Calculate
result1 = Calculate.diff(something)
result2 = Calculate.add(something)
# I want to start save from here
def largest_prime_factor(n):
i = 2
while i * i <= n:
if n % i:
i += 1
else:
n //= i
return n
def another_heavy_function(n):
some_heavy_processing
return heavy_res
result_big = largest_prime_factor(8008514751439999)
result_big2 = another_heavy(13123213123)
# I want to stop save from here
other_excute_after_save = Calculate.sum(something)
other_excute_after_save = Calculate.partial(something)
print("code end line")
I am so sorry if you have already guided it in your doc. but I can’t find. I can only see the case that stores from the start of codes to the #$save line
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
ios - Save managedObjectContext partly - Stack Overflow
I have 3 transaction already in NSManagedObjectContext : A , B , C . They were performed / added to context in the...
Read more >Can user save a partly completed form as a template? - Jotform
Yes, it is possible to create this type of form using the Session method. Please take note that this method requires you to...
Read more >Save files - IBM
Using a save file allows you to save and restore objects without first placing save media into your save media device. You can...
Read more >Partly Save the data on button submit click - MSDN - Microsoft
On my every tab I have button that take user to next page. At the last stage when user click submit button it...
Read more >How to Take a Full and Partial Screenshot in Windows 10?
Edit the screenshot or save it to a suitable location. use the Print Screen key. Method 2: Press Win+Shift+S. Pressing Win+Shift+S ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just released 1.0.22. It has a setting for idempotency called
keepPreviousVars
. If set to true AREPL will add onto the local state each run instead of clearing it and starting from fresh. This will let you write high-cost code that initializes a variable, comment out the high-cost code, but still have the variable to play around with 😃I just released v1.0.21, arepl_store should work now 😃