| |
thread by: nishank05 |
last post Sep 4 '18 by: nishank05
I want to integration CC Avenue payment gateway with Flask. Is there a ready made library for that or is there a way I can do it. Seems CC Avenue officially supports ASP, ASP.net JSP and PHP only.
Any help will be highly appreciated.
Best regards.
|
thread by: Sekouga |
last post Aug 18 '18 by: zmbd
In below entry I missed the quotation mark after name.txt. How to go back and put it.
>>> file = open('name.txt, mode='w')
It should be like below
>>> file = open('name.txt', mod='w')
Thanks
|
thread by: ub0001 |
last post Aug 17 '18 by: ub0001
Is there any library available in python so that i can add a digital signature in pdf document using certificate file in python (version 2.7)
I will use this in a django project
|
thread by: jhon123 |
last post Aug 17 '18 by: jhon123
I have nested list below as test_data which is my input also and expected_data is the formatted output my question now is how to get expected output from test_data.
###Input given
test_data = ,
,
]
###Expected Output --
|
thread by: azharuddin1 |
last post Aug 6 '18 by: zmbd
This is the results from python2.7.
>>> re.sub('.*?', '-', 'abc')
'-a-b-c-'
The results I thought should be as follows.
>>> re.sub('.*?', '-', 'abc')
'-------'
But it's not. Why?
|
thread by: mavecnirp |
last post Jul 24 '18 by: mavecnirp
I am currently working on a project and I have been stuck in exporting a table from the servicenow website using the code below, it is returning a URL redirection instead of the CSV.
url = "https://url.service-now.com/nav_to.do?" \
"uri=server_list.do?sysparm_query=active=false%26CSV"
response =...
|
thread by: xxxzeusxx |
last post Jul 22 '18 by: xxxzeusxx
Hey, Im new to python and trying to code a script which should enable/disable usb using winreg. Whats wrong in this code
code:
import winreg
def usbenordis(value):
try:
keyval=r"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor"
if not os.path.exists("keyval"):
key =...
|
| |
thread by: ChipsSlave |
last post Jul 21 '18 by: dwblas
Hello all,
A script should open an application with two buttons visible. When Hello button is pressed a new button is gridded into the row number 1 and Hello button to be deactivated. When this new button is pressed it should delete itself off the grid and reactivate hello button but it does not do it. Any ideas?
Please check the video to...
|
thread by: purnendu03 |
last post Jul 19 '18 by: purnendu03
I have a list of dictonary
I need a result like
How can I achieve this?
|
thread by: IvanH |
last post Jul 16 '18 by: Andrea1701
Hi,
I'm trying to use STS to access OSS as described here. My scenario is following:
1) Client react app calls FC Compute Function via API Gateway and submit some information
2) Function validate the information and if it is ok then function calls sts.assumeRole and specify permission to GET* for all resources in OSS using AccessKeyId and...
|
thread by: IvanH |
last post Jul 12 '18 by: dwblas
Hello, when I try the Full-Site CDN I get this message: Currently you can not add Full-site domain now. It'll be reopened soon. We apologize for any inconvenience caused during this time
When is it going to be available ¿?
|
thread by: kiderburm |
last post Jul 10 '18 by: kiderburm
i would like to know position of color
EX. i draw rectangle (10,10) to (256,256) green color
and i print(img) >>
but i need to know where position is
if i have the image some point is green but i don't know position
import cv2
import numpy as np
img = cv2.imread('BG-Black.jpg')
|
thread by: Rakibul |
last post Jul 9 '18 by: Rabbit
I am new at python...I write this code. This is a uri problem and problem no 1478.Here the uri problem link:https://www.urionlinejudge.com.br/judge/en/problems/view/1478
My code:
while(1):
N=int(input())
if(N==0):
break
mainlist=
for i in range(0,N):
sublist=
|
thread by: ZenWoR |
last post Jul 6 '18 by: ZenWoR
down vote
favorite
I was wondering about for some time should I show my (should I say) first Python project that has a little bit of usage, not that much, but it may be valuable for someone, you don't know.
My project is about scraping prices from certain product on eBay. It uses BeautifulSoup and Requests to take out prices of product, on...
|
thread by: bay2018 |
last post Jul 3 '18 by: bay2018
class UniqueNumbers:
@staticmethod
def find_unique_numbers(numbers):
return None
print(UniqueNumbers.find_unique_numbers()
|
| |
thread by: prkundan |
last post Jul 3 '18 by: prkundan
How to install Jython in NetBeans IDE? It is not appearing in Installation list.
|
thread by: ajay sahare |
last post Jul 2 '18 by: Rabbit
hello all,
Anyone help me to understand how machine learning are implemented in real world. like Google, Amazon etc how they gather user's data and what is the process (application) to store our data.
|
thread by: ariane92 |
last post Jun 29 '18 by: dwblas
Hi I have a large data file and I'm only interested in rows with specific x values of 4.125 as shown below. Now because the value of 4.125 relates to the stop position of the ion, the corresponding start position is also of interest to me and I want to keep this information in the array. How do I write a program which effectively finds the x stop...
|
thread by: nanduj |
last post Jun 26 '18 by: nanduj
can you explain me with an example to run perl script from python
|
thread by: aazzaa |
last post Jun 24 '18 by: aazzaa
i have a set of 400 scietific article in docx file formt. I need to clen them by extracting the introduction the methods and the discussion. but the problem is that those parts may contain some tables or figures and I am not in need for them
anyone can help me with a code
|
thread by: DilipHN |
last post Jun 21 '18 by: DilipHN
I want to write a python program to calculate the hydrogen bond auto-correlation function. Here is the description in the image format.
I want to write a code for the equation 1 and 3.
How can i proceed here..??
Any suggestions on this are highly appreciated.
Thank you.
|
thread by: mcdermottbobby |
last post Jun 20 '18 by: Rabbit
d = {'k1':]}]}
how would you grab the string 'hello' from this dictionary and why? Thanks!
|
thread by: mcdermottbobby |
last post Jun 19 '18 by: mcdermottbobby
list3 = ]
I know the solution to this is: list3='goodbye'
Why is this the solution? I don't understand why that is the answer and would appreciate an explanation, thank you!
|
| |
thread by: erika0193 |
last post Mar 2 '20 by: evanbung
Below is the pasted part of my code that is coming up with the error "SyntaxError: Expected Indented Block".
def findRain(allData, target):
'''Uses a binary search to locate rainfall amounts in mm
from the supplied list of dictionaries. target is a
date in the 'yearmonth' value format. The function
assumes that the list...
|
thread by: rayisalive |
last post Jul 1 '18 by: husoski
I have a file containing 10,000 words which I import as strings and store in a list. Now, I have another list of strings and have to delete the common words in both lists. When I try to run the program, it takes a lot of time. Please let me know if there's any other way to do it.
For now, I am using:
For item in list_1:
If item in...
|