15,190 Topics
![]() | |
I need to extract the domain for example: (http: //www.example.com/example-page, http ://test.com/test-page) from a list of websites in an excel sheet and modify that domain to give its url (example.com, test.com). I have got the code part figured put but i still need to get these commands to work on … | |
I've tried inurl:http but it takes forever to get even a bunch of sites right and I have to think of new keywords everytime to get the sites. Is there kind of a directory or a script i could use to filter the http from all the sites on the … | |
I'm having a problem with my python installation. The packages that came with the installation work just fine but when I try to use other installed packages I run into problems. For example, I installed a package `pymsgbox` using pip from an admin shell. When I run a sample script … | |
Hi, I have to monitor outlook and trigger one code when ever new mail comes. Please help me. | |
Have two CSV files containing client records and need to compare the two and then output to a third file those rows where there are differences to the values within the record (row) as well as output those records (rows) on the second file that are not on first file … | |
Can someone explain me how can i check if an answer is right from question in files with python. In my files there are questions with three answers and among them one is the right one and the others are wrong. Users have to click on button to answer. Please … | |
Dear members - I'm Vani Sharma and doing my graduation. Also, I'm learning Python and data science. | |
 hello i am currently working on a python program that remote controlls multiple computers at once, as if they were multiple screens of one computer. one of the features of this program, is that the server controlling all computers, builds a map from screens, and including its own - … | |
Hello guys, I need some help with a python program that i have to do for school. I don't know how to erase a button after using it. And how can i go to the next question after answering the first one. Please help me ASAP! | |
Hello, so im making an os in pydroid 3, but i cant make a clock, im trying to make a graphical os but i cant cause i need a clock, Any idea? And i edited someones code for username and password to work, but i had to delete raw_data or … | |
Your goal is to write a Python function that takes a file handle as input and returns the most common words in the text file | |
I have to write a python program that get a keyboad number and verfiy using the def function. Help n = int(input("Write a number") def countdown(n): if n >= 0: print('Blast off! Zero down') else: print(n) countup(n+1) countdown(3) | |
I have a bunch of variables as below.Now, I want to build a variable dynamically as below by iterating through for loop but surprisingly this won't work as .format can only be implemented for strings. Could anyone share your thoughts like how can this be implemented in Py? build_a="123" build_b="456" … | |
I am a fresher and want to learn Pandas (Python). A few professionals I talked to suggested I use the book "Learning Pandas" by Michael Heydt. Should I give it a try? Do you have any other suggestions for me? | |
If you press any key on your keyboard, this small Tkinter GUI program will tell you which key and what type of key has been pressed. Great for applications where a simple key stroke is required. | |
Hi all, I need to create a program on python that: At the start a 4 sided dice is thrown and a 12 sided dice is thrown to calculate two values for strength and skill the following method is used for each player: - Each attribute is originally set to … | |
The issue i am having using this text to speech is that it start play before a panel is open , how do i get it to play after a panel in wxpython is open import pyttsx3 # initialisation engine = pyttsx3.init() # testing engine.say("Welcome to 24-hour ATM service") engine.say("Thank … | |
| |
Hello people. Sorry for my English, I use google translator .. Please Can anyone convert this code to C # or vb.net? import sys VERSION = 0 SUBVERSION = 2 def usage(): print "[+] WPSpin %d.%d " % (VERSION, SUBVERSION) print "[*] Usage : python WPSpin.py 123456" sys.exit(0) def wps_pin_checksum(pin): … | |
I tried achieving using list index position but that's not the good way of coding, as we will never know which position is the column located. Honestly, I tried to come how to achieve in python in getting correct values for each column but in vain Need help in python … | |
**May I know how to correct the NameError: name 'xx' is not defined ?** import numpy as np import matplotlib.pyplot as plt from sklearn import svm, datasets # import some data to play with iris = datasets.load_iris() X = iris.data[:,[2,3]] y = iris.target def plotSVC(title): # create a mesh to … | |
Hiya, looking for some help on this bit of code: def save(x,y,z): user=x yourinventory=y score=z allinvent=[] allscore=[] with open("Inventory.txt","r+")as inventory: for line in inventory: allinvent.append(line.strip().split(',')) allinvent.append("\n") for line in allinvent: if (line[0]==yourinventory): allinvent.append(yourinventory) allinvent.pop(line[0:8]) print(allinvent) break inventory.append(allinvent) inventory.close I'm currently working on saving things like inventory, and I'm not sure … | |
Parsing Large Numbers Question Hi All, I am writing some simple code to raise a base value to a power then perform some operations on the output. I have included the code I am using now, below ( see end of this message ), also see immediately below what this … | |
Hi, I'm trying to infintley print random numbers. I have the code to print infintley, but not to print a random number (completely random, no pattern). Does anyone have the code to print a list of numbers completely at random? | |
I am trying to build a GUI app for graph plotting where graph can be shown as a slideshow so that the data can be clearly visualised. First I wish to plot a set of data then after a specific time interval next set of data and so on. I … | |
I have four ordinary differential equation written in mathmatica : Simplify[DSolve[{y1'[x] == -0.162y1[x], y2'[x]=-0.148 y2[x]+ 0.055y1[x],y3'[x]==-0.134 y3[x]+ 0.033y1[x]+ 0.039y2[x],y4'[x]==-0.125y4[x]+0.021 y1[x]+0.025y2[x]+ 0.043y3[x], y1[0] == 100,y2[0]==4.76,y3[0]==69.7,y4[0]==0}, {y1[x], y2[x],y3[x],y4[x]}, x]] I am trying to write them in python I have try the following : def n1(y,x): s1 = 0.162131 dydx = -s1 * … | |
I'm trying to create a platformer with tkinter, i've created the character and now i'm trying to create a dynamic background with a biomes system so when the player passes from a biome to another the background changes the image. from tkinter import * from PIL import Image, ImageTk from … | |
Hello, I don't know too many things of programming, I've barely started with some online courses, but am at the very beginning. This is what I need to do: 1. From a folder that contains multiple files I need to copy a particular file. 2. Paste that particular file in … | |
I am trying to implement Connect 4 game using Min-Max as utility to find best possible move.<br><br> The game is played on a 6x7 grid, with six rows and seven columns. . The two players take turns placing pieces on the board: the red player can only place red pieces, … |
The End.