Remote Web Development Job In IT And Programming

Python support for randomly selecting blocks of text from various files.

Find more Web Development remote jobs posted recently Worldwide

I have several files which contain a list of questions to be compiled in Latex. I want to write a Python script that does the following.

I want to choose a set number of questions randomly from each file and save them to a new file exam1.tex. For example, I want to be able to select 10 random questions from bank1 and 20 random questions from bank2, etc.

I will share some examples of files with shortlisted candidates.

Notes:
Each question is wrapped in an environment.
The following environments are used:

\\begin{ question}
[...]
\\end{ question}

\\begin{ matching}
[...]
\\end{ matching}

However, some questions are joined together into groups in the following manner:

\\begin{ block} [questions=2]
\\begin{ question}
[...]
\\end{ question}

\\begin{ question}
[...]
\\end{ question}
\\end{ block}

Ideally, Id like to keep grouped questions together. So, if one grouped question gets randomly selected, the entire group of questions gets included.
About the recuiter
Member since Mar 14, 2020
Ferdinand Chris
from Santa Catarina, Brazil

Skills & Expertise Required

LaTeX Python 

Candidate shortlisted and hiredHiring open till - Apr 8, 2024

Work from Anywhere

40 hrs / week

Hourly Type

Remote Job

$13.41

Cost

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions

Similar Projects

Generative Adversarial Networks Implementation

Looking for someone experienced in implementing Neural Networks/ Generative Adversarial Networks for an Academic Project.
Would require implementation of existing models (and re-training them), and making changes to them when required.

Conv Emissions data in GIS format for WRF/chem use

Looking for someone skilled qgis python fortran snd c. Also the WRF/Chem or any weather models. Need help in converting GIS emissions data to be readable in a weather model

Working with a Python Pandas DataFrame

Looking for an experienced Data Analyst to work on a Pandas DataFrame (Python). An Example of DataFrame and clear framework to deal with data will be provided. Our aim is to learn the method from you and use it on our data, which cannot be shared at...read more

Front end developer to help integrate components into WIX website

Drag and drop excel column onto web page, web page runs simple python script and results are displayed.
Looking for someone with strong front end and design skills who can do this quickly.
Preferable they use python.

Sql server and power bi visualization help

I need help writing a sql code and visualizing it on power bi. Custom visual will be plus