473,554 Members | 3,093 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
0
858
thread by: ajay sahare | last post Jun 11 '18 by: ajay sahare
hello, i am mechanical enginner student and learing python programming language,so i have one question which python library should i learn for mechanical engineer . i huge fan of python programming so where i can start please give me suggestion
0
1,515
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.
0
1,734
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
0
2,360
thread by: nanduj | last post Jun 26 '18 by: nanduj
can you explain me with an example to run perl script from python
0
1,607
thread by: prkundan | last post Jul 3 '18 by: prkundan
How to install Jython in NetBeans IDE? It is not appearing in Installation list.
0
1,431
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()
0
1,259
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...
0
1,268
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')
0
1,186
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?
0
4,396
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 =...
0
1,405
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 =...
0
1,783
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
0
1,439
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.
0
1,048
thread by: AdrianGr | last post Sep 7 '18 by: AdrianGr
Hi byte community I am working for a company and my task is to develop a web tool about energy storage technologies. The tool should: -allow the users to get information about a specific technology (parameters, applications, SWOT analysis,... so basically numbers and text, shown nicely (some of them in various plots) -allow the user to...
0
956
thread by: gkiranseo | last post Sep 25 '18 by: gkiranseo
I'm learning Python programming from the Mindmajix training and I just completed classes about lists, tuples, functions and methods. One of the projects following this lecture is to create a program which takes in a list as an input and outputs a corresponding string, as the following example showcases: Input: Output: bikes, cars, buses,...
0
943
thread by: darkapostle | last post Sep 28 '18 by: darkapostle
Hello, I am struggling with an assignment using python for data analysis. We are allowed to use pandas but I had a problem with showing the data using Pandas so i continued the code without Pandas. I am having problem with getting multiple things from the data( I have to get the year, northern latitude, and name of a hurricane) as well as...
0
941
thread by: Pugdude | last post Oct 1 '18 by: Pugdude
I need to make a music bot that create a playlist and I need to be walked tho how it works. Sorry im new to coding and I just want to play around with this
0
1,639
thread by: PySimpleGUI | last post Oct 6 '18 by: PySimpleGUI
Hi... I just joined so I'm still feeling my way around. Delete this post if it's not appropriate... want to play by the rules. Anyway, the PySimpleGUI framework has been gaining a good number of users. I'm trying to reach people that could benefit from being able to quickly and easily create a GUI... that can also be turned into an EXE file....
0
1,443
thread by: Tyra | last post Oct 9 '18 by: Tyra
Hi all, Can you help me to solve this. Following the step: 1. Copy file at folder A into folder B 2. Rename file at folder B 3. Repeat the step 1 & 2 using Python os module
0
1,138
thread by: jackbuck12 | last post Oct 15 '18 by: jackbuck12
Hi I am doing an assignment for m programming class but I can not figure out what to do after this... a = for i in range(len(a)) print (a)
0
1,016
thread by: jackbuck12 | last post Oct 15 '18 by: jackbuck12
If the list were to be how would I make a code to add them together
0
1,098
thread by: ajmmartinez | last post Oct 16 '18 by: ajmmartinez
Hi, I'm using pyhook to get mouse events. Right now I can get the windows name when I click on some windows with the mouse, but anyone knows if I click on an object (a file) to get the name ? Thanks a lot
0
1,167
thread by: pradeepkumarbe | last post Oct 18 '18 by: pradeepkumarbe
My Csv File looks like below Territory NoOfCustomer D00060 10 D00061 20 D00065 70 D00067 90 I have to create a Unique Id based on Number of NoOfCustomer like If NoOfCustomer <=50 then I have to create 10 different Unique ID for Territory D00060 and 10 different Unique ID for Territory D00061.
0
2,496
thread by: Mass17 | last post Oct 20 '18 by: Mass17
I have a python3 program that gives cycles for a given permutation. I want to know how to find a children out of it. This is what I have to create a cycles; def to_cycles(perm): pi = {i+1: perm for i in range(len(perm))} cycles = while pi: elem0 = next(iter(pi)) # arbitrary starting element this_elem = pi
0
1,133
thread by: topu | last post Oct 23 '18 by: topu
Write the number of days in months program so that the program prompts the user for the file name and reads the dates from the file. The dates in the file are written in the format dd.mm.yyyy. The program looks for the month in each line (hint: use split) and prints out the number of days in that month. Rewrite the function so that it does...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.