Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How we can Fraud Prevention Platforms for Business
Post: How we can Fraud Prevention Platforms for Business

Expertise in Fraud Prevention PlatformsDear all I need some suggestions or platforms that help me! How can we secure or make online detection about the market for digital fraud prevention platforms fo...
Anldra12 News and Discussions 0 852 Jan-18-2023, 03:41 PM
    Thread: TypeError: float() argument must be a string or a number, not 'list'
Post: TypeError: float() argument must be a string or a ...

I am working on project Shamir secret sharing scheme get the error TypeError: float() argument must be a string or a number, not 'list' ef generateK(pShares, x_subi, Subset, q): y_subset = [] ...
Anldra12 General Coding Help 2 4,868 Jul-01-2022, 07:54 AM
    Thread: hypothesis 6.46.2 requires python3.7 or later
Post: RE: hypothesis 6.46.2 requires python3.7 or later

@DeaD_EyE and @Larz60+ sure thanks you for your time and suggestion.
Anldra12 General Coding Help 6 1,625 Jun-22-2022, 11:05 AM
    Thread: hypothesis 6.46.2 requires python3.7 or later
Post: RE: hypothesis 6.46.2 requires python3.7 or later

I am using Ubuntu 18 and python 3.6 but if I change it new python version then the problem is with charm and PBC and PyPBC need to install for the new version and other problems are charm-based implem...
Anldra12 General Coding Help 6 1,625 Jun-22-2022, 09:09 AM
    Thread: hypothesis 6.46.2 requires python3.7 or later
Post: RE: hypothesis 6.46.2 requires python3.7 or later

for the new version, of python I know it works I know how to solve it in python3.6
Anldra12 General Coding Help 6 1,625 Jun-22-2022, 06:48 AM
    Thread: hypothesis 6.46.2 requires python3.7 or later
Post: hypothesis 6.46.2 requires python3.7 or later

I run the code using charm crypto for a project, python3.6 and Ununtu18 which shows me an error indicating a hypothesis and exception error. hypothesis 6.46.2 requires python3.7 or later The hypothes...
Anldra12 General Coding Help 6 1,625 Jun-21-2022, 05:56 PM
    Thread: error 1102 (42000) incorrect database name 's'
Post: RE: error 1102 (42000) incorrect database name 's'

i have solve the problem by using int char and varchar for given table thanks you
Anldra12 General Coding Help 4 1,706 Jun-08-2022, 09:00 AM
    Thread: error 1102 (42000) incorrect database name 's'
Post: RE: error 1102 (42000) incorrect database name 's'

Error:ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"S.NO-ID' char(7), primary key, Patient...
Anldra12 General Coding Help 4 1,706 Jun-08-2022, 08:20 AM
    Thread: error 1102 (42000) incorrect database name 's'
Post: RE: error 1102 (42000) incorrect database name 's'

Yes S.NO.ID is a serial number ID number and if change it quota then ('S.NO.ID'.......)); it run without error but the table hasn't create
Anldra12 General Coding Help 4 1,706 Jun-08-2022, 08:16 AM
    Thread: error 1102 (42000) incorrect database name 's'
Post: error 1102 (42000) incorrect database name 's'

I create a table using pyMysql in python from a terminal using Ubuntu I receive an error Error:error 1102 (42000) incorrect database name 's'Here the screenshot has been shared for both create table...
Anldra12 General Coding Help 4 1,706 Jun-07-2022, 07:19 PM
    Thread: NameError: name 'hash_value_x_t' is not defined
Post: RE: NameError: name 'hash_value_x_t' is not define...

Yes, you are right but c1 and c2 are two variables in code for which we basically apply hash_value_x_t for mapping to some stuff in other codes.
Anldra12 General Coding Help 5 1,915 May-13-2022, 03:25 PM
    Thread: NameError: name 'hash_value_x_t' is not defined
Post: RE: NameError: name 'hash_value_x_t' is not define...

Yeah, you are right the actual code I found from GitHub gives me an error UnboundLocalError: local variable 'hash_value_x_t' referenced before assignment without global setup inside a function so I ma...
Anldra12 General Coding Help 5 1,915 May-06-2022, 02:17 AM
    Thread: NameError: name 'hash_value_x_t' is not defined
Post: NameError: name 'hash_value_x_t' is not defined

Why happen the name hash_value_x_t not define def setup(): global hash_value_x_t """ Generates public key and master secret key. :return: """ if debug: print('\nSetup...
Anldra12 General Coding Help 5 1,915 May-05-2022, 12:40 AM
    Thread: IndexError: list index out of range
Post: RE: IndexError: list index out of range

@ bowlofred Yeah I got the error is to correct for j in range(0, t):
Anldra12 General Coding Help 2 1,442 May-03-2022, 01:39 PM
    Thread: IndexError: list index out of range
Post: IndexError: list index out of range

A common error but i don't know the reason why list index out of range def runScheme(t_str, n_str, k, q, Field): x_subi = [0] a_subj = [0] pShares = [0] pShares_regex = [0] t = i...
Anldra12 General Coding Help 2 1,442 May-03-2022, 01:32 AM
    Thread: make: *** [Makefile:29: all] Segmentation fault
Post: RE: make: *** [Makefile:29: all] Segmentation faul...

@Axel_Erfurt it give permission deined error without use sudo make or sudo ./configure.sh
Anldra12 General Coding Help 2 1,881 May-01-2022, 06:17 PM
    Thread: make: *** [Makefile:29: all] Segmentation fault
Post: make: *** [Makefile:29: all] Segmentation fault

By Installing Charm sudo make rturn an error Error:/usr/local/bin/python3 setup.py build make: *** [Makefile:29: all] Segmentation fault(env55) ali@ubuntu:/usr/local/lib/python3.7/charm-dev$ su...
Anldra12 General Coding Help 2 1,881 Apr-29-2022, 01:00 AM
    Thread: ImportError: /home/ali/Documents/test/charm/core/crypto/AES.cpython-39-x86_64-linux-g
Post: ImportError: /home/ali/Documents/test/charm/core/c...

I am working with charm crypto using python 3.7.1 and I have created a small database as shown in the codes as I run the code getting this error What is the problem the charm is not being successfully...
Anldra12 General Coding Help 0 1,231 Apr-28-2022, 07:13 AM
    Thread: AttributeError: 'list' object has no attribute 'upper'
Post: RE: AttributeError: 'list' object has no attribute...

@deanhystad yes right I got your point
Anldra12 General Coding Help 4 4,881 Apr-27-2022, 09:27 AM
    Thread: AttributeError: 'list' object has no attribute 'upper'
Post: RE: AttributeError: 'list' object has no attribute...

@ Axel_Erfurt before modifying the code running after I modify the code give an error but the keywords 'upper is already in the code.
Anldra12 General Coding Help 4 4,881 Apr-26-2022, 07:23 PM

User Panel Messages

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