15,181 Topics

Member Avatar for
Member Avatar for Leonardo_6

Could anyone please review my code https://github.com/LeoUpperThrower4/GeneticAlgorithm

Member Avatar for rproffitt
0
243
Member Avatar for Jatin_4

I am facing issue while appending fieldlist through append_entry in flask-wtf. I am able to add one row of fields from fieldlist but after adding first row, i am not able to add second row. No errors are shown. In first attempt a new row is added of field list …

0
182
Member Avatar for Syafiqur

Suppose I have a text file : > As a manager, he told FIFA TV he communicates his messages in a measured way. ā€œIā€™m not one of the lads,ā€ Southgate explained. How do I change the sentence inside the quote (") into indirect sentence? What method/algorithm do I need to …

Member Avatar for rproffitt
0
593
Member Avatar for deadmarshal

Hi, I've written this code which i send below. now i have a listview, and when i click each item in my listview, i want it's related word to be fetched from db and shown in my textview. now it fetches all the data :(. look at the picture, for …

Member Avatar for rproffitt
0
520
Member Avatar for gerald_9

Hi everyone I have this code that I am using from a book, it seems that it does not run correctly, I am new to tkinter and trying to understand how its lay out is supposed to work, is this code up-to-date with using pycharm? I have tried pycharm and …

0
247
Member Avatar for Otto_1

New to Python. Background from TRS basic thru several versions of basic and ending with Qbasic, some Perl and now trying Python. I get the following error and have no idea what is causing it. There would be 11 catagories and some catagories could have multiple entries for the period. …

Member Avatar for ryantroop
0
1K
Member Avatar for Asima_2

hi so im trying to do a code that will ask the user for 3 values,determine if those values make a triangle,find the angles if it does make a triangle ane draw the triangle if the values make one.im having trouble drawing the trangle.this is the code i have so …

Member Avatar for ddanbe
0
442
Member Avatar for Amaina

I have been cracking my head on this mater in the past couple of days. I am faced with a situaton where i need to write a MySQL equivalent of PHP code to loop through sql select results. The Php code looks like this $query = "SELECT pubid, author FROM …

Member Avatar for flashx4u
0
19K
Member Avatar for ALosh99

I want to shift my plot to the right by fixed value , I have npy file contain 7 columns, I plot the histogram for the column number 7 as below: plt.figure() plt.hist(x[7],bins=800,color='y',histtype='step',linewidth=2,stacked=True) plt.show() I am trying to shift my plot to the right with fix value but I could …

Member Avatar for ALosh99
0
1K
Member Avatar for Gustavo_7

I would like to retrieve a filtered data from a text file and send to excel. I have these lines in a text.txt file: I am Fred username is fred from USA cd I am Robert username is bob from USA cd I am John username is john from China …

Member Avatar for rproffitt
0
518
Member Avatar for Sergi_1

I am looking for an API that will be easy to use, also allows me view reports of sended SMS, that also has documentation and examples to how manage it.

Member Avatar for Tran_10
0
301
Member Avatar for Jack_9

Hello fellow python lovers of daniweb.com. This isn't as much a question as much as the fact that I want to see how different people would go about using python to inject an SQl database. I made a script were you can access the ip and run a command. NOTE:Obviously …

Member Avatar for phoenix079
0
8K
Member Avatar for Abdullahi_2

I have writen my codings, all that is remain for me is to convert to software. Please how do I convert it...

Member Avatar for JimmyD94
0
469
Member Avatar for shibunath

Fellow Python developers, Python has a sorted() or sort() function to implement ascending or descending order programs,but supposing if i want to develop a ascending order program that takes user input and ascends or descends them,how should I go about? For Example: Lets Say i want to convert this C …

Member Avatar for Zak_2
0
6K
Member Avatar for usman_14

Hey guyss, here are a big champs of programming I have seen in this web, I am stucking in this assignment of mine, from where should I start I am totally stucked, is anyone here who can help me for this programme........ Define a function drawCircle. This function should expect …

Member Avatar for Gribouillis
0
1K
Member Avatar for lllllIllIlllI

Hi i have been spending the last few days deciding on an IDE that would let me program in Java, C++ and python and notepad++ looked pretty good. The only issue is i cant work out how to make the program run once i have made it. I looked in …

Member Avatar for Kuldeep_8
1
3K
Member Avatar for Mystrious

The purpose of this question is to calculate the three cubic roots of a complex number. A complex number is of the form a + ib where i is āˆšāˆ’1. Attach the full qustion

Member Avatar for ddanbe
0
229
Member Avatar for Elizabeth_13

I am having trouble getting my button to work. What I am trying to do is when the button is pressed, it should call the function clickGame() The window is opening after I press the button but I get an error message: self.tk = master.tk AttributeError: 'Point' object has no …

Member Avatar for Gribouillis
0
770
Member Avatar for Mamatha_1

Hi All, I am a newbie programmer in python and I am trying to read multiple csv files from a folder, replace the delimeter for all the csv files and then output these files into a new folder with replaced delimiter. So far I am stuck at the beginning. Please …

Member Avatar for rproffitt
0
611
Member Avatar for Amani_2

I am having trouble coding an animation for a pendulum simulation. I can never seem to get any of the code right. I tried using pygame, but it didn't work even after I installed it into my computer! I just need to know where to start! Help please!!!

Member Avatar for rproffitt
0
224
Member Avatar for suhayb

i want to make simple cafe management system in Tkinter the buttons are automatically generating from a database so how i can get the names of the buttons and their price from a database and also want so insert this into a receipt(textbox) thanks def showbreakfast(): data1 = readbreakfast() for …

0
317
Member Avatar for davy_yg

How to install Keras, Phython framework on Windows? https://ankivil.com/installing-keras-theano-and-dependencies-on-windows-10/ C:\xampp\htdocs\python>cd "%USERPROFILE%\Anaconda3\Lib\site-packages" The system cannot find the path specified. What's missing? Is installing CUDA and Theano a prerequisite before installing Keras?

Member Avatar for rproffitt
0
175
Member Avatar for davy_yg

Hello, I am new to python. I am trying to run this python program using xampp. first.py print('Interest Calculator:') amount = float(input('Principal amount ?')) roi = float(input('Rate of Interest ?')) years = int(input('Duration (no. of years) ?')) total = (amount * pow(1 + (roi/100), years)) interest = total - amount …

Member Avatar for Reverend Jim
0
174
Member Avatar for Sajid_10

https://github.com/shivamshekhar/PyGalaxian Please update PyGalaxian file as i want the number of hits by the aeroplane into another file either text file or excel file or jupyter notebook and want to plot using plotly and plotlib library and show the analytics at what rate the hits are occuring after firing and …

Member Avatar for JamesCherrill
0
534
Member Avatar for PRASANNA_3

Hi I am a python bigginer, I have a scenario where I need to search and select a particular value from linux command "df -h". dumpe2fs 1.42.13.x5 (23-Mar-2017) Inode count: 786432000 [root@copper02 ~]# In this above output I need to store the inode count number in to a variable to …

Member Avatar for Reverend Jim
0
329
Member Avatar for davy_yg

Hello, Anyone knows anything about phython? Someone mention to me if you need anything about AI Phython would be the perfect language to program it. Is that true? Thanks in advance.

Member Avatar for alan.davies
0
342
Member Avatar for David_94

Hello, Daniweb -- I have a C++ library, for which I am trying to make a Python interface. I have come across a linking issue which I haven't been able to solve. The library has a series of header and source files, and I am looking for a way to …

Member Avatar for rproffitt
0
3K
Member Avatar for kullboys

Hello everyone How to fetch data from PostgreSQL to WXpyhon GUI to automaticaly open the next processe ? Thanks

Member Avatar for rproffitt
0
228
Member Avatar for fatima_7

hi how can change the size of image: from CSS for three pages using dreamweaver ? how can i (position and reposition something in the page)? i tried this tag, but nothing change: img.resiz{width:200px;height:1000px; what is missing ?? should i include the img link? and what will be the correct …

Member Avatar for Tarek_2
0
273
Member Avatar for random_1

Hi, is there a way to convert a file into a pcap file? i have a .raw file and i want to change it to a .pcap file. so far what i know is that .pcap has some sort of header or offset or something compared to other files. i …

Member Avatar for rproffitt
0
594

The End.