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
620 Views Asked by nikolaos At
1
There are 1 best solutions below
Related Questions in DATABASE
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- How to not load all database records in my TListbox in Firemonkey Delphi XE8
- microsoft odbc driver manager data source name not found and no default driver specified
- Cloud Connection with Java Window application
- Automatic background scan if user edit column?
- Jmeter JDBC Connection Configuration Parametrization of Database URL for accessing SQL Database
- How to grant privileges to current user
- MySQL: Insert a new row at a specific primary key, or alternately, bump all subsequent rows down?
- Inserting and returning autoidentity in SQLite3
- Architecture: Multiple Mongo databases+connections vs multiple collections with Express
- SQL - Adding a flag based on results within a query - best practice?
- Android database query not returning any results
- Developing a search and tag heavy website
- Oracle stored procedure wrapping compile error with inline comments
- Problems communicating with mysql in php
Related Questions in WXPYTHON
- Update a text file with ( new words+ \n ) after the words is appended into a list
- How to use combo box selection to insert calculations in same dialog box?
- wxPython search word in TextCrl
- WxPython Bind events to TextCtrl
- Creating menus using wxpython
- Animation in WXpython leads to "python.exe has stopped working"
- wxPython Menu - deselect all Radio Buttons (wx.RADIO_ITEM)
- wxpython: How to add am image in text control
- wxPython MVC working with GUI
- How to use wxpython in an ipython notebook or console
- Interactive matplotlib selection
- python sorting a list of words in a text file( test.txt)
- Add a vertical scrollbar to a wxFrame accross multiple wxPanels
- Python: Threading with wxPython
- wxPython overlapping images
Related Questions in RICHTEXTBOX
- c# richtextbox search with 2 forms
- load word file (.docx) in richtextbox
- WPF text control with colors only
- How to validate RichTextbox in WPF?
- How to get TextRange of text written by user in RichTextBox
- Regex Split at beginning of line containing word
- Transparent RichTextBox with Graphic not showing Text
- Clipboard.SetText not copying new line characters properly
- RichTextBox control is only using first formatting
- GetPositionAtOffset() don't return good position
- Displaying coloured text in a RichTextbox
- Load rtf in bindable RichTexBox mvvm wpf
- save the file in 1 min interval if some changes happened in wpf c#
- C# RichTextBox ReadOnly Event
- Select All in multiple RichTextBox areas simultaneously
Related Questions in FORMATTED-TEXT
- Pasting formatted text (e.g. Word) to a textarea
- RenderTargetBitmap is always anti-aliasing my DrawingVisual
- Copy formatted text to clipboard
- Get typeface from Control properties?
- JavaScript, Objective: Display Accurate Source Code
- Officer - paste text with tabulator
- How to format text in JText Area?
- How can we align different line with different alignement in FomattedText
- Best way to store multiple lines of data in MySQL?
- Is it possible to do lazy formatting of a python string?
- Rendering text with HTML tags to Formatted text in a Word table using VBA
- Is it possible to use the java mail(mailto) function with .docx or formatted .doc files?
- stop rails from erasing HTML tags
- Why does python puts a space in front of my formatted string
- how to concatenate two formatted strings in python
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 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.