Færdiggjort

Handle text files with python 3 script

I want to get a python script that merge a couple of text files every 10 second. The script will be running on windows 10.

The function:

I have added an image of the file structure. Look at that when you keep reading.

In main folder we got a couple of strategies. The amount of strategies can vary, the code needs to be flexible for x numbers of strategy folders.

In each strategy folder, there will be a folder named markets and two text files, [login to view URL] and market_loader2.txt. In the markets folder there are some event files, each text file is either empty or has one row or a couple of rows of text. The amount of text files can vary and sometimes the folder is empty.

What I would like the script to do:

For each strategy folder check markets folder.

1.

a. If there are empty text files in the markets folder remove them.

b. If there are text files with content in the markets folder, merge all the content and rewrite market_loader1.txt.

c. If markets folder is empty, clear market_loader1.txt.

- Sleep 10 seconds.

2.

a. If there are empty text files in the markets folder remove them.

b. If there are text files with content in the markets folder, merge all the content and rewrite market_loader2.txt.

c. If markets folder is empty, clear market_loader2.txt.

- Sleep 10 seconds.

3. Start over at step 1

The order of the merged content to [login to view URL] or [login to view URL] does not matter. But each row that is merged should have line breaks.

Evner: Python

Se mere: python script text files, create bulk text files script, perl script line match text files, excel script generate text files cells, vbs script merge text files, source script merge text files, modifying text files python, python text files calculations, python scripting text files, perl script compare text files, perl script match text files, script import multiple text files spreadsheet, perl script sample search text files, text files excel files script visual basic, creating text files python, python script parse text files, python script copy paste text files, parse text files python, parsing text files python, python script for editing text files

Om arbejdsgiveren:
( 1 bedømmelse ) MÖLNLYCKE, Sweden

Projekt ID: #28334034

Tildelt til:

harsh7dev

Hi, I am a professional Python developer with over 3 years of experience and writes efficient, modular & scalable code. I have read the project description carefully about file & text manipulation and can very well ex Flere

£15 GBP på 1 dag
(2 bedømmelser)
1.3

14 freelancere byder i gennemsnit £28 timen for dette job

suryanshsingh55

hello sir/madam i have rich experience in coding in python . i have made ton of prgrams like this before. i can make you a well commented, robust,reusable python program as soon as possible within budget. you can ch Flere

£20 GBP på 1 dag
(35 bedømmelser)
4.3
Demenntor

Dear Employer As i can read about the project to "handle text files with python 3 script". I have good knowledge in Python and can start over the project. Kindly share more details. Regards Lalit

£20 GBP in 2 dage
(16 bedømmelser)
3.7
parthjaviya098

Hello, l have read your requirements and I can build python 3 script that can handle text file according to your algorithm. I can delivery it in few hours. My programming skills : python, fastapi, flask, dj Flere

£18 GBP på 1 dag
(12 bedømmelser)
3.8
demydkasilov

Dear client, how are you? I read your job description and understood. I always propose in case I can do it I have super skill in PHP-Laravel-Wordpress-Javascript-React.js-Node.js-Python. Skills : -PHP/Laravel/Wordp Flere

£20 GBP in 3 dage
(2 bedømmelser)
2.3
rociobc12

Hello! ★★★★★ The Best Python Developer ★★★★★ I read your job description carefully and I understand what you want. I'm a Professional Python Developer with 6+ years of experience and will strongly assist you well for Flere

£20 GBP på 1 dag
(1 bedømmelse)
2.1
jcPimentel

Hi im a python , php , javascript developer / backend a front end , im totally free right now , i can work in this today. If you have any question please chat with me.

£20 GBP på 1 dag
(2 bedømmelser)
1.3
danchiksvetliy

✔️✔️✔️ Greetings! ✔️✔️✔️ A hands-on developer, with deep Python technical skills. I Already DONE SIMILAR Project with Python Few Days Ago. So I can satisfy your request in short time. I think I am a right person who c Flere

£70 GBP på 1 dag
(1 bedømmelse)
1.4
talesmoraes2001

Hello. I read your description carefully and understand sufficiently. And I am very interesting for your project. I have enough experiences for python. I will send you full project in a short time. Looking forward to h Flere

£10 GBP på 1 dag
(1 bedømmelse)
1.0
bipinsartape

I checked your project requirements and it matches with my skills & expertise to deliver you best quality work. Few points that I need to be clear in bit more detail Please let me know, if we can discuss in detail to m Flere

£15 GBP in 3 dage
(1 bedømmelse)
0.7
Rajeshmane711

Hi,I am Python developer. I have completed Mtech from reputed college. I can complete your task in very quick time.

£29 GBP på 1 dag
(1 bedømmelse)
0.5
YankeyKelvin

Good day. After taking a careful look at your proposal, requirements as well as the accompanying attachment. I am very confident I will be able to complete your application on time and with high quality. I have also Flere

£15 GBP på 1 dag
(0 bedømmelser)
0.0
ITPY

Hi :-) I am IT Support L2 and Python Developer certified by Google. Please visit my LinkedIn for further details: [login to view URL] Kind Regards

£100 GBP in 3 dage
(0 bedømmelser)
0.0
dharmikritu88

i had gone through your demand so i had many work projectfor such type of work so can done it in such a proper way

£16 GBP in 2 dage
(0 bedømmelser)
0.0