Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Getting hacked off with spam
Post: RE: Getting hacked off with spam

Thank you for all the replies. All of which are useful and thoughtful. I think the problem for me is that I recieve an email of new posts (maybe others do as well) and therefore I seem to be spending...
Bass Board 9 6,198 Sep-21-2017, 12:03 PM
    Thread: Getting hacked off with spam
Post: Getting hacked off with spam

Hi, I appreciate that the world is not perfect, but over the last few weeks, the level of spam appears to have risen. Could the forum consider having posters first post moderated? or something simil...
Bass Board 9 6,198 Sep-20-2017, 02:33 PM
    Thread: Can't attacha ny files onto this forum
Post: RE: Can't attacha ny files onto this forum

Agreed - @sparkz_alot. My post overlapped with @snippsat (don't you just hate it when it does that!  **smile** Bass
Bass Board 9 5,539 Aug-31-2017, 01:37 PM
    Thread: Can't attacha ny files onto this forum
Post: RE: Can't attacha ny files onto this forum

The specific  link for attachments is Attachments However the forum rules state that a new user is not able to add an attachment until their third post - see Privileges or Permissions          Users...
Bass Board 9 5,539 Aug-31-2017, 01:15 PM
    Thread: '>' not supported between instances of 'int' and 'str'
Post: RE: '>' not supported between instances of 'int' a...

My fault - Larz60+ answer is the right one, please ignore my response. Hi, It looks as though you are trying to compare two values, where one is a number (int) and the other is text (str). I have h...
Bass General Coding Help 10 107,353 Aug-27-2017, 01:30 PM
    Thread: Querying a web database
Post: RE: Querying a web database

Hi, I too have spent many hours struggling with API's. You may conclude that there is no rhyme or reason to how they work...... (ok there probably is but...) If you look at the "header" for "r" then...
Bass General Coding Help 3 3,667 Aug-18-2017, 07:24 PM
    Thread: Send array of doubles to Python from C and back
Post: RE: Send array of doubles to Python from C and bac...

Hi, It looks like you are trying to call addVector() without passing the function a value. The errmsg is saying that it needs one value/argument and you are not sending it any. So if the function is...
Bass Data Science 8 8,675 Aug-17-2017, 12:33 PM
    Thread: OpenCV installation issue
Post: RE: OpenCV installation issue

Hi, Python can be case sensitive. So if you install a package/library as DUMMY then you will need to import it into your script as DUMMY i.e. the libraries can be case sensitive. If however the lib...
Bass Data Science 8 7,300 Aug-17-2017, 12:24 PM
    Thread: OpenCV installation issue
Post: RE: OpenCV installation issue

Hi, Have you tried installing it/using it  as OpenCV rather then opencv? Bass
Bass Data Science 8 7,300 Aug-17-2017, 12:05 PM
    Thread: Send array of doubles to Python from C and back
Post: RE: Send array of doubles to Python from C and bac...

Hi, Could you kindly put python tags around your code - This link should explain all the details PythonTags Hopefully someone can then help you with your query. Bass
Bass Data Science 8 8,675 Aug-17-2017, 11:22 AM
    Thread: I need help
Post: RE: I need help

HI, Yes, it is fairly straighforward. You could use the len function to calculate the number of characters in the word that has been inputted e.g. apple. x = len(inputted_word)Where x would be 5 in...
Bass General Coding Help 14 7,227 Aug-15-2017, 02:53 PM
    Thread: csv data not written into avro file
Post: RE: csv data not written into avro file

Edit - This now duplicates some of the points raised by snippsat Hi, Can you please add all the code that will enable us to try out your script. For example the code that imports the CSV module and ...
Bass General Coding Help 2 3,019 Aug-12-2017, 01:38 PM
    Thread: Filling in missing values
Post: RE: Filling in missing values

Hi melm0, You should be able to cut'n'paste your code, also please remember to add the python code tags. Hopefully someone will be able to help you. Good Luck Bass
Bass Data Science 4 5,266 Aug-08-2017, 08:46 PM
    Thread: Write method not working
Post: RE: Write method not working

Using Python 3.6 I changed the double quotes to single quotes and it works fine. Try that
Bass General Coding Help 8 6,453 Jul-21-2017, 08:54 PM
    Thread: remove apostrophes in list
Post: RE: remove apostrophes in list

I'm sure that you have tried a number of options. This may not give you the complete solution but what about, rebuilding the list along this idea: b_list = a_list[0]+"  "+a_list[1]+" "+a_list[2] et...
Bass General Coding Help 5 10,006 Jul-21-2017, 02:58 PM
    Thread: Sort only the odd numbers
Post: RE: Sort only the odd numbers

My thoughts. Once the odd numbers have been sorted. Scan the original array, search for even numbers, once you have an even number, calculate its position and then insert it into the new array in tha...
Bass General Coding Help 5 13,240 Jul-20-2017, 05:15 PM
    Thread: Tkinter's strange error
Post: RE: Tkinter's strange error

Hi, It looks as though, Tk may be, being called incorrectly (possibly due to incorrect paramaters). Could you look at line 40 and check to see if an additional parameter should be passed to indicat...
Bass GUI 7 11,720 Jul-19-2017, 04:57 PM
    Thread: whats the error in this code in python 3.0 as this is running 2.0 pyhon
Post: RE: whats the error in this code in python 3.0 as ...

Hi ekansh, I cannot see exactly what you are asking. If you are trying to run this script under Python 3.0 then it will fail on the print statement as 3.0 requires bracket () around the element that...
Bass Web Scraping & Web Development 7 5,170 Jul-17-2017, 05:51 PM
    Thread: Tkinter's strange error
Post: RE: Tkinter's strange error

Hi, Can you provide details of what you are doing with the string? i.e. the code the is being used to process this string. At the moment I cannot see exactly, what you are trying to achive. Thanks ...
Bass GUI 7 11,720 Jul-17-2017, 05:18 PM
    Thread: find cell value with matching regular expression of a row in excel file
Post: RE: find cell value with matching regular expressi...

Unless I've missed something, you would loop through the row in exactly the same manner, the difference being that when you access the new row (the one below) then you add a "+ 1" after the variable n...
Bass General Coding Help 4 30,891 Jul-05-2017, 12:48 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020