Ditutup

python list help with replacing

Example:

I have a list with 12-13 IDs, for each id I want to assign them a name, then save the name, not the id to name a file eg;

names = [123456789, 987654321, ....]

f = open([login to view URL]('aa', str(Example) + '.txt'), 'a')

[login to view URL]()

That creates the file, then:

a = [c for c in names if c in [login to view URL]]

That then filters out and if it finds any ID from my list it will print the found IDs as well as save the found IDs and the files name.

Now, what I want:

When it finds and lets say saves name '123456789' I'd like '123456789' to have a name of let's say 'Bob' it will be saved as instead of 123456789.

Any help is appreciated!!

Kemahiran: Python, Kejuruteraan Perisian

Lihat lagi: python projects help needed, craigs list help creating ads, list item fields sharepoint 2007 print pdf, python replace multiple items in list, how to replace a number in list python, how to replace a list with another list in python, python list replace element at index, replace tuple in list python, python list replace (), python replace element in nested list, python list replace string, add header csv python list, visual basic excel help replacing values, will craigs list help protect flagging, introduction python assignemnt help undergrad level, python list countries csv, python module search replacing file, python assignment help, python list files network share, python list bookmaker odds calculate

Tentang Majikan:
( 1 ulasan ) canberra, Australia

ID Projek: #17984233

36 pekerja bebas membida secara purata $23 untuk pekerjaan ini

anupkelkar02

I am a Python data science expert with experience in Classification and partitioning,Neural Networks, Association rules, Machine Learning Model, Tensorflow. Also I am a Oracle Certified professional (OCP) with ex Lagi

$30 AUD dalam 2 hari
(45 Ulasan)
6.0
schoudhary1553

This is Vibrant Webtech and I was glad to see that you're looking for help for project python list help with replacing. I've delivered more than 400 + projects in the last 5 years and this makes me very confident wit Lagi

$100 AUD dalam 2 hari
(33 Ulasan)
5.7
rishiajmera

Hello, Greetings! With a proven track record of successful achievements, I am pleased to present my application for your consideration as a Freelancer. Please have a look at my profile and portfolio to get an idea o Lagi

$25 AUD dalam sehari
(50 Ulasan)
5.4
davidngo817

Hello, dear! I am interested in your project. I have extensive experience in Python. As a developer with rich experience, I am confident about your project. I will provide perfect results in a short time. If you w Lagi

$50 AUD dalam sehari
(16 Ulasan)
5.5
alkarajput3131

I am a statistician and a data scientist. I am good at machine learning and data science. I am a statistician and have a strong background of theoretical statistics and mathematics. I am good at web scraping using pyt Lagi

$25 AUD dalam sehari
(48 Ulasan)
5.1
rinabuoy13

Hello, I am experienced python expert. I can help with this task with quick turnaorund. Looking to hearing from you. Kind regards

$25 AUD dalam sehari
(43 Ulasan)
5.3
NavyaSales

Hi Though I did not fully understand what you want, we can chat and you can show the probelm we will solve within an hour. Regards Aditya

$25 AUD dalam sehari
(3 Ulasan)
4.9
visweswaran1998

Good Morning Employer, This seems to be a fairly easy project and I am sure that I can complete it. Kindly hire me Thank you. My Policy: Will complete the whole project and will show it to you once you ar Lagi

$15 AUD dalam sehari
(25 Ulasan)
4.3
AlexMetalhead

Hey, my friend I am certain I can do this job quickly and well. I have good experience with Python and some free time today. Feel free to contact me asap. Cheers, Alex

$20 AUD dalam sehari
(15 Ulasan)
3.8
$20 AUD dalam 2 hari
(9 Ulasan)
3.3
mohdhathi

Hi I can help you with the task. Please let me know if interested. Thank you..........................

$25 AUD dalam 0 hari
(8 Ulasan)
3.6
ashki98

Hi, I understand that you need to reference the files with the names rather than it's id. I can help you with this using Python. But I do have to clarify certain things, so kindly message me and I can help you with thi Lagi

$20 AUD dalam sehari
(3 Ulasan)
3.1
abdulrahmanfci

I'm a software developer who uses Python for around 4 years now. I used it for simple projects to deep/machine learning tasks. (check reviews on profile) Just need more details about project to decide effort, time, et Lagi

$25 AUD dalam 0 hari
(7 Ulasan)
2.8
developersperhr

I am expert in Python and recently implimented google captcha on this [login to view URL] create complex [login to view URL] check previous work [login to view URL] [login to view URL] [login to view URL] http://escap Lagi

$55 AUD dalam sehari
(2 Ulasan)
1.4
JoshuaSullivan92

Hello I am a Python developer of 5 years and would like to help you with your script. If you would like to discuss anything further please feel free to message me at anytime. Thanks

$15 AUD dalam sehari
(1 Ulasan)
0.8
Tronki

I've worked with list manipulation before on a Quine–McCluskey algorithm solver made with python. Your project is no challenge for me!

$25 AUD dalam 2 hari
(0 Ulasan)
0.0
dudar99

I think that can help you. But I not сlearly understand what did you mean. Can you give a more information about this task

$10 AUD dalam 3 hari
(0 Ulasan)
0.0
$20 AUD dalam sehari
(0 Ulasan)
0.0
sapna321

Hello, I am a firmware developer (having 10+ years of experience) and web developer. Worked on BeauifulSoup for Scraping. Working on CodeIgniter, MySQL, jQuery, AJAX, Bootstrap with knowledge of HTML and CSS. This pr Lagi

$10 AUD dalam sehari
(0 Ulasan)
0.0
acamso

Hi, I can do this for you. Please shoot me a PM to discuss details and we'll get started right away.

$25 AUD dalam sehari
(0 Ulasan)
0.0