Hello, I'm back.
After lots of tinkering, and asking guys here at the forum, we made a program that could successfully create a dungeons and dragons role playing character. In the end, the output looks like this:
----------------------------------------------------------------
Your character's sex is: Male
Your character's name is: Charlie
Your character's race is: Gnome
Your character's class is: Warrior
----------------------------------------------------------------
.............Ph ysical Traits......... ...
strength = 14
decterity = 15
constitution = 10
.............Me ntal Traits......... ......
intelligence = 10
charisma = 9
wisdom = 8
----------------------------------------------------------------
Alignment: Chaotic Neutral
And that is in cmd of course.
The thing I was wondering was this, is it possible to write something into the python script to make it save this output as a .txt file?
Thanks, now I'm off to a birthday!
After lots of tinkering, and asking guys here at the forum, we made a program that could successfully create a dungeons and dragons role playing character. In the end, the output looks like this:
----------------------------------------------------------------
Your character's sex is: Male
Your character's name is: Charlie
Your character's race is: Gnome
Your character's class is: Warrior
----------------------------------------------------------------
.............Ph ysical Traits......... ...
strength = 14
decterity = 15
constitution = 10
.............Me ntal Traits......... ......
intelligence = 10
charisma = 9
wisdom = 8
----------------------------------------------------------------
Alignment: Chaotic Neutral
And that is in cmd of course.
The thing I was wondering was this, is it possible to write something into the python script to make it save this output as a .txt file?
Thanks, now I'm off to a birthday!
Comment