1,283 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for SEO_935

AI-powered code reviews are bringing about a revolution in the way developers collaborate, enabling more efficient, accurate, and thorough evaluations of code prior to its integration into the central project repository. This transformation is made possible by leveraging machine learning and artificial intelligence to automate and enhance different facets of …

0
33
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 …

1
66
Member Avatar for Al_628

I have the following dataframe: d_test = { 'name' : ['South Beach', 'Dog', 'Bird', 'Ant', 'Big Dog', 'Beach', 'Dear', 'Cat', 'Fish', 'Dry Fish'], 'cluster_number' : [1, 2, 3, 3, 2, 1, 4, 2, 2, 2] } df_test = pd.DataFrame(d_test) I want to identify similar names in `name` column if those …

0
53
Member Avatar for nickfuria

As an example: Merchandise Exporting Company: Input("Enter Company Name:") Input ("The Merchandise is Valued at a total of:") Input ("Transportation Expenses have been a Total of:") Input ("In the Customs we pay a Tax for a total of:") Print (80000-6560*8/100) Thanks.

0
13
Member Avatar for razstec

i need to get all attachments from a jira issue. done this so far from jira import JIRA issues = jira.search_issues(search_query, start, size) for issue in issues: con_tot += 1 comentaut = "" comentdate = "" comentmsg = "" lst_img=[] for x in jira.comments(issue.key): comentdate = x.created comentmsg = x.body …

0
97
Member Avatar for Reverend Jim

I discovered, after upgrading to Python 3.10, that wxPython no longer worked. Fortunately, a kind soul at wxpython.org suggested I try installing a snapshot build of wxpython via the command pip install -U --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython So far my existing wxPython scripts run just fine. If you are wondering …

4
2K
Member Avatar for razstec

Im very new to flask and im trying to convert a python tkinter gui app to web. As you can understand i have all the functions made so it would be great if a could call them and pass variables with a single click of a button. for example: get_sub_menu …

0
55
Member Avatar for ahmed_101

I work on `sql server 2017` I run script depend on `python language v 3.10` . I need to export data to excel fileStudentExport.xlsx already exist, and keep header without change after export. header of excel file StudentExport.xlsx before export data to it as below `StudentId,StudentName` after run script query …

0
34
Member Avatar for rexworth123

I’m trying to create a change machine bored and have no programming experience. If anybody has any suggestions I am open to paying someone to help me with this project. I have some logic controlled hoppers and pulse validator‘s 50 MS on 50 MS off. I just need it to …

0
35
Member Avatar for michellepermsm

I can't get the Test code because I have installed the modules with the pip command but when I run the playtest-m connection command I get the error tests\conftest.py:2: in from mflix.factory import create_app mflix\factory.py:6: in from flask_bcrypt import Bcrypt E ModuleNotFoundError: No module named ‘flask_bcrypt’t’

-1
55
Member Avatar for Aleks_Retr0

Hello Guys! I'm new in python and started creating this code without any experience and of course I can't know a lot about coding and I will do a lot of stupid mistakes, and this case is not exception as well. I tried to assign option menu to my list, …

0
278
Member Avatar for myspaceissecret

I am trying to add two two `functions` in one input tag. BUT failed many times. **What i am trying to do ?** There are two functions in different `input` tags in my HTML template. One for `add tag` by `,` . AND second for `autocomplete`. I am trying to …

0
38
Member Avatar for Alien_1

In this pattern, n represents the dimensions of the shape pieces and k their number of repetitions. For example, if **n** input is 3 and **k** input is 5, the following figure will be the output of the program. ![Screenshot_(631).png](https://static.daniweb.com/attachments/4/d6ce9d095cf0984a75b33841cd98f248.png)

0
55
Member Avatar for Amelie_3

Hi guys, I have this assignment and I have to write a program to translate file from Piglatin to english without using the split function. My code only works for a word and I can't figure out how to do it for a sentence without the split function. Thanks in …

0
16
Member Avatar for jsaideekshitha

The datetime module provides date and time objects that are similar to the Date and Time objects, but they provide a rich set of methods and operators. Read the documentation at http: // docs. python. org/ 2/ library/ datetime. html 1. Use the datetime module to write a program that …

0
57
Member Avatar for Allison_5

import random money = 100 Ask user if they want to play or "QUIT" (.upper()) while game != "QUIT": 2 dice generate random numbers 1-6 on each (generate random numbers inside while loop) Every roll cost $3 Win $5 if total is 7 Win $10 for snake eyes Else display …

0
59
Member Avatar for HelpMeProgram!

I need help with my coding and I need to know how to configure my text for my button, Here is my code so far: class EyeSprite(Sprite): def __init__(self, game): Sprite.__init__(self, game) self.images = [ PhotoImage(file="C:\\Users\\John Magana\\Desktop\\Python Projects\\clicker game folder\\eye1.png") ] self.current_image = 0 self.current_image_add = 1 self.last_time = time.time() …

0
47
Member Avatar for Robert_114

Python 3 programing, Plurality voting. Help Please!!! I need the code for this type of voting method in python 3. I attached the csv file, also the name of the csv file is heroes.csv. https://drive.google.com/file/d/1ObV7L9FVM-Bdek26YTzS8IzHKQsZx-rT/view?usp=sharing Plurality voting This is the conventional one person, one vote method we use today in …

0
36
Member Avatar for littleme2202
Member Avatar for srednausab

want to sent an AuthnRequest from my python-based SP (I;m using python 2.7) that I'm developing to my simpleSAMLphp installation (it's an IDP). I'm using the "requests" module to do a get like this: response = requests.get(url, verify='/home/me/my.crt') where the URL is: https://bingo.bas.com/simplesaml/module.php/core/authenticate.php?as=example-sql/?SAMLRequest=' + saml_request_base64 and the saml_request is (but …

0
21
Member Avatar for Lonx

Good day y'all, Im an intermediate Python dev and I've just finished building my first major Python project with UI. I tinkered a lot with tKinter (pun almost unintended) and even tried PyQT5. Both of these are time consuming to work with and tKinter's GUI looks like it shouldve been …

0
49
Member Avatar for sasindu

Here is what i get when compiling py to exe using cx_Freeze... I used Admin cmd too... but it keep give me this error.. how can I make it right...please help me with this. C:\Windows\system32>"C:\\Program Files (x86)\\Python38-32\\python.exe" "E:\\New folder\\Python Player\\Setup.py" build running build running build_exe pygame 1.9.6 Hello from the …

0
121
Member Avatar for Dagw300805

I have made a html page and I need to use python to see the inputs. Any ideas??

0
20
Member Avatar for sasindu

After minimize the window disappear from taskbar and i can't set that again as it's looping...Is there any other way to minimize or fix that. watch inline code examples. from tkinter import * from PIL import Image, ImageTk import time from ctypes import windll GWL_EXSTYLE = -20 WS_EX_APPWINDOW = 0x00040000 …

0
491
Member Avatar for sasindu

> I have already created functions to handle that. But it's shacking when i try to move( After add more widgets). Can somebody help me with that. from tkinter import * from PIL import Image, ImageTk import time class modtk(Tk): toptitlebar = None maincanvaswindow = None resizeon = False dragging …

0
649
Member Avatar for Ian_7

Hi all, Have my below program: from tkinter import * from tkinter import ttk from tkinter import messagebox class Application(object): def __init__(self, master): self.master = master qPlacement = IntVar() self.cc = ttk.Combobox(self.master, textvariable=qPlacement, width = 5).place(x = 5, y = 30) Button(self.master, text = 'Click Me', command = self.popCombo).place(x = …

0
82
Member Avatar for Jacob_19

Dear software developers, We are researchers aiming to understand developers' knowledge needs and program comprehension. Our intention is to support practitioners in selecting tools that can facilitate developers' tasks. Moreover, we hope that our research results in the development of new tools that are customized to the actual needs of …

1
42
Member Avatar for AJAYSURYA

when i run the program i am able to delete the things in tree view . but in list it is not getting deleted. the program i have shown down is cart of my program . hence when i delete and open again it is showing my deleted row pls …

0
20
Member Avatar for sahilmohile15

I have been trying to solve this error for almost 2 days have tried various posts from multiple places like github, stack overflow, and even daniweb. None have helped so far. So expecting atleast explaination for issue if you don't have answer. So here how I am creating database in …

0
175
Member Avatar for Radroad

I made a 3x3 connect 4 board game now I want to expand it so Its an actual connect 4 game and not tic tac toe. I want to make the board 5x7 please help from random import randint def initialiseBoard(): print('Following is the board and the respective positions.\nEnter the …

1
517

The End.