Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Unable to request image from FORM Data
Post: Unable to request image from FORM Data

Hello, I am trying to capture an image from WebCam and show JSON containing image string and UserID on the next page when the user clicks the Upload button. Currently, the snap function is taking th...
usman General Coding Help 0 995 Aug-18-2022, 06:23 PM
    Thread: Escape Single quotation between each content tag
Post: RE: Escape Single quotation between each content t...

(May-01-2021, 09:35 PM)menator01 Wrote: escape with \ or use double quotes. print('This is Tom\'s car') #or print("This is Tom's car")Output:This is Tom's car This is Tom's car Thank you. Is there a...
usman General Coding Help 3 2,809 May-02-2021, 08:28 AM
    Thread: Escape Single quotation between each content tag
Post: Escape Single quotation between each content tag

Hello All, I am trying to escape a Quotation between content tag of this string "[[('name', 'productname_0'), ('type', 'html'),('content', 'O'Cornor')],[('name', 'productname_1'), ('type', 'html'),...
usman General Coding Help 3 2,809 May-01-2021, 06:44 PM
    Thread: Passing List of Objects in Command Line Python
Post: RE: Passing List of Objects in Command Line Python

Thanks for the reply, What should I do for multiple JSON objects for productname_1,product_name2?
usman General Coding Help 7 3,189 Sep-27-2020, 01:19 PM
    Thread: Passing List of Objects in Command Line Python
Post: RE: Passing List of Objects in Command Line Python

I have a added a Single Quote but it also did not work. I am using Windows
usman General Coding Help 7 3,189 Sep-27-2020, 07:25 AM
    Thread: Passing List of Objects in Command Line Python
Post: Passing List of Objects in Command Line Python

I am trying to pass a argument to command line for running a python program which takes list of Field Objects and send an email. The program is running fine when the list of objects is already set in ...
usman General Coding Help 7 3,189 Sep-27-2020, 06:25 AM
    Thread: Transform Facebook Graph API insights JSON to pandas dataframe
Post: Transform Facebook Graph API insights JSON to pand...

I am trying to read my Page INSIGHTS from Facebook graph API and then convert into pandas dataframe but unable to do so. I used json_normalize function but i did not help me Here is my JSON [{'name'...
usman Data Science 0 1,971 Mar-03-2020, 05:14 AM
    Thread: AttributeError: 'dict' object has no attribute 'is_active' (PyMongo And Flask)
Post: AttributeError: 'dict' object has no attribute 'is...

@app.route("/register", methods=['GET', 'POST']) def register(): form = RegistrationForm() if form.validate_on_submit(): users = mongo.db.users hash_password=bcrypt.generate_pa...
usman Web Scraping & Web Development 0 4,971 Nov-20-2018, 09:50 PM
    Thread: Take use input in sets and Dictionaries
Post: RE: Take use input in sets and Dictionaries

(Nov-18-2018, 12:30 PM)stranac Wrote: In that case, we'll need to see some effort from you. What did you try to get the results you want and what problem are you facing? I have tried to get input fr...
usman Homework 4 3,160 Nov-18-2018, 01:54 PM
    Thread: Take use input in sets and Dictionaries
Post: RE: Take use input in sets and Dictionaries

(Nov-18-2018, 09:36 AM)Larz60+ Wrote: Is this a paying job? No this is my school assignment
usman Homework 4 3,160 Nov-18-2018, 12:21 PM
    Thread: Take use input in sets and Dictionaries
Post: Take use input in sets and Dictionaries

class DFA: current_state = None; def __init__(self, states, alphabet, transition_function, start_state, accept_states): self.states = states; self.alphabet = alphabet; ...
usman Homework 4 3,160 Nov-18-2018, 09:01 AM
    Thread: SCIKItlearn -Naive Bayes Accuracy (Weather Data)
Post: SCIKItlearn -Naive Bayes Accuracy (Weather Data)

import numpy as np import pandas as pd from sklearn.naive_bayes import GaussianNB from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import train_test_split from sklearn....
usman Code sharing 0 3,312 Nov-07-2018, 05:25 PM
    Thread: Tabpy Usage with Tableau (Security Considerations)
Post: Tabpy Usage with Tableau (Security Considerations)

Is usage of tabpy for tableau is harmful for Servers?I want to know is there any security for servers if we use Tabpy API for Tableau ?I want to know is there any security for servers if we use Tabpy ...
usman General Coding Help 2 5,271 Aug-03-2017, 09:21 AM

User Panel Messages

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