I make a program in wxpython which displays questions to the user and a radiobox with answers. Questions and answers should be in a database and is formatted text using some mathematics (paranthesis, root squares etc). Could you propose me what widget I should use for such a text and what could be the database? Thanks.
Display formatted text in a window using python
622 Views Asked by nikolaos At
1
There are 1 best solutions below
Related Questions in DATABASE
- How to add the dynamic new rows from my registration form in my database?
- How to store a date/time in sqlite (or something similar to a date)
- Problem with add new attribute in table with BOTO3 on python
- When an E-R attribute should be perceived as a relationship attribute or as an entity set attribute?
- SQLAlchemy: efficient relationship loading in 3-way many-to-many relationship
- Cannot connect to Postgres Database when running Quarkus Tests with Gitlab ci
- Local or remote database with react-native?
- I want to edit a specific row in database
- How to enter data in mongodb array at specific position such that if there is only 2 data in array and I want to insert at 5, then rest data is null
- Open Web Library
- database login.py and register.py error showing 404 file not found and doesn't work
- SQL71561: SqlComputedColumn: When column selected
- Liquibase as SaaS To Configure Multiple Database as Dynamic
- Updated max input vars but table still shows error
- Spring does not map set of roles
Related Questions in WXPYTHON
- wx only execute on mouseover, not during GUI initialization
- FindString() method for wx ListBox not working for me
- How do I create a wx.Bitmap with a transparent background?
- Unable to identify which events a wx widget emits
- Wxpython Sizer position
- wxpython alpha colors overwrite previous drawing
- wx.YieldIfNeeded slows down when called in long running search in wxStyledTextCtrl doc which is scrolled down
- How to create trustworthy desktop applications that do not conflict with antivirus software
- How to prevent UI freeze in wxpython when running long task with concurrent future
- Drag and Drop Attachments from Outlook to Windows Filesystem
- Is it possible to create a function to increment or decrease a variable by one, without looping or recursion(wxpython)
- WX Bitmap from buffer, confusing invalid buffer size error
- How do I implement single click editing on cell in a table in wxPython?
- How do I get arrows in a wxPython Ultimate List Control to scroll correctly?
- Plotting two graphs in real time with wx and matplotlib
Related Questions in RICHTEXTBOX
- How to show diacritic accent mark in WPF RichTextBox
- Forbid to move cursor in RichTextBox past certain position
- Converting RTF file with images to TIFF
- Mapping Console Text Coloring and Highlighting to a RichTextBox in Windows Forms
- why in the richTextBox the length of string.Join(Environment.NewLine, lines) is equal to 20 after to add tab in the following example (attached code)
- How to preserve rich text formatting in contentNote after escaping HTML characters to prevent XSS attack in salesforce
- How do i Duplicate a line in Richtextbox C#
- Parsing .RTF file into a C# RichTextBox erases the Check Boxes
- Search on whole words in AutoCompleteMenu-ScintillaNET on WinForms app
- How to make TextBlock inside of Rich Text Box Non-removable?
- Unable to make a popup that shows up in a RichTextBox when a character is placed
- Can you use EM_GETTEXTEX to the the selected RTF of a rich edit control?
- How can I stop the user being able to edit text in a richtextbox?
- When pasting text from the Clipboard into a RichTextBox, the new text is not colored in the RichTextBox ForeColor
- AppContext.SetSwitch("Switch.System.Windows.Controls.Text.UseAdornerForTextboxSelectionRendering", false); not work for RichTextBox?
Related Questions in FORMATTED-TEXT
- How to edit Telegram messages with monospace or HTML text using Telethon?
- Get typeface from Control properties?
- Getting cyrillic string in richedit with Delphi
- How do I insert a link in the editor?
- Officer - paste text with tabulator
- stop rails from erasing HTML tags
- Python - Print contents of list and include square brackets but not apostrophes
- How to represent formatted printf using echo in bash
- How to extract some formatted string from the buffer using scanf?
- How to format text in JText Area?
- Can't delete formatted Credit Card Number on smartphones
- Why does python puts a space in front of my formatted string
- Is it possible to do lazy formatting of a python string?
- Get overflown text of FormattedText
- FormattedHtmlMessage react-intl v4
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For database you can use any sql based DB e.g. mysql or sqllite but if you do not have much data why not just store it in text files or as python module itself.
Displaying math symbols part is tricky, you will need a control which can display MathML(http://en.wikipedia.org/wiki/MathML) , I don't think any wxPython widget can do that, some browsers display MathML, so you may embed browser inside wxpython but that is also tricky.
Another alternative is to use mathplotlib to draw math symbols e.g. see http://matplotlib.sourceforge.net/users/mathtext.html#mathtext-tutorial
but IMO simplest/best way would be to just convert mathml xml to a image file and display it in a image control inside your app. e.g. you can use http://sourceforge.net/projects/svgmath/ to convert mathml to svg, convert svg to png using http://librsvg.sourceforge.net/
or you can also try http://sourceforge.net/projects/jeuclid/
You will have to experiment to see what is easiest for you but i don't think there is any easy way.