Python Forum
Can anyone help me successfully run this code?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can anyone help me successfully run this code?
#20
(Sep-10-2023, 02:03 PM)TheMouseAvenger Wrote: Of course, if there are any errors, PLEASE do let me know. :-) It would also be very much appreciated if you could put any corrections IN the code, so I don't have to worry about placing them.
All is ok.
Now can give path or simpler just put .json files in folder G:\div_code\suspender_env then no path is needed.
Navigate works like with c: and cd if want go eg desktop.
G:\div_code\suspender_env                                                         
λ G:\div_code\suspender_env\Scripts\activate.bat                                  
 
# Over to c:                                                                                 
(suspender_env) G:\div_code\suspender_env                                         
λ c:                                                                              
           
# Go back                                                                       
(suspender_env) C:\Users\Tom                                                      
λ cd ..                                                                           
    
# Go back                                                                                 
(suspender_env) C:\Users                                                          
λ cd ..                                                                           
     
# Go to Desktop                                                                             
(suspender_env) C:\                                                               
λ cd Users/Tom/Desktop    

# List files 
(suspender_env) C:\Users\Tom\Desktop
λ ls
'010 Editor.lnk'*
 'tabs.json'
'tabs_new.json'
.....                                                      
       
# Do the command                                                                           
(suspender_env) C:\Users\Tom\Desktop                                              
λ restore-the-great-suspender-urls --in-file=tabs.json --out-file=tabs_new.json   
# No error ok
So now i this navigate demo i have a tabs.json in Destop folder,
then no Path is needed,same for all just navigate to folder where .json files are,or just move the files to suspender_env folder.
Reply


Messages In This Thread
RE: Can anyone help me successfully run this code? - by snippsat - Sep-10-2023, 04:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how do I successfully use PDO with my ODBC for MSSQL? cyberion1985 3 6,719 Jun-26-2018, 04:44 PM
Last Post: Maverick494
  Cannot successfully install NumPy aniketmone2017 3 7,477 Dec-29-2016, 02:14 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

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