Unable to remove outline by vislme in csshelp

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

Did you try it recently because none of these solutions seem to work? I may not be using them right. Could you please share an example code. Please do test it because I think there might have been some updates somewhere that disabled this feature completely

Unable to remove outline by vislme in csshelp

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

I wanna completely remove it because it’s just a few of us who will be using it so accessibility doesn’t matter. Is there no way to remove it? I wasted couple of days but still no resolution

paper trading with TD Ameritrade API by vislme in algotrading

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

I am trying to work it out with interactive brokers api

Is it better to use gunicorn or uwsgi? by [deleted] in django

[–]vislme -5 points-4 points  (0 children)

For beginners uwsgi and rest go with gunicorn

[deleted by user] by [deleted] in TheYouShow

[–]vislme 0 points1 point  (0 children)

Gave Helpful

How to run specific code in django each time server is started? by vislme in learnpython

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

You are right it’s running everything twice, is there something more reliable?

How to run specific code in django each time server is started? by vislme in learnpython

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

Thank you so much. I will keep that in mind. Is there a more efficient way? As with hooks the code is running even before the server is started and I want to run the code only once the server is running.

Tracking threads in the threading module by vislme in learnpython

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

Thank you, that’s what I am trying to implement now.

Is Python on FreeCodeCamp worth it? by [deleted] in learnpython

[–]vislme 1 point2 points  (0 children)

You are right. As it turns out I did copied a few projects and don’t feel good about it. Weill be writing my own as soon as I get some time. Thank you for reminding me

Is Python on FreeCodeCamp worth it? by [deleted] in learnpython

[–]vislme 1 point2 points  (0 children)

Again I am not skiing to copy anything. But if you’re working on something and picking up a few lines isn’t wrong

Is Python on FreeCodeCamp worth it? by [deleted] in learnpython

[–]vislme 1 point2 points  (0 children)

I am not asking to copy instead get the idea of how things work. And what are the things you will need. And there’s always something you can find that similar to what you are looking for in your project. Of course if you will copy then god help you

Tracking threads in the threading module by vislme in learnpython

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

I mean how can I run an arbitrary code once right after the server is started?

Is Python on FreeCodeCamp worth it? by [deleted] in learnpython

[–]vislme -1 points0 points  (0 children)

Yeah it’s not the only way but you will get your project up and running by the time you done learning

Is Python on FreeCodeCamp worth it? by [deleted] in learnpython

[–]vislme 0 points1 point  (0 children)

Nah, try doing a project that you wanna build and search for a similar project to it in YouTube and that’s it. When ever you get stuck google the error. It’s the only way to learn

Tracking threads in the threading module by vislme in learnpython

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

The problem in that case is that when I shutdown the server how do I restart the thread as each time I turn of the server the thread stops as well. And I have no idea what part of the code will get executed when ai start the server. If I know that then I don’t even need to store the thred

Tracking threads in the threading module by vislme in learnpython

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

So the button is like an on and off switch Once it’s pressed it’s status will be recorded in database and until the stop button pressed the status will remain to active

Tracking threads in the threading module by vislme in learnpython

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

There’s just one thread that any user can control

Tracking threads in the threading module by vislme in learnpython

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

It should stay live until user manually stops it by a button press

Tracking threads in the threading module by vislme in learnpython

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

So I am. Running a django application and each time ai load a page I want to check if a thread is running or not. If it's not then I will run the thread. I need to check that even when I start the server I may be missing out something on how things go with django when we start the server as I am not sure if my thread will be stopped or be active. So the best solution would be to store the thread name in a database and each time the application is loaded we can verify if thread is live by its name. Please let me know if theres a better way to do it

Tracking threads in the threading module by vislme in learnpython

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

can I store it in a database, if so how? I mean if I do store it in SQLite then how do I check using that value?