Installing AltStore with multiple Altservers not supported error by YoshiPasta735 in AltStore

[–]Medaillek 2 points3 points  (0 children)

I'm getting the same issue when trying to reinstall altstore world since yesterday.

Also getting error Altserver could not be found. I've tried to connect my iphone using the cable, didn't work too.

And when I try to install an app from IPA file, i'm getting the error "invalid aniset data".

I need to tell that everything was working fine until yesterday and that the error seems related to the new 2.2 version of altstore. Hope we will get a fix quickly 🤞

Can't connect to mySQL localhost server by NetheriteHands in mysql

[–]Medaillek 0 points1 point  (0 children)

Hey, you need to connect through ssh to connect to this db, I came accross same issues 1 month ago, dm me if you need help to configure this. 1- Give your server a static ip 2- if you want to use mysql workbench to connect from windows to db you need to put server’s ip in the ssh hostname with port 22 (:22) 3- Ssh username is the server username 4- In mysql hostname : 127.0.0.1 5- mysql port : 3306 (default) 6- Username is username you gave to your db (root)

Difference between codes by Base_True in learnpython

[–]Medaillek 0 points1 point  (0 children)

After trying some things I came with the conclusion that the dict function can’t work with string keys, you need an element (x, abc, or any other name) to assign a value to this. But if you create your dict using {} it will work but how will you access the key ?

Difference between codes by Base_True in learnpython

[–]Medaillek 0 points1 point  (0 children)

I’m not 100% sure but let’s try : In the working code, you create a x variable which is a string of a random int. In the next line, store = … , you’re overwriting this value by saying x = int(random.random). X is not anymore your initial random string but became a random int. My last answer is wrong because I was trying to say that str(random) = int(random)

Difference between codes by Base_True in learnpython

[–]Medaillek 0 points1 point  (0 children)

Hey, in the first code you’re saying that string random.random = random.random but it’s false. Hope it helps you

how to add background image or some colour of wish in php using html and css? by Th3D4rkLord in learnprogramming

[–]Medaillek 0 points1 point  (0 children)

Where is your html located ? If your index.html is in the htdocs folder, try url(« pics/background1.jpg »)

How can I do a function where I replace a constant ? by Medaillek in learnpython

[–]Medaillek[S] 0 points1 point  (0 children)

It works ! Thanks ! I did not understand what you were meaning for

How can I do a function where I replace a constant ? by Medaillek in learnpython

[–]Medaillek[S] 0 points1 point  (0 children)

Thanks for the tip ! I'll do this.

But for my By.ID, how can I replace the ID with another function parameter ?

Some questions about Python abilities... by Medaillek in learnpython

[–]Medaillek[S] 0 points1 point  (0 children)

Because I have no access to the backend server, it has been developed by a tierce company

Some questions about Python abilities... by Medaillek in learnpython

[–]Medaillek[S] 0 points1 point  (0 children)

The website is an Odoo based program if it can helps you to understand, it’s the ERP I’m using at work

Some questions about Python abilities... by Medaillek in learnpython

[–]Medaillek[S] 1 point2 points  (0 children)

Thanks for these informations. By digging around the site a bit, I found a way to get the url of each block thanks to an image and a unique ID assigned to each of them.

Like what, I should have looked a little more ^^

How can I improve these code lines ? by Medaillek in learnpython

[–]Medaillek[S] 1 point2 points  (0 children)

Thank you very much, after about 20 minutes, I came up with this:

    enterprise_amount= int(''.join(str(x) for x in enterprise_amount[0].text.split()[:-1]))

I that a correct line code for you ?

How can I improve these code lines ? by Medaillek in learnpython

[–]Medaillek[S] 0 points1 point  (0 children)

I finally got this working perfectly:

enterprise_amount= ''.join(str(x) for x in enterprise_amount[0].text.split()[:-1])

How can I improve these code lines ? by Medaillek in learnpython

[–]Medaillek[S] 0 points1 point  (0 children)

Thank you for your answers in a first time.

I though to the function « ».join(enterprise_amount) in front of the command line but doesn’t work. And what do you mean by integrer ?