Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: MicroPython Reference
Post: RE: MicroPython Reference

Sorry link did not work... here the LINK
ATARI_LIVE News and Discussions 1 325 Jan-29-2021, 08:22 AM
    Thread: MicroPython Reference
Post: MicroPython Reference

Here I found another reference: https://www.accessengineeringlibrary.com...erence.pdf Enjoy
ATARI_LIVE News and Discussions 1 325 Jan-28-2021, 09:02 AM
    Thread: TCP Communicate...
Post: RE: TCP Communicate...

THANKS FOR EXTRA!
ATARI_LIVE Networking 3 559 Dec-15-2020, 08:50 AM
    Thread: TCP Communicate...
Post: RE: TCP Communicate...

I think I fixed, line 11 on client: s.send(bytes('HELLO WORLD', 'UTF-8')) got it worked.
ATARI_LIVE Networking 3 559 Dec-11-2020, 11:53 AM
    Thread: TCP Communicate...
Post: TCP Communicate...

I want to test to see if works, here what I am trying and did not work, why? Byte? Here for CLIENT: import socket TCP_IP = '127.0.0.1' TCP_PORT = 5005 BUFFER_SIZE = 1024 s = socket.socket(socket....
ATARI_LIVE Networking 3 559 Dec-11-2020, 09:17 AM
    Thread: Double click on touch screen issue
Post: RE: Double click on touch screen issue

I got it, I did it and what I found: # Double Click detect without the same of the coordinates. from tkinter import * counting = 0 press_is_pressed = 0 got_pressed = 0 double_pressed = 0 window = T...
ATARI_LIVE General Coding Help 4 484 Nov-13-2020, 11:05 AM
    Thread: Double click on touch screen issue
Post: RE: Double click on touch screen issue

Maybe my touchscreen is piece of junk.
ATARI_LIVE General Coding Help 4 484 Nov-13-2020, 09:59 AM
    Thread: Double click on touch screen issue
Post: RE: Double click on touch screen issue

Thanks, yeah, I was kind of p... off with the touch screen when I press and hold on the touchscreen and the cursor shakes moving like 2-5 pixels round. so when I am trying to double click on the touch...
ATARI_LIVE General Coding Help 4 484 Nov-13-2020, 09:57 AM
    Thread: Double click on touch screen issue
Post: Double click on touch screen issue

When I use bind(<Double-Button-1>, run_function) on the TOUCHSCREEN. the mouse does works but not touchscreen due fat-fingers. The double click MUST be same mouse's coordinates. is there othe...
ATARI_LIVE General Coding Help 4 484 Nov-12-2020, 10:36 AM
    Thread: Start my program in RPI4B from SSH and Failed
Post: RE: Start my program in RPI4B from SSH and Failed

I found from other forum. use DISPLAY=:0.0 python3 myprogram1.py it's worked! Thank you for your helps.
ATARI_LIVE General Coding Help 3 478 Nov-11-2020, 11:19 AM
    Thread: Start my program in RPI4B from SSH and Failed
Post: RE: Start my program in RPI4B from SSH and Failed

I mean I just want to launch the program to the RPI4B itself. For example: - I open the PuTTY with SSH and connected with the RPI4B. - I type python3 myprogram1.py - the RPI4B to launch the myprogram...
ATARI_LIVE General Coding Help 3 478 Nov-11-2020, 11:12 AM
    Thread: Start my program in RPI4B from SSH and Failed
Post: Start my program in RPI4B from SSH and Failed

I have a python program and executed (python3 myprogram1.py) from the terminal in the RPI4B works perfectly. I wanted to run on RPI4B without the keyboard and mouse and not want use an VNC. But when...
ATARI_LIVE General Coding Help 3 478 Nov-11-2020, 09:59 AM
    Thread: POKE & PEEK...
Post: RE: POKE & PEEK...

I do not use serial at all, I made the board was long time ago, I use a MCU chip which it has address and data bus into the PCI-E. the MCU has 256 I/O for external. I had a Pascal [ input and output c...
ATARI_LIVE General Coding Help 3 542 Nov-03-2020, 01:02 PM
    Thread: POKE & PEEK...
Post: RE: POKE & PEEK...

because I have my own homemade I/O card. I need to write the data by the address 0x0F829. like poke 0x0F829, 255 so need do in the python (how?)
ATARI_LIVE General Coding Help 3 542 Oct-29-2020, 08:42 AM
    Thread: POKE & PEEK...
Post: POKE & PEEK...

In the basic language use POKE and PEEK. what do in python?
ATARI_LIVE General Coding Help 3 542 Oct-29-2020, 08:26 AM
    Thread: Check network WITHOUT use internet
Post: Check network WITHOUT use internet

I know one of code is works great as: try: import httplib except: import http.client as httplib def checkInternetHttplib(url="www.google.com", timeout=3): conn = httplib.HTTPConnection(ur...
ATARI_LIVE Networking 1 580 Oct-28-2020, 02:30 PM
    Thread: Tkinter font style
Post: RE: Tkinter font style

(Oct-24-2020, 07:16 PM)Larz60+ Wrote: I think you need to specify Regular in font name: Label(window_1, textvariable=display_alarm_switch, font=("Ticking Timebomb BB REGULAR", 30), fg=colorfg, bg=co...
ATARI_LIVE General Coding Help 2 323 Oct-24-2020, 08:22 PM
    Thread: Tkinter font style
Post: Tkinter font style

Here I have code: Label(window_1, textvariable=display_alarm_switch, font=("Ticking Timebomb BB", 30), fg=colorfg, bg=colorbg).place(x=x_pos, y=y_pos)It printed with italic style, I need change to reg...
ATARI_LIVE General Coding Help 2 323 Oct-24-2020, 04:01 PM
    Thread: Mouse click without use bind
Post: RE: Mouse click without use bind

(Oct-21-2020, 03:08 PM)joe_momma Wrote: here's my attempt: from tkinter import * import logging, sys from time import strftime as s_time, localtime as l_time, time logging.basicConfig(level= loggin...
ATARI_LIVE GUI 8 2,000 Oct-23-2020, 10:41 PM
    Thread: SystemError: error return without exception set!!!
Post: RE: SystemError: error return without exception se...

**biggrin**
ATARI_LIVE General Coding Help 3 499 Oct-23-2020, 02:32 PM

User Panel Messages

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