15,181 Topics
| |
I need a programming for following conditions in python... When the program is launched it should ask me for the number of words... Then as many words as input... then it has to make all the random possibility of those words without any space and provided it as an output... … | |
| |
hello, i just want to find difference between two dates interms of days by getting dates as a user input. i tried getting user input using raw_input but it shows some erroe message. can anyone tell me the right coding for this one.urgent please... | |
The text I have: > Amiloride-sensitive cation channel, ASIC3 (also called BNC1 or MDEG) which is an acid-sensitive (proton-gated) homo- or hetero-oligomeric cation (Na+ (high affinity), Ca2+, K+) channel. It associates with DRASIC and ASIC1. It mediates touch sensation, being a mechanosensor) (lead inhibited) (Wang et al., 2006). In pulmonary … | |
can you please help us how to apply numerology for any text document in python and say whether the given text file is optimistic or not depending on the numerology applied. | |
The PySide (PyQT) GUI toolkit can be used to play wave sound files. | |
hi. i'm trying to convert program from c++ to pyhton, but i don't have any experience with python. can someone help me? #include <stdio.h> #include <conio.h> main() { float uplata,i; do { printf("Unesite pocetnu uplatu:"); scanf("%f", &uplata); if(uplata>3000) { printf("Pocetna uplata ne smije biti veca od 3000 kuna."); } } … | |
Using Python 3.3.0 and this script: from ftplib import FTP_TLS ftps = FTP_TLS('xxx.xx.xxx.xx') ftps.sendcmd('USER myuname') ftps.sendcmd('PASS mypwd') ftps.prot_p() ftps.retrlines('LIST') ftps.quit() I get a connection failure due to timeout >>> ================================ RESTART ================================ >>> Traceback (most recent call last): File "C:\Python33\fixFTP.py", line 2, in <module> ftps = FTP_TLS('xxx.xx.xxx.xx') File "C:\Python33\lib\ftplib.py", line … | |
PySide's QWebView can load a given url and display the web page associated with it with just a few lines of code. | |
There is free tools to do the same, but I was curious to see what it takes to make one myself. For info see: [url]http://en.wikipedia.org/wiki/LC-3[/url] | |
I am not a big time developer but just a guy to likes to tinker with python. Most of the python scripts I write are for myself. And lately, I started reading up on virtualenv. So I get the wroking on various projects inside a virtualenv is a good thing. … | |
Help me please! Need c# code... import numpy from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt def zadachaOPrepyatstvii(h, f, fi, xi, sigma, epsilon=0.0000001): m = int(1/h) h2 = h * h u = numpy.zeros(shape=(m+1, m+1)) gamma = numpy.zeros(shape=(m+1, m+1)) prevnormr = … | |
Hi guys, I have question about python. I mean I need a litle help. How can I increase date from date given in file by start after midnight? File looks like: PROGRAMSKA SHEMA ZA PETAK, 13.12.2013. 06:00 ZMBT televoting 06:05 Madhubala, igrana serija, 138. epizoda, r. 06:50 Tajne, igrana serija, … | |
Hi Friends, (i) I'm very new to python.so i wanna know which version of python is suitable for me.I have [I][B]python 2[/B][/I] and [I][B]python 3[/B][/I] in my choices..which one is best for me??? (ii)Also give me the list of GUI toolkits for respective versions.. (iii)which version has the best library … | |
All I want to do is install Python on a Windows 8.1 box. The "EXTREMELY HELPFUL" note in the reademe says goto "PCbuild". Where is this wonderous file? Bueller? I searched from the very TOP of the Python directory, and as soon as the "C" was entered, I got a … | |
Shows you how to get a Python object's memory size. Notice that there can be a difference between Python versions. | |
I am looking to run a subprocess and not let the subprocess be seen. I have something like this: proc = subprocess.call(["some.exe", "arg1", "arg2", "argN"]) The needs to be ran in the background. I also tried something like this: info = subprocess.STARTUPINFO() info.dwFlags = 1 info.wShowWindow = 0 subprocess.Popen('some.exe arg1 … | |
Write a program that accepts a date in the form month/day/year and outputs whether or not the date is valid. For example 5/24/1962 is valid, but 9/31/2000 is not. (September has only 30 days.) | |
I am having big trouble with classes. I don’t think I really understand them and sourly not as clear as functions. I do know that they are an important part of programming so I appreciate all the help I can get to get things clearer. I am trying to rewrite … | |
I am a newbie to python so exude the not so well constructed code.. I have two text files. The first one (WordFile1.txt) is " John Mary Joe alice William ….." The second (SearchText.txt) is "JOHN EGGS,24,BEEF,36,BACON,56,HAM,66 ALICE TOMATOES,16,HAM,35,BEANS,35" ……." If my response number is 2 I will get BEEF … | |
If you decorate a function, then some of the information is lost during the debugging process. Python supplies another decorator @wraps to help out. A decorator for a decorator, very interesting. | |
Hi I would like my python script take screenshot of my desktop every 15 mints and saving in my home dir in pic folder.but I get error? import os import sys import time import ImageGrab environ=os.environ img = ImageGrab.grab() FILES_DIR = 'pic' SAVE_PATH = os.path.join(environ['HOMEDRIVE'], environ['HOMEPATH']) LOGFILE_NAME = 'test.png' LOGFILE_PATH … | |
I am an amateur python coder and i was wondering if it is possible to put a timer into my times table game and if possible where i could put it. Here's my code for my game help would be appreciated , thanks :) import random import time print ("Hello … | |
I nead too run a python program from another code. I have the main code wher you can chose what too do and if you chose 1 you will run a surten python program and then return and if you chose 2 you will run some other program and then … | |
Hello , As mentioned in the tittle , i haver created a python small programm , that use MySQLdb , and just want to know the steps to be able to use it in an Android environnement ? | |
Dear all, i have data coming in file named time.csv and i wanted to convert the file in format conv_file format . How could i do it python | |
Greetings, first, I'm totally new to python. What I'm attempting to do is rebuild a clipped off sound wave. As I've been poking around I've come across things like "cubic spline interpolation" (that sounds like what I need -- but really is way over my head) I've come across other … | |
Dear all I have downloaded matplot lib for python2.7.2 windows using[(http://matplotlib.org/downloads.html)][Click Here](http://www.) . As per example i tried coding i found pyplot is not highlighted.i have attached test.cv file for which graph has to be plotted import csv import matplotlib.pyplot as plt plt.figure() def main(): pass if __name__ == '__main__': … | |
# calc.py - a Python calculator from tkinter import * # the main class class Calc(): def __init__(self): self.total = 0 self.current = "" self.new_num = True self.op_pending = False self.op = "" self.eq = False def num_press(self, num): self.eq = False temp = text_box.get() temp2 = str(num) if self.new_num: … | |
**this is my main file:** ExcelAppl = win32com.client.Dispatch('Excel.Application') Workbook = ExcelAppl.Workbooks.Open('excel file path') Sheet = Workbook.Worksheets.Item(1) Sheet1 = Workbook.Worksheets.Item(2) **this is the Python gui:** from Tkinter import * from tkMessageBox import * from tkColorChooser import askcolor import tkFileDialog import MainLibrary root = Tk() root.title("Chrysler Test Framework") root.geometry("800x500") def callback(): file_path … |
The End.