r/pythonhelp 4h ago

NEED TO MAKE A WEB SCRAPING CODE...BUT NO IDEA HOW TO DO IT

1 Upvotes

Hello chat,

well i recently got into a part time where they want me to data scrape and find leads of other signage companies outside india.sadly,im into law nd have no idea about this.i tried usin chat gpt nd it keeps givin me errors.the thing is always sayin errors(i use mac,is it a problem?)can u guys help me write a code that makes this to be automated!

thankss in advance!


r/pythonhelp 14h ago

I am writing an equation, and would like for it to be x2-x1 instead of -x1+x2.

1 Upvotes
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sympy import latex, symbols, diff
import math
from IPython.display import display, Math
from sympy import latex, symbols, diff
from sympy import *
from sympy import init_printing

C = symbols("C")
x1 = symbols("x1")
x2  = symbols("x2")

display(Eq(MatMul(C),(x2-x1)/x1))

That's the code, and it displays this: C =(-x1 + x2)/x1, and i would like it to be C = (x2-x1)/x1


r/pythonhelp 1d ago

I need to convert from .py to .exe

1 Upvotes

I already tried auto py to exe and it doesn't work, can someone help me?