861 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for shebinkk

Hi everyone, I'm new to Python. My manager wants me to run a Python code and generate output for 40 set of values. The code works fine for sample data. But when I replace it with actual data, it doesn't give me any output. Below is the code. Sample data …

Software Development python
Member Avatar for Fifth Horseman
1
143
Member Avatar for om_138

Hi I am creating a employee management system with ms access and VB6. I need code for marking and view attendance. Can anyone help me ?

Software Development microsoft-access visual-basic
Member Avatar for SCBWV
1
140
Member Avatar for darwin.scribe

In both situation __del__ doesn't work. I understand that 'del obj' don't delete all references, but why/how/which references created? Example 1: class Exp: def __init__(self): self.b = 1 self.a = lambda :self.b def __del__(self): print('a') obj = Exp() obj = None del obj Example 2: class Exp: def __init__(self): self.b …

Software Development python
Member Avatar for Reverend Jim
0
213
Member Avatar for docdj

I have an MFC dialog app with several Text controls. All but controls get filled in with *UpdateData* at dialog initialization via calls like: *DDX_Control(pDX, IDC_MY_STATIC, MyText );* . Next, the user checkmarks a checkbox and the ON_ function for the checkbox gets control, running several functions. One of those …

Software Development c++ gui
Member Avatar for rproffitt
0
52
Member Avatar for bprosic

Hi everyone, here is code in React. I dont know how to re-render this array prototype map in React? import React, { useState, useEffect } from 'react'; const Help = () => { const initialObject = [ { fileName: 'Horizon.txt', fileSize: 450, }, { fileName: 'Something.png', fileSize: 2720, }, ], …

Software Development javascript
Member Avatar for bprosic
1
102
Member Avatar for geetajlo

Hi friends I want to refresh my combo box . i have even used the combobox.refresh() syntax but it does nothing! need help

Software Development vb.net
Member Avatar for jeric_2
0
7K
Member Avatar for Sky_

3. Using repetition control structure (do while loop), prepare a program that can receive employee id and working hour(s) for three (3) employees. The program able to: i. calculate Overtime Payment using formula Overtime = Working hours * 35.00 for each employee ii. calculate Total Overtime Payment for all employees …

Software Development c++
Member Avatar for dwellfox
0
150
Member Avatar for priya1717

1 I have an array of char but values is decimal representation of a character. example: char bytes[4]={50,48,49,51} how to convert this to get char array like this: char bytes1[4]={2,0,1,3} c

Software Development c c++
Member Avatar for toneewa
0
126
Member Avatar for savedlema

You may be familiar with apps such as Time Watcher. I'm looking forward to creating an application to be used on students' computers to control the amount of time one can be on a computer. When a student is given a computer, she will be allocated say 30 mins, a …

Software Development vb.net
Member Avatar for Dani
0
57
Member Avatar for oussama_1

VB.Net never meant for games! it's more recommended for software developement, but hey why not have some fun. If anyone out there is looking to create an Angry Birds Game-like or a Simulator for throwing an object, you've come to the right place, this code will give you great start/push …

Software Development gaming vb.net
Member Avatar for joy_731
1
3K
Member Avatar for Vawana

Write a program that gives and takes advice on program writing. The program starts by writing a piece of advice to the screen and asking the user to type in a different piece of advice. The program then ends. The next person to run the program receives the advice given …

Software Development c++
Member Avatar for Wadoster
0
103
Member Avatar for mmarkgilbert142

Hi all! If I want to get fast results on the project, what would be more efficient: getting only senior engineers, or considering those who are less senior but result-focused? Why?

Software Development java python
Member Avatar for compshooter
0
172
Member Avatar for shmoop

I have this https://imgur.com/a/SMqlcgF multiplexer and I have to make a program to get the truth table. How would I do this? I honeslty am so lost.

Software Development c++
Member Avatar for rproffitt
0
180
Member Avatar for tiffani

Hey, guys~~ I have some questions about CSP Is simple hill-climbing a complete algorithm for solving CSPs? and if a CSP is only with unary constraints, is it sure to be solved? Thank you^~^!

Software Development c++
Member Avatar for Dani
0
114
Member Avatar for vegaseat

Things don't have to be black and white all the time. Use a Windows API call to add some color to your text output.

Software Development c++
Member Avatar for Dani
2
73K
Member Avatar for nalb4242

Hello , I have been trying to connect to remote server using SSH using Microsoft visual studio but nothing is happening after i add all needed data in the cross platform logging I receive the below error connecting then disconnecting 11:33:35.6941763 [Info, Thread 1] liblinux.RemoteSystemBase: Connecting over SSH to XXX …

Software Development microsoft-access
1
86
Member Avatar for vbala2k5

Hi, i have problem with table conversion from xml to html using xslt. i converted rowspan and colspan in separate row(entry), but if both rowspan and colspan come in single row(entry, colspan and rowspan) is not converting. i have tried so many ways but i didn't get the exact output. …

Software Development xml
Member Avatar for asad_34
0
4K
Member Avatar for TimTheCoder

I have used Magick.NET to detect all the edges using Canny Edge Detection which basically converts an image to a binary version where the edges are in white and the rest of the image black However I have failed in using the library HoughLine method to detect rectangles or squares …

Software Development c#
Member Avatar for rproffitt
0
338
Member Avatar for Raviteja_1

Hello All I am want to run a command "Merge -i file1.txt -i file2.txt -o out.txt" using python script. Here Merge is a exe file located in different path and file1, file2 are input to the exe file and out is output file. Can anyone suggest me out to run …

Software Development python
Member Avatar for woooee
0
102
Member Avatar for Saboor880

Hi to All! I have a POS Software which I have developed in Java, NetBeans IDE. I am deploying this software on a variety of Windows Computers / Laptops for 5 years. I have used JFormattedTextFields for double data type in the whole Software. And I have set Format of …

Software Development java mathematics
Member Avatar for ะกั‚ะฐั_1
0
88
Member Avatar for ammusk354

I'm trying to create a neural network of two hidden layers on Java. The data would be separated into two sets, training set and testing set. Both sets has 75 set of 4 data each row, and each class has their desired output (target). In terms of calculation, it will …

Software Development python
1
68
Member Avatar for rproffitt

Over the years I've seen so many solutions to development but not one is a panacea. Example: I had a 28 day embedded project that would have blown its 28 day limit if there were any attempt to force DevOps onto the plan. This was 28 days from start to …

Software Development developer-tools
0
62
Member Avatar for rproffitt

From https://www.reddit.com/r/ProgrammerHumor/comments/wupbvb/python_runtime/ ![image_2022-08-22_115014356.png](https://static.daniweb.com/attachments/1/23876285d9d923cc038ee98e099d4a8f.png) As time passed it looked to me that Python evolved past a C framework.

Software Development c python
Member Avatar for Dani
3
411
Member Avatar for Destini_1

Wv4gJyLguPzuClVexggQO6r0uLUNI3mMtwXH8yG9wd)jSMjXNbSLrrxUsN39DwmtjRlthSS24axWyEZYFk2u7EJnp2tKyB2CASYri6)rui)9iJidseE6phmADVAJKeCmZZq)vB)ybdnT3Ji5kGafyYuazcv9zim33k

Software Development encryption
Member Avatar for hes8
0
114
Member Avatar for willianrc

Im trying to populate Listbox with Columns but I didn't get success. Below is my code. I populated Listbox with text file: on users.txt: 1|Jhon|street 3|12/03/1985 2|Peter|strt2|29/09/2009 3|Scoby|street 1|11/02/2001 Here is my code to populate , as you can see there's delimiter "|". Public Sub Pathway(way As Variant) 'SET DATABASE …

Software Development microsoft visual-basic
Member Avatar for SCBWV
3
1K
Member Avatar for Fian_1

AttributeError Traceback (most recent call last) <ipython-input-9-4152b890358f> in <module> 20 t = [] 21 ---> 22 for tweet in tweepy.Cursor(api.search,q=search_key,count=1000,lang="id",since="2022-11-10",until="2022-11-20").items(): 23 print(tweet.created_at,tweet.id,tweet.user.name,tweet.text) 24 c.append(tweet.created_at)

Software Development microsoft python
Member Avatar for Reverend Jim
0
189
Member Avatar for gil.nickson

hi, please help me how can i convert this C++ code to C source code ... please help ..... this is the URL http://cppforschool.com/project/super-market-billing.html i dont understand this though please help ... :(((((((

Software Development c++
Member Avatar for f200196
1
39K
Member Avatar for Fian_1

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
Member Avatar for Reverend Jim
1
206
Member Avatar for John Ramil

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 …

Software Development c++ microsoft
Member Avatar for Skillz_1
0
108
Member Avatar for Saboor880

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 …

Software Development java macos
Member Avatar for Skillz_1
0
63

The End.