Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: trying to stream data from a websocket to client
Post: RE: trying to stream data from a websocket to clie...
I now realease that i should make admin client that will send message to the server and ther server broadcast it to other connected clients |
|
tomtom |
Networking |
2 |
2,042 |
Dec-31-2022, 07:55 AM |
|
|
Thread: trying to stream data from a websocket to client
Post: trying to stream data from a websocket to client
My mission is to create a websocket server that send signal to any client connected to the websocket, the signal should be sent only when they is a specific event.
1. So I have a function called calc... |
|
tomtom |
Networking |
2 |
2,042 |
Dec-29-2022, 04:29 PM |
|
|
Thread: How to send a pong on websocket-client
Post: How to send a pong on websocket-client
I have made a request to Binance websocket using the python websocket client, but the problem is that the websocket connection use to disconnect automatically.
When i check the documentation of the h... |
|
tomtom |
General Coding Help |
0 |
3,625 |
Aug-15-2022, 05:58 AM |
|
|
Thread: No module found when I run a main.py
Post: RE: No module found when I run a main.py
(Jul-20-2022, 09:13 AM)Gribouillis Wrote: There are different ways to solve this problem. The first thing to understand is that there are two related but distinct hierarchies that must not be mixed ... |
|
tomtom |
General Coding Help |
2 |
1,459 |
Jul-20-2022, 09:24 AM |
|
|
Thread: No module found when I run a main.py
Post: No module found when I run a main.py
I have info.py file in directory A
info.py has this code:
import country # country is imported from the same directory A
class Person:
def get_city(self):
return country.state()Then i ha... |
|
tomtom |
General Coding Help |
2 |
1,459 |
Jul-20-2022, 07:32 AM |
|
|
Thread: Print text with big font and style
Post: RE: Print text with big font and style
Thank you all for your support, I'm checking right now👍🙏🙏🙏🙏🙏🙏🙏 |
|
tomtom |
General Coding Help |
5 |
14,005 |
Mar-03-2022, 01:29 AM |
|
|
Thread: Print text with big font and style
Post: Print text with big font and style
[attachment=1637]
How can I print text with such font like this one on this picture?
Your support is highly appriciated in advance 🙏🙏🙏🙏 |
|
tomtom |
General Coding Help |
5 |
14,005 |
Mar-02-2022, 03:28 AM |
|
|
Thread: For Lopop Python3
Post: RE: For Lopop Python3
You can also use this
r = requests.get(url).text
obj = json.loads(r)
for key in (obj):
print(f"ASSET:{key}. 'Value in USD: {obj[key].get('usd')}") |
|
tomtom |
General Coding Help |
2 |
1,234 |
Mar-02-2022, 03:15 AM |
|
|
Thread: Visual studio code unable to color syntax on python interpreter
Post: RE: Visual studio code unable to color syntax on p...
Thank you so much, what I later do is to uninstall the python extention and reinstall and it worked, so I think the windows downgrade is what crash the extension files |
|
tomtom |
General Coding Help |
4 |
6,850 |
Mar-02-2022, 01:23 AM |
|
|
Thread: Visual studio code unable to color syntax on python interpreter
Post: RE: Visual studio code unable to color syntax on p...
(Feb-27-2022, 10:08 AM)Larz60+ Wrote: You need to setup your extensions.
see: https://python-forum.io/thread-12237.htm...ght=VSCode
activate all extensions under install
Just installed all but nothi... |
|
tomtom |
General Coding Help |
4 |
6,850 |
Feb-27-2022, 11:34 AM |
|
|
Thread: Visual studio code unable to color syntax on python interpreter
Post: Visual studio code unable to color syntax on pytho...
Os: windows 11
This problem happends after rolling back windows update
[attachment=1630]
On the picture attachment ''python code syntax.png'' is my python script that they is no color on the code a... |
|
tomtom |
General Coding Help |
4 |
6,850 |
Feb-27-2022, 09:15 AM |
|
|
Thread: Make my py script work only on 1 compter
Post: RE: Make my py script work only on 1 compter
I got how to get the serial number of win, mac and linux here https://gist.github.com/angeloped/3febaa...id=3632766 |
|
tomtom |
General Coding Help |
14 |
3,816 |
Feb-20-2022, 05:45 PM |
|
|
Thread: Make my py script work only on 1 compter
Post: RE: Make my py script work only on 1 compter
(Feb-18-2022, 06:37 AM)ndc85430 Wrote: The other question is: is it really worth it? What's the risk if you don't prevent people doing that?
the risk is that the program can be shared to unauthorize... |
|
tomtom |
General Coding Help |
14 |
3,816 |
Feb-18-2022, 01:34 PM |
|
|
Thread: Make my py script work only on 1 compter
Post: RE: Make my py script work only on 1 compter
(Feb-17-2022, 02:38 PM)buran Wrote: IMHO, if user is determined enough and your program worths the efforts (given the price you want per license) they will always find a way to hack your defence. Co... |
|
tomtom |
General Coding Help |
14 |
3,816 |
Feb-17-2022, 10:07 PM |
|
|
Thread: Make my py script work only on 1 compter
Post: RE: Make my py script work only on 1 compter
(Feb-17-2022, 01:46 PM)jefsummers Wrote: I think you are on the right path, but some kinks. What version of Python?
UUID.getnode() gets the MAC address of the computer, which should be unique. Howev... |
|
tomtom |
General Coding Help |
14 |
3,816 |
Feb-17-2022, 01:53 PM |
|
|
Thread: Make my py script work only on 1 compter
Post: RE: Make my py script work only on 1 compter
(Feb-17-2022, 01:09 PM)ndc85430 Wrote: Explaining why you want to do that in the first place would be a good start.
I want to put a license on the program so that users can get a license that work o... |
|
tomtom |
General Coding Help |
14 |
3,816 |
Feb-17-2022, 01:24 PM |
|
|
Thread: Make my py script work only on 1 compter
Post: Make my py script work only on 1 compter
I want my py program to work only on one specific computer.
My aim is to get a unique ID of any computer of any OS once my program is first lauch on that computer, then i will save the ID into a datab... |
|
tomtom |
General Coding Help |
14 |
3,816 |
Feb-17-2022, 12:54 PM |
|
|
Thread: where to host my python script
Post: where to host my python script
please which hosting is best for hosting python file? |
|
tomtom |
General Coding Help |
1 |
1,256 |
Feb-08-2022, 08:25 PM |
|
|
Thread: Mysql error message: Lost connection to MySQL server during query
Post: RE: Mysql error message: Lost connection to MySQL ...
I now find out the the host does not allow connecting to db using a remote computer on their shared hosting |
|
tomtom |
General Coding Help |
6 |
15,982 |
Feb-08-2022, 08:22 PM |
|
|
Thread: Mysql error message: Lost connection to MySQL server during query
Post: RE: Mysql error message: Lost connection to MySQL ...
The fact is that the request does not even connect to db def connect_to_db(): # function connect to database
return mysql.connector.connect(host='server.web-hosting.com',
... |
|
tomtom |
General Coding Help |
6 |
15,982 |
Feb-08-2022, 01:43 PM |