Automatically importing cards daily

61 views
Skip to first unread message

szymon

unread,
Sep 19, 2012, 1:55:11 PM9/19/12
to mnemosyne-...@googlegroups.com
Hi everyone!

I use Mnemosyne 2. I would like to add 10 cards from a txt file to my base daily and assign a tag to them. "Autoimport".

Is it possible to write a similar script/plugin in Python or PHP?

Timothy Bourke

unread,
Sep 19, 2012, 7:54:17 PM9/19/12
to mnemosyne-...@googlegroups.com
Yes. But why would you want to?

Why not just import/create them straight away? I often add hundreds of
new cards that stay unreviewed for months, while I only learn 10-20
new cards a day.

Tim.

signature.asc

Peter Bienstman

unread,
Sep 20, 2012, 2:29:13 AM9/20/12
to mnemosyne-...@googlegroups.com
What Tim said :-)

But if you really want to import from a python script, the code would
look something like this:

from mnemosyne.script import Mnemosyne

# 'data_dir = None' will use the default system location, edit as
appropriate.
data_dir = None
mnemosyne = Mnemosyne(data_dir)

for format in self.mnemosyne.component_manager.all("file_format"):
if format.__class__.__name__ == "Mnemosyne2Cards":
format.do_import(filename)

mnemosyne.finalise()

Peter

szymon

unread,
Sep 20, 2012, 8:10:31 AM9/20/12
to mnemosyne-...@googlegroups.com
I'm a bit lazy :) so it would simply help me with learning. It's easier to learn if you realize that "oh, I have only ten cards to memorize, not ten thousand", and keeps my progress consistent.

Thank you, I'll ponder on your solution, although I'm not into python :)

Peter Bienstman

unread,
Sep 20, 2012, 8:12:11 AM9/20/12
to mnemosyne-...@googlegroups.com
In that case, you might want to vote for the 'goals' plugin in our
uservoice forum :-)

Peter

On 09/20/2012 02:10 PM, szymon wrote:
> I'm a bit lazy :) so it would simply help me with learning. It's easier
> to learn if you realize that "oh, I have only ten cards to memorize, not
> ten thousand", and keeps my progress consistent.
>
> Thank you, I'll ponder on your solution, although I'm not into python :)
>
> W dniu czwartek, 20 wrze�nia 2012 08:29:18 UTC+2 u�ytkownik Peter
> Bienstman napisaďż˝:

Szymon Korytnicki

unread,
Sep 20, 2012, 8:13:50 AM9/20/12
to mnemosyne-...@googlegroups.com
I've already voted on that and even added a comment ;)

2012/9/20 Peter Bienstman <Peter.B...@ugent.be>
In that case, you might want to vote for the 'goals' plugin in our uservoice forum :-)

Peter


On 09/20/2012 02:10 PM, szymon wrote:
I'm a bit lazy :) so it would simply help me with learning. It's easier
to learn if you realize that "oh, I have only ten cards to memorize, not
ten thousand", and keeps my progress consistent.

Thank you, I'll ponder on your solution, although I'm not into python :)

W dniu czwartek, 20 września 2012 08:29:18 UTC+2 użytkownik Peter
Bienstman napisał:

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To unsubscribe from this group, send email to mnemosyne-proj-users+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Pozdrawiam
Szymon Korytnicki

Michael Campbell

unread,
Sep 20, 2012, 8:52:48 AM9/20/12
to mnemosyne-...@googlegroups.com
I have an enormous deck that I've imported; something like 1000+ cards
to learn. But, it's on my own time, so I just imported them all, and
do my daily mnemosyne routine by just stopping when Mnemosyne says
"You've learned 15 new cards...." dialog, *OR* I hit a time limit
(which I use a simple kitchen timer at my desk for). Whichever comes
first, I'm done for the day. That seems to "normalize" my work to the
point that I'm not overwhelmed on any given day. I know I'll
eventually get through them.
>> mnemosyne-...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> mnemosyne-proj-u...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
>
> --
> Pozdrawiam
> Szymon Korytnicki
>
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.

szymon

unread,
Sep 20, 2012, 9:09:11 AM9/20/12
to mnemosyne-...@googlegroups.com
Good tip Michael, and I currently adhere to it.  But you couldn't customize the schedule, and set the limit to 10 cards for given cards category and 5 for another (I know I'm grumbling) ;) 
>> mnemosyne-proj-users+unsub...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
>
> --
> Pozdrawiam
> Szymon Korytnicki
>
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-users+unsub...@googlegroups.com.

Michael Campbell

unread,
Sep 20, 2012, 5:37:20 PM9/20/12
to mnemosyne-...@googlegroups.com
I'm actually not worried about micro-managing the system; that's kind
of what the algorithm is for. Some days will have a lot of cards,
others not so many. All I'm looking to do is put an upper limit on
how much time I spend on it daily, so it doesn't feel like a chore.

But, everyone has their own needs and limits, so what works for me
might not for anyone else. It'd be an awful world if everyone were
just like me!
>> >> mnemosyne-proj-u...@googlegroups.com.
>> >> For more options, visit https://groups.google.com/groups/opt_out.
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Pozdrawiam
>> > Szymon Korytnicki
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "mnemosyne-proj-users" group.
>> > To post to this group, send email to mnemosyne-...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > mnemosyne-proj-u...@googlegroups.com.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>> >
>> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/_cs9Z_vNxusJ.
Reply all
Reply to author
Forward
0 new messages