874 Recommended Topics
Remove Filter | |
Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same place where the exe is stored for the c++ . int main() { Py_Initialize(); // Create some Python objects that … Software Development c++ python visual-studio | |
Hello everyone, I am writing a program that has a part where the user can type in notes, and I would like the program to insert the date and time into the beginning of the note. I have the time and date part figured out: [CODE] import datetime now = … Software Development python | |
(a) Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date of birth, gender, location and initial number of livestock (cattle) turned in. Include a constructor that initializes each field to appropriate default values. Also include methods to set and get … Software Development c c++ java python visual-basic | |
Hi every1 i have a form with a textboxid, buttonAdd, ButtonSave on it , when i click on the btnAdd it must show the id and when i click update it must really Save . I want to auto generate the id through codes ... can any1 help... I don't … Software Development vb.net | |
Consider the following implementation of the node and doubly linked-list: Extend the class doubly_linked_list by adding the following methods: *Largest method .This method should return the largest element in a doubly linked-list. *Delete method. This method should delete the first occurrence of an element (value) from a doubly linked-list. template … Software Development c++ | |
Hello! guys, I am developing a java game, "the rabbit, turtle, bird," I have a small problem, I do not know how to put attributes to the objects created, for example, a goal of 60 feet, the turtle walks " shift "of 4-8 meters, 6-12 rabbit, but has a 60% … | |
nlp = spacy.load("en_core_web_sm") Error found OSError Traceback (most recent call last) <ipython-input-3-8d092272a28e> in <module> ----> 1 nlp = spacy.load("en_core_web_sm") ~\anaconda3\lib\site-packages\spacy\__init__.py in load(name, disable, exclude, config) 45 RETURNS (Language): The loaded nlp object. 46 """ ---> 47 return util.load_model(name, disable=disable, exclude=exclude, config=config) 48 49 ~\anaconda3\lib\site-packages\spacy\util.py in load_model(name, vocab, disable, exclude, config) … Software Development python vb.net visual-basic xml | |
So far I'am using this code. The problem is it loads too slow when it is loading on my textbox, is there another way around it? I was just looking for suggestions or ideas. Thank you. Function qtyCheck() query = "SELECT SUM(prdInput) AS prdInput FROM ProdOutput WHERE HELPER ='" & … Software Development vb.net | |
import math import numpy as np import matplotlib.pyplot as plt print("y = a^x + b") jarda=0 while jarda<=0 or jarda==1: jarda=int(input("zadej a ")) def v() : while True: číslo=(input("zadej b ")) try : return int (číslo) except ValueError print("nebylo zadané číslo") barca=b() A = int (input("zadej počáteční hodnotu def.oboru ")) … Software Development python | |
Hi! I need help with my assignment. I need to convert this one to C language. I've already changed the cout to prinf, but somehow it doesn't run. Help please. #include <stdio.h> int main(){ int order,no_deals; cout<<"Grocery"<<endl; cout<<endl; cout<<"(1) Eggs 6 pesos only."<<endl; cout<<"(2) 1 kl Rice 60 pesos only."<<endl; … Software Development c c++ visual-basic | |
I have a variable called **arrayForStudents**. it has 5 columns you can see how should it be applied from line 51 to line 63 code block but I am getting trouble how should I add the value as simple as interting values in the database. I need help using System; … | |
I have a VB.net project that queries my online database directly. Now I want to use API instead of direct connection. Please I have never done such before and all materials I got online are not learning friendly and some that are friendly didn't have relation with database. And secondly, … | |
I am having trouble appending an arraylist to an existing textfile, it appends but in the process clears all of the existing data inside of the file. Please can you help :) many thanks in advance Scanner myScanner = new Scanner (System.in); ArrayList<Books> details = new ArrayList<Books>(); int ISBN; String … Software Development microsoft | |
I am trying to get my program to do a simple math problem of A*B+C*D given a set of test numbers. I have the code written out, but after I input numbers for A and B it goes into an infinite loop. My code is this: [CODE]ORG 100 Load A … Software Development assembly | |
Hello all! I am trying to complete a lab assignment for my computer systems class and we have to use the printf function to print changing register values (increment eax from 1 to 10, decrement ebx from 10 to 1). Here is my code: [CODE]; Purpose: To print data to … Software Development assembly | |
i am developing a visual studio solution that contains two projects. Each project has its own namespace : Project1 : namespace MainProject.Project1 Project2 : namespace MainProject.Project2 My problem is that i cannot access 2nd project's namespace in the 1st project and vice versa. I tried to add the namespace through … Software Development | |
Hi, Could somebody provide me with an example of how to display data (some text) in a combobox? Thanks Collin Software Development vb.net | |
Hello All, I am submitting a inventory program that I need some help with. I had to create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit. Then I needed to create a java … Software Development java | |
help!!!... i have homework to create a simple address book in Visual C++ it should Add, Delete, Modify, Display A Record using classes/class, file handling & structure... It would be a big favor doing it.. Software Development c++ | |
|Visual Studio C# Windows Form Application| I'm trying to load and save multiple comboboxes selections to a XML file or file to a specific location using diolog box to know where to save and load. Any help will be appreciated. | |
Hi, i wanted to see if someone can help me, im new on this so i dont understand very good, any way, im trying to make a pic that show de characters that recive by bluetooth, to do that im using UART and a LCD, if someone can help with … Software Development c | |
Hey guys, here's the question I'm asked. **a.** *Define an enumeration type, triangleType, that has the values **scalene, isosceles, euilateral, and noTriangle**.* **b.** *Write a function, triangleShape, that takes as parameters three numbers, each of which represents the length of a side of the triangle. The function should return the … Software Development c++ | |
Hi, I'm facing a problem: I've to make an undo/redo using Command's design pattern. I've succed to make one, but when I want to use my undo/redo btn in an other view, it gives me an NullPointerException. Does anyone can help me? Here's the code of the 2 view's First … Software Development java | |
I have two different files, fileA contains employee data (ID and townCode) while file B contains field office data (OfficeID, Town, TownCode, officeCapacity) and a town can contain more than one office. i want to distribute these employees to the offices in the town against their names evenly What I … Software Development asp.net mysql vb.net visual-basic | |
package student; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); StudentA stud1 = new StudentA(); System.out.print("Please Enter Student Name:"); stud1.Name = scan.next(); System.out.print("Please Enter Student ID:"); stud1.StudentID = scan.next(); System.out.print("Please Enter Course:"); stud1.Course = scan.next(); System.out.print("Please Enter Student Section:"); stud1.Section = … Software Development java | |
I have my resoruces stored in mysql DB: eg : > |IPaddress | Status| |10.x.x.x| yes| |10.1.x.x| yes| I am trying to get the available resource and after that will update DB with status No. > query = ("SELECT IPaddress from TABLE where status='yes'") cursor = mydb.cursor() cursor.execute(query) result=cursor.fetchall() query1 … | |
Do You Like To Play Gambling? What Casino Do You Prefer? Software Development asp.net |
The End.