842 Recommended Topics
Remove Filter | |
AttributeError Traceback (most recent call last) <ipython-input-1-2b6855960796> in <module> 15 csvFile = open(search_key+".csv","a+",newline="",encoding="utf-8") ---> 16 csvWriter = csv.Writer(csvFile) 17 c = [] 18 i = [] AttributeError: module 'csv' has no attribute 'Writer' Help๐๐ Software Development microsoft microsoft-office python | |
i have an airline ticketing project and i cant figure it out, i need to take the name and age of passengers and depending on their ages they will get a discount (2% for 13 below and vat exemption + 20% discount for 60 above) and also the prices changes … | |
I developed a Java Application to run on Mac BigSur. I used Java Derby as database for this application. The Application gives an Exception: java.lang.ClassNotFoundException:org.apache.derby.jdbc.EmbeddedDriver The interesting fact is that When I run this application on my MacBigSur(Which I have installed on Virtual Box) then the application runs perfectly. But … | |
What is the problem with my mouse on Windows 10? I would appreciate any help in resolving this problem Software Development pc-peripheral windows-10 | |
Please can I use my normal computer camera to scan and decode a Qr code? Software Development microsoft vb.net visual-basic | |
Create three classes the Calculation class, Conversion class and Menu Class. The Conversion class should have the following methods. double KMToMiles(double distance) double MilesToKM(double distance) double FeetToMetres(double distance) double MetresToFeet(double distance) double KgToPounds(double weight) double PoundsToKg(double weight) double CelciusToFahrenheit(double temperature) double FahrenheightToCelcius(double temperature) The Calculation class should have the following … Software Development java | |
Create three classes the Calculation class, Conversion class and Menu Class. The Conversion class should have the following methods. double KMToMiles(double distance) double MilesToKM(double distance) double FeetToMetres(double distance) double MetresToFeet(double distance) double KgToPounds(double weight) double PoundsToKg(double weight) double CelciusToFahrenheit(double temperature) double FahrenheightToCelcius(double temperature) The Calculation class should have the following … Software Development java | |
I am not quite sure why I am getting this error package tile; import java.awt.Graphics2D; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import javax.imageio.ImageIO; import main.GamePanel; import main.UtilityTool; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[][]; public TileManager(GamePanel gp) { this.gp = gp; tile = … Software Development java | |
Hi ! I have developed a Java application using Derby Database. The application jar file is successfully running on Windows but on Mac it gives and exception as following: ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver I am pasting code for database Connection which I wrote. String dbdriver = "org.apache.derby.jdbc.EmbeddedDriver"; Class.forName(dbdriver).newInstance(); con = DriverManager.getConnection("jdbc:derby:C:\\4DSOFTECHDB; create … Software Development java | |
The Tkinter module comes with the normal Python installation. It allows you to create Python GUI programs for Windows, Linux or Unix on the Mac. In this snippet we put a GIF image (.gif) onto a form's canvas with just a few lines of code. Most of the lines are … | |
Hello, My name is Frank from Ghana in the west africa, Please I just started learning python today. Can i get a dedicated mentor i can ask question in case i run to errors. Thanks a lot i will be waiting please. Software Development python | |
I am on the latest version of Windows 10, running with SWI-Prolog 7.6.4, and trying to get JPL (Java <->Prolog) running for a school project. I've not had to deal with path issues much but I have done my best to understand the problem. I've added the necessary import statements … Software Development java | |
Overwhelming inboxes are a typical complaint in the modern day. It might be challenging to keep up with the constant stream of communications and choose the most crucial ones, which is why we have put together this guide on how to handle email overload. Constantly checking your inbox throughout the … | |
Write the class definition for a class named Employee. The class should include data members for an employee object's name and salary (the salary will be an integer). The class should contain two member functions: the constructor and a function that allows a program to assign values to the data … Software Development c++ | |
Which Software / Tool is best for bulk listing in online store like eBay, Etsy, Alibaba, Aliexpress, etc? Software Development | |
how can i configure ip address, submask, getway, DNS1 and also DNS2 please help me i use this code but DNS not added what is the actual code for add all with DNS1 &2 Please help me Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click Button2_Click(sender, … Software Development vb.net visual-basic | |
I have pasted my cpp code below, my goal is removing the whitespace from my .txt file. Is someone able to provide suggestions and help me figure this out? #include <iostream> #include <sstream> using namespace std; string solve(string s) { string answer = "", temp; stringstream ss; ss << s; … Software Development c++ | |
Hello everyone. I am building a websocket client app that receives all the data and inserts it into a MongoDB database. The program runs, but after a while, some exceptions are rising. import websocket import _thread import time import json import asyncio import os import pwd import socket import traceback … Software Development python | |
**Introduction** You know that being effective is the key to success in any business domain. However, you may be wondering how to improve employee performance. In order to do this, itโs important to have tools at hand that will help you measure and track employee performance in real-time and act … | |
How can I write in C++ a code in which a user select multiple similar names from a list of names. | |
Hi, did anyone know how to send email using vb.net without username and password of user, for example it can detect current user crediantials of email(outlook). Most of the google example is using username and password. Please help | |
I have a project that no one can or wants to engage in. The data is in a database table. The code displays a menu, selects a target (url - http://.....), displays the record - so far so good....then I want to click the button and redirect to the url.... … Software Development mysql | |
I am trying to use wxPython (the version that ships with Fedora 11 - I'm not building it from source). I am seeing: [code] from wxPython.wx import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py", line 15, in <module> import _wx File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py", line 3, in <module> from _core import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_core.py", line 15, … Software Development python | |
For a given array of integers, reach to the end of the array from the 0th index with minimum number of moves. Moves possible at each index: Move from index i to index (i+1) Move from index i to index (i-1) Move from index i to index j, if a[i] … | |
Hello All, We have designed our system and integrate lots of opensource code into a single use system. All the inter connectivity are through APIs. Problem is, it's getting messy each day. We have been looking into Kong and Apigee. Anyone has experienced into situation like such? We have over … | |
I came across this [article](https://developer.ibm.com/articles/messaging-protocols/) from IBM. It states that a **protocol** describes the **format of the bytes** that are transferred over the wire. > A protocol is sometimes referred to as the wire protocol, and it describes the format of the bytes that are transferred over the wire, and … Software Development c http-protocol | |
Does someone know how to download a file in c++? A simple way. i just need it to download and save it to a specific directory. | |
hi im new to c# and am looking for a way to radomly shuffle an array and split it into 2 groups. i cant find a way to do this so far :( any steps in the right direction would be gratefully recieved many thanks z Software Development | |
I have an application that opens up Excel, reads some information, then closes Excel. I developed this application using Microsoft Office XP 2007. A few weeks ago, my company upgraded to Microsoft Office 2010. The applications still works fine, but I can not compile in VS 2008 anymore. I get … Software Development microsoft-office vb.net |
The End.