Questions tagged [edx]

Open edX is a massive open online course platform, created by the MIT and Harvard University to offer online university-level courses, and released under the AGPL license.

223 questions
0
votes
1 answer

Using of session in Ruby on Rails

I have understood that the use of session is like using a Hash (more or less). When I use the session I set something like session[:sort] = 'title'. However, the app throws me an exception: undefined local variable or method `session' for…
Juan M.
  • 146
  • 1
  • 9
-1
votes
2 answers

I cannot get past this stage of my problem: what's wrong? edx

mystery_int = 3 #Write a program that will print the times table for the #value given by mystery_int. The times table should print a #two-column table of the products of every combination of #two numbers from 1 through mystery_int. Separate…
Z9.
  • 238
  • 2
  • 15
-1
votes
1 answer

Query in Open edX about uploading

Anyone knows how to add equations e.g (set [a , b) = {x ∈ R a ≤ x < b} ) and limits equations on open edx. I'm having a issue in uploading the content like Multiple Choices and Text.
-1
votes
1 answer

How to add student attendance in Open edX.

I am a new developer for Open edX. I want to add student attendance, whoever has attained the course. I did google but not get any solution.
Ross Baker
  • 13
  • 2
  • 9
-1
votes
3 answers

Guessing a letter A-Z

So, here is the task. Can't solve it, please help. check_guess() takes 2 string arguments: letter and guess (both expect single alphabetical character) - if guess is not an alpha character print invalid and return False - test and print if guess is…
Anton Zubochenko
  • 153
  • 1
  • 11
-1
votes
1 answer

Django Error - AttributeError: 'CourseOverview' object has no attribute 'start_datetime_text'

I have been trying to get this theme working for Open edX (based on Django) and I am getting this error in supervisor logs - AttributeError: 'CourseOverview' object has no attribute 'start_datetime_text' The whole error is this - May 14 11:43:36…
Nishant Dixit
  • 543
  • 1
  • 4
  • 12
-1
votes
1 answer

How to create an array of Student Objects within a Course class in C#

I need to create the classes Course, Teacher, Student, etc. The assignment also asked to "encapsulate" the data. The tricky part is that the Course class should contain an array of 3 student objects, and I really don't know how to do that. This is…
-1
votes
1 answer

EDX Course API: Getting EDX course list

I am making a project in python/flask. I want to get a list of all the courses of edx. But the API provides the list page by page. I can't figure out how to get the entire list. Any help is appreciated. Thanks!
Yash Jain
  • 3
  • 1
  • 3
-1
votes
2 answers

How can I extract a word from a variable?

I'm taking MIT 6.00.1x from edX.org and I'm on problem set 1 problem 2. I'm having trouble getting bob from this variable s = 'azcbobobegghakl' I have this code s = 'azcbobobegghakl' bobTimes = 0 for bobWord in s: if 'b' and 'o' and 'b' in…
Jordan Baron
  • 25
  • 1
  • 1
  • 9
-1
votes
1 answer

How could I make this word matching algo more efficient python

There is a dictionary d of letters and frequencies which represents a hand in a game similar to scrabble. If the letters in word are contained within d then the frequencies are changed or the letter is removed (if the value == 0) and the function…
David Hancock
  • 1,063
  • 4
  • 16
  • 28
-1
votes
1 answer

Vigenere Cipher. Code output

I've been working on cs50 pset2, and I thought I had the vigenere cipher down after working on it for a few days. This code is meant to take an alphabetical argument(argv[]) given by the user, and use that as a key to crypt a phrase given by the…
-1
votes
2 answers

AttributeError: 'list' object has no attribute 'rename'

df.rename(columns={'nan': 'RK', 'PP': 'PLAYER','SH':'TEAM','nan':'GP','nan':'G','nan':'A','nan':'PTS','nan':'+/-','nan':'PIM','nan':'PTS/G','nan':'SOG','nan':'PCT','nan':'GWG','nan':'PPG','nan':'PPA','nan':'SHG','nan':'SHA'}, inplace=True) …
-1
votes
1 answer

$.getJSON, google.maps.infowindow and content string

The code is supposed to add a click event where an infowindow opens on a marker with data from a PHP page and it "works" except the first infowindow opens blank (just says news in h1) and after that every other infowindow I open contains the stuff…
-1
votes
2 answers

OpenedX url referencing

I am experimenting with adding an anchor tag in the file "course_outline.html" in the template folder of cms. I want the user to be redirected to another page on clicking this. For experimentation I am doing
random40154443
  • 1,100
  • 1
  • 10
  • 25
-1
votes
3 answers

Open edX - certificate - students cannot download it

I'm working with the certificates of the courses, but the students are not being able to download the certificates. The certificate download button is shown on the dashboard, however the link looks like…
Lucas Sodré
  • 77
  • 11
1 2 3
14
15