473,554 Members | 2,077 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
6,932
thread by: Synco | last post Aug 14 '22 by: Synco
I purchased 7 coruses from Udemy to go deep in python,R and AI. Could someone help me to say where should i start, then pass and what should i take last and if i have to return one this courses for a refound by redundant information? please.I was in a bootcamp of web programming in python and i learned python but that was months ago. I want to...
0
5,520
thread by: autodev2022 | last post Aug 22 '22 by: autodev2022
during write web automation test case, to identify the ui element is boring work, need find one robust xpath, sometimes it is difficult, which xpath generate tool you are using?
0
943
thread by: KayQ | last post Sep 16 '22 by: KayQ
Use pip to install the Clicknium lib: pip install clicknium Use the following Python script: from time import sleep import math from clicknium import clicknium as cc def circle():
0
8,504
thread by: shantun007 | last post Oct 4 '22 by: shantun007
I am trying to calculate population genetic statistics with DendroPy and need help reading my data. I had a SNP .vcf file from 8 individuals of the same specie and the same population. I converted this file into a Phylip file to be able to read it into DendroPy. Now, I tried to read the data first usingdendropy.DnaCharacterMatrix.get, but...
0
7,158
thread by: DANILIN | last post Nov 25 '22 by: DANILIN
Knapsack 0-1 Python binary & rosettacode & WE Classic Knapsack problem is solved in many ways My newest program synthesizes all ciphers from 0 & 1 adding an extra register and 0 remain on left in cipher Number of comparisons decreases from N! to 2^N for example N=10 & N!=3628800 >> 2^N=1024
0
5,043
thread by: ibrahim90000 | last post Nov 17 '22 by: ibrahim90000
Hello Friends, I have this python code i created with python shelve but it keeps giving me errors all of the time. Here is the code: import httplib2 import shelve url = input("Enter the target's Url: ") url_1 = url.replace("http://", "") url_2 = url_1.replace("/", "")
0
9,145
thread by: phantom2000 | last post Dec 12 '22 by: phantom2000
I am using the following code to plot a graph. import pandas as pd import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import folium from folium import plugins crime_data = pd.read_csv('~/Desktop/Assignments/Python/crime_data_sw_police_2021.csv')
0
1,973
thread by: Bhuvaneshwari M | last post Dec 26 '22 by: Bhuvaneshwari M
<table id="mytable" class="styled-table"> <thead> <tr> <th>Patientid</th> <th>Name</th> <th>Path</th> <th>Category</th> <th>Action</th> </tr> </thead>
0
2,369
thread by: decoratorWrap | last post Dec 27 '22 by: decoratorWrap
can anybody help me out of a serious problem i am facing, i have tried a lot of google search, but all in vain. open is a built in function, written in c language for cpython implementation. i can step into, step through only python codes, is there any debugger/mechanism which can step into built in open function. i mean can i step into c code of...
0
405
thread by: CMLab | last post Mar 15 '23 by: CMLab
https://github.com/libAudioFlux/audioFlux AudioFlux is a library for audio and music analysis and feature extraction, which supports dozens of time-frequency analysis and transformation methods, as well as hundreds of corresponding time-domain and frequency-domain feature combinations, which can be provided to the deep learning network for...
0
1,149
thread by: CMLab | last post Mar 15 '23 by: CMLab
https://github.com/libAudioFlux/audioFlux AudioFlux is a library for audio and music analysis and feature extraction, which supports dozens of time-frequency analysis and transformation methods, as well as hundreds of corresponding time-domain and frequency-domain feature combinations, which can be provided to the deep learning network for...
0
1,209
thread by: shebinkk | last post Apr 5 '23 by: shebinkk
Hi everyone, I'm new to Python. My manager wants me to run a Python code and generate output for 40 set of values. The code works fine for sample data. But when I replace it with actual data, it doesn't give me any output. Below is the code. Sample data is given in the code as data = . One set of actual data for which I would like to...
0
6,235
thread by: ufm123 | last post May 1 '23 by: ufm123
How to plot text in color? This option of Python is missing in matplotlibcpp within Visual Studio -> works only in b/w ! Who has a solution to solve the problem? UFM
0
11,202
thread by: cosmere | last post Sep 5 '23 by: cosmere
Hello I'm trying to create a basic game in python using OOP style programming. The problem is that I'm not sure how to link my files. I currently have main.py, a game.py and a logic.py. I would like to be able to run everything from my main.py through the start_game method. However if I run the code below I get the following error: TypeError:...
0
13,747
BarryA
thread by: BarryA | last post Jul 25 '23 by: BarryA
Hello everyone, I'm hoping you can help me with a difficulty I'm having with my Sentiment Analysis project. I've been attempting to apply a simple sentiment analysis model to a dataset of movie reviews, but I'm getting some surprising results. Here's the pertinent section of my code: import pandas as pd from sklearn.model_selection import...
0
4,032
thread by: raphael ambrosi | last post Aug 4 '23 by: raphael ambrosi
Hi I am trying to write a test grpc client and service in python. When I use an insecure channel, everything works stably, but if I try to establish a tls connection, an error occurs. To write code and create a chain of certificates, I used this guide https://github.com/joekottke/python-grpc-ssl.How can I make this example work? grpcio version :...
0
6,878
thread by: Rina0 | last post Sep 11 '23 by: Rina0
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in Java. Can anyone help me translate the Java code into Python? Here is the Java code from the blog post: java public static int...
0
81
thread by: AndryRe | last post 5 Days Ago by: AndryRe
Hello. I'm facing a problem with the Tk library. I teach Python programming to children. We are studying turtle graphics, which uses Tkinter resources. I noticed that in python 3.12 the turtle paints self-intersecting polygons using the odd-even algorithm. I previously taught python 3.9 to 3.11. These versions used a non-zero filling algorithm...

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.