![]() If someone could kindly give me that code I would be very grateful. Also, I do not think I need error handling as I will manually run the file (as far as I understand I can create a batch file that fires up python to run the code). I will fire up the excel workbook manually, no need to include that in the code. downloads the following two files to the same target path and Īnd that is it. The date can come from my computer's system date on running the code (-1, obviously) OR from the file properties of the json files, whichever is easier to code renames two files (systems_populated.json and stations.json) by adding the previous date (in yyyymmdd format) to the beginning of the filenames. goes to the path where I store the files (for ex: c:/EliteLargeFiles) stations.json is renamed to .Īfter that I download the 2 new json files and run the excel workbook.Īs far as I understand this would be rather easy to automate in Python, what I need is a code that: This workbook uses two EDDB json files ( and ).Įvery day I rename the json files I downloaded the previous day by adding the date to the beginning of the filename, i.e. I use u/psychicEgg's LTD high selling station excel workbook to find systems that are candidates for high (1.6 m/t) LTD prices. I am looking for someone who could help me with what I expect is a very easy Python problem.Īs a background, I have always wanted to learn Python and I will start soon, but currently all I have is Python 3 (Anaconda) downloaded and installed on my computer. News, banter, CG & GalNet updates, and a bit of music too Dangerous Links CommunityĮlite Dangerous news & discussion live podcastĬQC Deathmatch on Xbox One with prizes from Pixel BanditsĬM team playing & discussing the game's events Post/comment not appearing? It may have entered our AutoModerator's event horizon. Read the Subreddit's Rules and Removals Info Page before posting ![]() SAGi Magazine Gallery Of ED Artwork By Creative CMDRs Fly Safe, Commander Help. ![]()
0 Comments
Leave a Reply. |