Programming

Programming questions? Ask a programmer for answers ASAP

Connect one-on-one with {0} who will answer your question

Related Programming Questions
I need some help with converting JSON to CSV. I have a json
Hi! I need some help with converting JSON to CSV. I have a json file with many nested arrays and I would like to extract only one of these … read more
Bing
Bing
Freelance IT Consultant
2,072 satisfied customers
Define a Python function named dog_bites that has three
Define a Python function named dog_bites that has three parameters. The first parameter will be a list. Each entry in the first parameter will be a list with a length of 3 (the first and last entry ar… read more
Brian A
Brian A
Software Development Manager
Computer Systems Engineering
185 satisfied customers
I have a questions, reading a csv file in python, it needs
it needs to be completed by tonight and i need to complete 12 main questions regarding a context-specific assignment … read more
ChrisH121
ChrisH121
Information Systems
4 year BS (Computer Science)
892 satisfied customers
Python reading a csv file. Data type comes in as object
Python reading a csv file. Data type comes in as object type. I am trying to convert to float, but I get an error … read more
ChrisH121
ChrisH121
Information Systems
4 year BS (Computer Science)
892 satisfied customers
Write http get method to read and display all the directors
Write http get method to read and display all the directors name and their movies. Example: Director A movies X, Y, Z. Director B movies M, N. Run it in browser and take screenshot of the output… read more
ChrisH121
ChrisH121
Information Systems
4 year BS (Computer Science)
892 satisfied customers
I have two questions about python code. I will show you, it
that is function is used to read the file, and detect the frequency of each character in the string, run in cmd, and output the result1.I need to use unit tests to test the above code, but I don't know how to do it. I want to know how to write unit test code to test my function2. I want to import the above functions as modules into a new file and add the new functions to the new file. This function is used to create the output of the first function as a CSV file, and the name of this CSV file depends on what I input on cmd. For example, [python test.py -c test02] can make the above function output results. The function of the new function is that if I enter [python test.py -c test neos], neos will be the file name of the new CSV file to be output. This is my code, but I cannot output the required information, so I need help. … read more
Kunal
Kunal
491 satisfied customers
How may i read a file into a dictionary? Python 3.9.1.
How may i read a file into a dictionary? JA: What programming language are you using for this assignment? Customer: Python 3.9.1 JA: What are the full requirements for this task? How soon do you need … read more
Your Solution
Your Solution
Software Developer and Project Manager
Master in Science
2,933 satisfied customers
How does this work? Python. So, I have a very simple task. I
So, I have a very simple task. I have an existing python script that pulls data from a database, and puts it into a list. This works well. 1) Now, I want to print specific key:value pairs to a file for the whole list. 2)Ideally, I'd like to adjust the column heading before I save the file. 3)And if I can save it to a CSV format that would be best. I have a working python program that does this, that is very short and simple, but just not sure how to pick out the key:value pairs I want, nor adjust the column headings how I want. I think I just need a little assistance that should be 2 hours or less, maybe 1 hour? For some experienced, it could be a 10 minute task, lol. … read more
Bing
Bing
Freelance IT Consultant
2,072 satisfied customers
Help with Python coding. Import json def main(): while True:
import jsondef main(): while True: try: n = int(input("Enter the number of students: ")) break except ValueError: print('You must enter an integer') else: break student_list = [] dataDict = dict() while True: try: for i in range(n): dataDict['first name'] = input("\nEnter First Name of Student "+str(i+1)+": ") dataDict['last name'] = input("Enter Last Name of Student "+str(i+1)+": ") dataDict['exam 1'] = int(input("Enter Exam 1 Grade of Student "+str(i+1)+": ")) dataDict['exam 2'] = int(input("Enter Exam 2 Grade of Student "+str(i+1)+": ")) dataDict['exam 3'] = int(input("Enter Exam 3 Grade of Student "+str(i+1)+": "))student_list.append(dataDict) except ValueError: print('You must enter integers for the exam scores') else: break gradebook = {'student':[dataDict]} with open('result.json', 'w') as fp: json.dump(gradebook, fp) main() … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
Need help with three hacker rank questions, can you help
hi need help with three hacker rank questions, can you help now? … read more
Your Solution
Your Solution
Software Developer and Project Manager
Master in Science
2,933 satisfied customers
I have an exercise to convert a csv file to either JSON or
I have an exercise to convert a csv file to either JSON or XML. clean it and read it into a Mongodb. I can convert a file to json but not sure how to do the rest. I can also read the csv file and show… read more
Mian-Wisal Ahmad
Mian-Wisal Ahmad
Field Engineer
MS Electrical Engineering
1,860 satisfied customers
I have a question on API in python. I am trying to make
I am trying to make multiple AIP calls and saving the returned value in a CSV file. … read more
Kaiser
Kaiser
Computer Engineer I
Bachelor of Science in Mechanical Engineering
2,889 satisfied customers
Trying to structure json output. Python. Structure json file
that is all I have most of the code written just need help on achieving desired end result… read more
Nilesh
Nilesh
CEO
Bachelor's Degree
1,796 satisfied customers
I am a newbie to python and have some simple questions. I
I am a newbie to python and have some simple questions … read more
Nilesh
Nilesh
CEO
Bachelor's Degree
1,796 satisfied customers
Dependencies import json import requests # Specify the URL
Dependencies import json import requests# Specify the URL url = "https://official-joke-api.appspot.com/jokes/programming/ten"# Make request and store response r = requests.get(url)print("Status code:"… read more
Bing
Bing
Freelance IT Consultant
2,072 satisfied customers
I have written a script in Python to download JSON from an
I have written a script in Python to download JSON from an API URL, and save it as CSV. However, some rows of data don't contain data for all of the keys in the header. The result is that the data shi… read more
Steve
Steve
Consultant
Bachelor
298 satisfied customers
I got a bunch of python problem but not sure how to write
I got a bunch of python problem but not sure how to write the code for that … read more
Jason Jones
Jason Jones
IT & Network Consultant
AAS Information Technology
14,427 satisfied customers
im doing a project of finance by using python csv. The question
i'm doing a project of finance by using python csv. The question is "Write a Python code to find ten companies whose share prices earn the largest gain from 2006 to 2007. Sort the order of the compani… read more
Todd
Todd
Bachelor's Degree
414 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Computer Software Engineer

8,603 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

The-PC-Guy

The-PC-Guy

Software Engineer

930 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

Rafael Martins

Rafael Martins

Computer Software Engineer

449 satisfied customers

Desktop, Mobile and Web Developer. 10+ years of experience. Creative solutions provider.

Ramesh Patil

Ramesh Patil

Computer Software Engineer

406 satisfied customers

MCA, 3+ years of experience in Asp.Net, C#, SSIS, VB.Net, Ms-SqlServer2005, MySql, Javascript,

Arty

Arty

Computer Software Engineer

377 satisfied customers

15+ years of programming, C, C++, Java, PHP, awk, ruby, shell, ASM, Forth, Raptor, M.A.R.I.E, Excel

< Previous | Next >

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x