14,952 Topics

Member Avatar for
Member Avatar for ppel123

Hello everyone, I am working on a project, which corrects user input (reads input stream from keyboard with keyboard module hook) based on some rules. I am trying to find the fastest way to delete and write the corrected word, after a user enters a wrong one. Currently I am …

Member Avatar for griswolf
0
382
Member Avatar for tony75

Hi Try to extract password from my chrome browser but I got this error below How can I solve this problem? Traceback (most recent call last): File "Chromer.py", line 13, in <module> password = win32crypt.CryptUnprotectData(website_data[2], None, None, None, 0)[1] pywintypes.error: (13, 'CryptProtectData', 'The data is invalid.')

Member Avatar for rproffitt
0
314
Member Avatar for Sunny81

I am trying to create a new function that will retrieve dates and claims for a desired year. I am stuck on the last bit of code. I need to use a return command at the end. I am thinking I need to append my list, but not sure. def …

Member Avatar for deepaksh
0
19
Member Avatar for Koos_1

Am still at school and am doing programming, and I choose these forum because it will be helpful for me in gaining the knowledge and experience on c++ and many other programming language.

Member Avatar for j.khurram
3
103
Member Avatar for davidmoffitt1

Following The New Boston on youtube, he is using is in an if statement and doesnt show any error, on mine I get a syntax warning and it asks if I meant ==, but still displays the output the way it should be.

Member Avatar for tinstaafl
1
292
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 NickLSC

Hi all, I am new to C++, I am studying a C++ code and would like to learn how to implement it in Python. I encountered the following: 1 unsigned short arr1[2]; 2 unsigned int * arr2 = (unsigned int *) arr1; I tried to write a C++ code to …

Member Avatar for tinstaafl
0
796
Member Avatar for Rolland_1

Hi, could you please let me know what should I learn first about programing? I mean, may be I need to learn HTML, C++, Java, read a specific book, I don't know where to start and hope you can show me the way, please!! I would really appreciate it

Member Avatar for sonalid1701
0
192
Member Avatar for ZZMike

This is Python 3.4.2 The documentation says that s2 = s1.strip('a') will strip out all the 'a' in s1. When I run it, only the leftmost character - and only if it is 'a' - is stripped. The default s2 = s1.strip() takes out all whitespace. PS: I understand that …

Member Avatar for tinstaafl
0
13K
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
178
Member Avatar for madDOGim

I solved a problem some day ago. In that problem you had to format an integer. I found it hard to solve. So here I am sharing my problem with you. Problem: Read an integer variable and print it in which the digits are separated into groups of three by …

Member Avatar for Koos_1
2
699
Member Avatar for Atharva_2

I have a list of tuples where each tuple within the list contains 3 elements. 1. Is the year in 4 digits i.e 2014 2. Month in integer i.e from 1-12 3. And another integer value which is the number of months needed to be subtracted. So if the date …

Member Avatar for Reverend Jim
0
115
Member Avatar for bekcip

I am tring to create an IP locator which can show any IP location and registered country in python but I can not if there anybody to help me I would be happy thanks.

Member Avatar for Dani
0
32
Member Avatar for nevin6969

In python how to write a program which takes a number of days from now - 100 days, and find in which month that future day is.

Member Avatar for amazingadmin
0
223
Member Avatar for tian_1
Member Avatar for rproffitt
0
90
Member Avatar for Gilbertsilva123

this is a small part of my code where i created the collision but the issue is that it still doesnt work i have used also the distance formula to figure out the collision still nothing showed up; please look at the screenshot and help!

Member Avatar for Reverend Jim
0
201
Member Avatar for pythonstudent28

Hello! I am creating a turtle code where I want to create multiple circles on a map. However, my turtle is currently coninuing to go around in a circle over and over again, and so the other circles cannot happen. Any help or advice will be greatly appreciated! Thanks! This …

Member Avatar for thinkingfield
0
267
Member Avatar for Gilbertsilva123

which code can i use to make enemy shoot at the player non stop and when the bullet catches the player the health decreases any kind of help i appreciate - pygame

Member Avatar for Gilbertsilva123
0
155
Member Avatar for pythonstudent28

Hi. I'm trying to write a program on Python that uses a turtle that shows a map and draws a line from one point to another after the user enters where they want to go from. Can anyone help me start this code? Thank you!

Member Avatar for Reverend Jim
0
85
Member Avatar for Kumarvarun0609

WAP to check student is first ,second or third . If number is greater than equal to 60->>first If number is greater than equal to 45->>second If number is greater than equal to 33->>third If other than that ->>fail

Member Avatar for hussainmujtaba
-3
243
Member Avatar for mr.matrix251

a) Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “

Member Avatar for rproffitt
0
120
Member Avatar for Vignesh_8

Hey!! I am facing issue when i try to tokenize a whole column that contains reviews of customer. my file is stored in readfile my column that i want to tokenize is 'Customer reviews' This is my python code: print("tokenization..\n") appling_tokenization= readfile.apply(lambda row: nltk.word_tokenize(row['Customer reviews']), axis=1) My error is: TypeError: …

Member Avatar for hussainmujtaba
0
98
Member Avatar for Lev_3

Hello people! :) I'm quite new in the programming world. I'm really interested in programming from the time I found that there's coming a game called Hytale, and **I would love to be able to make mods for it**. So basically I have a book that should introduce me to …

Member Avatar for hussainmujtaba
0
920
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
521
Member Avatar for ppel123

Hello everyone, I have a problem with my app when closing the gui-UI, that is developed in PyQt5. In my app I have 3 discrete threads and one of it using slot-signals for communicating with the gui. The problem I have is that when I close the gui, and the …

0
644
Member Avatar for Radroad

I want to make this code so I can pick exactly where to place my pieces. Right now you can only drop the pieces and it drops all the way to the bottom. What if I want it to be in the middle. Kind of like tic tac toe if …

Member Avatar for Radroad
0
283
Member Avatar for Radroad

General Description please please please help please code in python3 let me know if any extra information is needed You have been chosen to create a version of connect 4. In this version, there can be forbidden positions, or places that neither x nor o can play. However, connecting four …

Member Avatar for Radroad
0
462
Member Avatar for JamesCherrill

Hi Guys. I'm getting bored, and so I'm looking at Python for a new challenge. I hoped to be able to use my Java NetBeans IDE to avoid an IDE learning curve, but it seems that NetBeans support for Python died years ago. So, all you Python gurus... what do …

Member Avatar for Reverend Jim
2
1K
Member Avatar for littlepr

Guys, What is wrong with my compution here when "hrs" entered is 45? The end result expected si 498.75 but it keeps failing to compute second portion correctly (please see below and attached screenshot). hrs = input("Enter Hours:") h = float(hrs) OvrTimehrs = float(hrs) - float(40) HourlyRate = input("Enter Hourly …

Member Avatar for Reverend Jim
0
502
Member Avatar for TransKim

Help me find the solution to this task in C programming Write a function: int solution(int A[], int N); that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, …

Member Avatar for JamesCherrill
-1
138

The End.