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
Ashish Kavishwa
from Alentejo, Portugal

Skills & Expertise Required

LaTeX Python 

Candidate shortlisted and hiredHiring open till - Apr 1, 2024

Work from Anywhere

40 hrs / week

Hourly Type

Remote Job

$13.37

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

Python Penetration Testing

I am looking for a Python programmer with knowledge of application security/pentesting to create a series of educational videos on Python and its usage in penetration testing covering network and web application securty (OWASP).

Convert Quantopian Algo to QuantConnect for live paper trading

Hello,

I need assistance to convert my Quantopian algo to Quantconnect for live trading on Interactive brokers. I have worked with developers before and have a completed code on Quantopian.

In my opinion, the trading algorithm is n...read more

Launching database backend using infrastructure tool, Ansible

Using infrastructure automation tool Ansible, launch a simple database backed web application that displays hello world. using Django. Include documentation on how I can execute and run the program.

Developer needed to create a live video-streaming website

Looking for somebody who is proficient in SQL, JavaScript and Python. The project is to build a website that can host video streaming and live chat. This website will be very similar to Twitch.tv.

Data analyst need

Data Analyst for Web scraping/ Data mining/ Machine learning /Data Profiling/ Data Validation/Advanced excel charts