Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Pelco D protocol
Post: RE: Pelco D protocol
dear nilamo,
i read online that this is how it suppose to eork (regeading echo), i don't have a linux machine.
after doing alot of rading in the internet, i still don't understand what is wrong with... |
|
D_frucht |
General Coding Help |
4 |
7,512 |
May-30-2018, 08:21 PM |
|
|
Thread: Pelco D protocol
Post: rs485 pelcod
hello
im tring to send an hex command to a ptz camera that uses the Pelco D protocol, and connected via rs485 to usb convertor.
this is my code, i don't get any error messages - but it just doesn't p... |
|
D_frucht |
General Coding Help |
4 |
7,512 |
May-30-2018, 07:25 PM |
|
|
Thread: Pelco D protocol
Post: Pelco D protocol
Hello
i have a project that includes pelco d ptz camera tracking.
i have the pelco d protocol, for example:
FF 01 00 04 3F 00 44 - will pan left at ghigh speed.
how do i "transfer" this commandto... |
|
D_frucht |
General Coding Help |
4 |
7,512 |
May-29-2018, 08:40 PM |
|
|
Thread: PyQt5 - import rext from other file - despearte for help
Post: PyQt5 - import rext from other file - despearte fo...
Hello!
im stuck for hours with a one simple task:
i need that the numbers that are generated from gps.py show in the fh.py
this is the gps.py
from random import uniform
import time
def runscript(... |
|
D_frucht |
GUI |
1 |
2,473 |
May-25-2018, 08:24 PM |
|
|
Thread: how to execute .py script when button is clicked
Post: how to execute .py script when button is clicked
hello,
im using a pyqt5 for building a gui.
i want that clicking a button will execute gps.py script.
here is the relevant piece of code
def window():
app = QtWidgets.QApplication(sys.argv)
... |
|
D_frucht |
GUI |
1 |
6,143 |
May-25-2018, 07:46 AM |
|
|
Thread: Sqlite to GUI
Post: Sqlite to GUI
Hello.
I made a simple program the uses sqlite for importing and reading data.
I want to be able to import and read data using a GUI that runs in my program.
Are there any tutorial regarding guit w... |
|
D_frucht |
GUI |
0 |
1,892 |
May-19-2018, 01:09 PM |
|
|
Thread: deltatime calculation
Post: RE: deltatime calculation
thanks !!!!
just one little mistake, there should be another .datetime before the .strptime
datetime.datetime.strptime(order_date, '%Y-%m-%d') |
|
D_frucht |
General Coding Help |
6 |
4,743 |
May-19-2018, 07:39 AM |
|
|
Thread: deltatime calculation
Post: RE: deltatime calculation
can someone help me please |
|
D_frucht |
General Coding Help |
6 |
4,743 |
May-18-2018, 11:02 PM |
|
|
Thread: deltatime calculation
Post: RE: deltatime calculation
@J.crater, im sorry you are right. as you can see in the error below, the user input regarding order date was:2018-01-01. the user obligated to the client to deliver in 2 weeks. i want the outcome to ... |
|
D_frucht |
General Coding Help |
6 |
4,743 |
May-18-2018, 06:23 PM |
|
|
Thread: deltatime calculation
Post: deltatime calculation
hello.
i have problems with delta time calc. there are 2 relevant var, that a user input: date of order and number of weeks to deliver the order.
another var is the calculated date (order date + wee... |
|
D_frucht |
General Coding Help |
6 |
4,743 |
May-18-2018, 06:14 PM |
|
|
Thread: Database input by user
Post: RE: Database input by user
yes, just for checking.
but how come i run it python 2? how can i change it to python 3 |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-18-2018, 06:22 AM |
|
|
Thread: Database input by user
Post: RE: weird sqlite 3 in problem
Unfortunately im not newr the pc, but im quite sure that one of the things i tried is to make it single quote. |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-18-2018, 05:45 AM |
|
|
Thread: Database input by user
Post: RE: weird sqlite 3 in problem
Im sorry for the /python
Im using python 3 |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-18-2018, 05:38 AM |
|
|
Thread: Database input by user
Post: weird sqlite 3 in problem
although Client, Models, etc., defined as TEXT, while entering values in text, the program crash (see below the code). but if i enter numbers, it continue.
im using python 3
import sqlite3
conn = s... |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-18-2018, 05:24 AM |
|
|
Thread: Database input by user
Post: RE: sqlite - input by user
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-18-2018, 04:42 AM |
|
|
Thread: Database input by user
Post: RE: sqlite - input by user
GREAT thanks !
it created the table, but i still have the problem that when i'm trying to input regullar letters, it comes up with error:
[python]
client: AS
Traceback (most recent call last):
File... |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-17-2018, 10:20 PM |
|
|
Thread: Database input by user
Post: sqlite - input by user
i have 2 problems with the code below:
although Client, Models, etc., defined as TEXT, while entering values in text, the program crash. but if i enter numbers, it continue.
the other problem is, af... |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-17-2018, 09:49 PM |
|
|
Thread: Database input by user
Post: RE: Database input by user
this is my code, can someone explain what im doing wrong?
import sqlite3
conn = sqlite3.connect('dfsl.db')
c = conn.cursor()
def create_table():
c.execute('CREATE TABLE IF NOT EXISTS orders(cli... |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-17-2018, 06:58 PM |
|
|
Thread: Database input by user
Post: RE: Database input by user
Dear friends !
I see now a mistake in my question - iment sqlite not mysql |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-17-2018, 04:07 PM |
|
|
Thread: Database input by user
Post: RE: Database input by user
@larz60 thanks for your prompt answer, but i still stuck in the same problem - how a user can enter the data in the table, and not the programmer |
|
D_frucht |
General Coding Help |
22 |
8,724 |
May-17-2018, 01:40 PM |