Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: The infinite sequence of prime numbers
Post: RE: The infinite sequence of prime numbers

(Feb-11-2022, 06:27 PM)Gribouillis Wrote: @lucasbazan How can it help?If I understand correctly you can create an infinite loop with a counter using this function of mine, so I believe your code can...
lucasbazan Code sharing 4 2,910 Feb-11-2022, 08:26 PM
    Thread: The infinite sequence of prime numbers
Post: RE: The infinite sequence of prime numbers

I made a function that verify if a number is prime, hope that is can help your code to be more tiny **biggrin** def is_prime(num): mult = [i for i in range(1, num+1) if num % i == 0] if len...
lucasbazan Code sharing 4 2,910 Feb-11-2022, 05:36 PM
    Thread: Sqllite column insert
Post: RE: Sqllite column insert

To create a table you need to use this syntax: im.execute('CREATE TABLE IF NOT EXISTS firma_giris (firma INTEGER, kullanici TEXT, kod TEXT, sistem TEXT, isveren TEXT, araci TEXT)')And on for you can ...
lucasbazan General Coding Help 2 1,538 Jan-06-2022, 11:45 PM
    Thread: Project Direction
Post: RE: Project Direction

Data Analytics is a nice way, with this you can code a dashboard that will show to user the health check of hardwares, infrastructure or network. Or you can go to the automation way that always is ver...
lucasbazan General Coding Help 1 1,334 Jan-06-2022, 11:38 PM
    Thread: WinError 2, since fresh new Windows 10 install
Post: RE: WinError 2, since fresh new Windows 10 install

You can try to migrate from sublime text to vscode **biggrin** I always used and I never get problem with the text editor.
lucasbazan General Coding Help 1 1,656 Jan-06-2022, 11:20 PM
    Thread: I made a Twitch Dashboard in Python.
Post: RE: I made a Twitch Dashboard in Python.

Where's the dashboard **huh**
lucasbazan Code sharing 1 2,091 Jan-06-2022, 11:08 PM
    Thread: Open source RTS game Forward Only
Post: RE: Open source RTS game Forward Only

Wow I liked so much. Congrats!!! **dance**
lucasbazan Code sharing 11 6,345 Jan-06-2022, 11:07 PM
    Thread: Not able to read the text using pexpect/expect
Post: RE: Not able to read the text using pexpect/expect

Hii. U can use subprocess lib to start some process. from subprocess import Popen, PIPE process = Popen(['test_app', '-g'], stdout=PIPE, stderr=PIPE) stdout = process.communicate() print(stdout)Th...
lucasbazan General Coding Help 7 4,068 Jan-06-2022, 11:00 PM

User Panel Messages

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