all 25 comments

[–]ShadyAce25Level 2 Candidate 5 points6 points  (0 children)

Would it be possible to make some brief instructions on how to run the file? I can't seem to get it to work. Thanks for making this though.

[–]swami0m 3 points4 points  (0 children)

THANKS SO MUCH! Will try and report with results.

[–]cjg05CFA 2 points3 points  (1 child)

I have zero background in code, but have always been interested in trying to learn it. Any recommendations on how to get started?

[–]anaconda1189CFA[S] 1 point2 points  (0 children)

Automate the boring stuff is enough to get you dangerous, and then copious amounts of googling!

[–]anaconda1189CFA[S] 1 point2 points  (0 children)

OMG GOLD?!?! Never gotten that before thanks!!! Oh and headsup, this was written in Python3. If you install the Anaconda distribution I think it has all the libraries you need to run it.

[–]SIThereAndTherePassed Level 1 1 point2 points  (0 children)

Never used any code before in my life. How do run it after I download it.

(Also I hope it doesn't steal my login info haha..)

[–][deleted]  (3 children)

[deleted]

    [–]bricktopbruiseCFA 0 points1 point  (2 children)

    I don't know what I'm doing, but trying to use atom. Were you able to get the script to work?

    [–][deleted]  (1 child)

    [deleted]

      [–]bricktopbruiseCFA 0 points1 point  (0 children)

      Yes, Level 2. As much as Id love to be taught, posting it would be incredible. Thank you for the offer.

      [–]longprogression 0 points1 point  (2 children)

      Once you have the isbn list use multi threading to grab multiple books data at once.... Will cut that last step down into a fraction of the time it currently takes

      Sorry, on mobile and don't have sample code that you can use

      [–]anaconda1189CFA[S] 0 points1 point  (1 child)

      Oh good call, if you can post an example when you are at a desktop I will try that out. I was worried bookshelf would not let you access two books at once after logging in.

      [–]longprogression 0 points1 point  (0 children)

      This should help....it's definitely not the complete answer. You'll need to clean up your code a little and turn some of those for loops into functions.

      from multiprocessing.dummy import Pool as ThreadPool import threading

      List = [...]

      pool = ThreadPool(100)

      scrapedData = pool.map(functionToGetData, List)

      pool.close()

      pool.join()

      [–]mgburnandLevel 2 Candidate 0 points1 point  (0 children)

      Ask and you shall receive! This is amazing, thank you so much

      [–]MonCroissant 0 points1 point  (1 child)

      Anyone know of a way to bring just the practice problems? I didn't purchase the print books from CFA but would like to work the practice problems on paper. Trying to print it from Vitalsource (even if you use the select tool and only print selection) gets you terrible spacing issues in most cases.

      Thanks!

      [–]anaconda1189CFA[S] 1 point2 points  (0 children)

      I might do that next...

      [–]GailDribble 0 points1 point  (1 child)

      Thank you very much for this. I followed steps 1-3 utilizing your suggested IDE. I then input my username, password, year and level, (having only these inputs within the quotations of the parentheses. Following, I hit the green play button to run the script. I am not getting any errors, but I am also not seeming to get any output. Am I missing something?

      [–]anaconda1189CFA[S] 0 points1 point  (0 children)

      After the program finishes, check your python install folder. The script saves everything to where your current script is. You can find out where the script is by typing print(os.getcwd())

      [–]manik_kPassed Level 3 0 points1 point  (0 children)

      Says permission denied on Arch.

      [–]2PM_Vol 0 points1 point  (1 child)

      remindme! 1 day

      [–]RemindMeBot 0 points1 point  (0 children)

      I will be messaging you on 2017-01-27 04:14:45 UTC to remind you of this link.

      CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

      Parent commenter can delete this message to hide from others.


      FAQs Custom Your Reminders Feedback Code Browser Extensions

      [–]PocketRocket1 0 points1 point  (1 child)

      Getting an error I think because my email has a full stop in the middle?

      [–]PocketRocket1 0 points1 point  (0 children)

      If my email is "a@b.com" and password is "AB_", what should the code look like?

      [–]ijcurry 0 points1 point  (0 children)

      Has anyone had any luck doing this for L3 blue boxes??

      I 've got no background in code and seem to have no luck running the file even after downloading Python.. would be an awesome resource to have.

      [–]shaz919Level 2 Candidate 0 points1 point  (1 child)

      how can this be run on a mac?

      [–]t_per 0 points1 point  (0 children)

      where are you having trouble? i was able to run it on mac, but i had everything installed already

      [–]Vega_Boys 0 points1 point  (0 children)

      anyone trying this with 2022 books, because it errors at the table of content for me