Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How can i store a refreshing data
Post: RE: How can i store a refreshing data

Well that is so obvious, what troubled me is that i have a bigger code, and i wanted to create a def and call this counter_check def inside that code, but i was wondering how do i keep the now from ke...
Rius2 General Coding Help 2 2,671 Dec-01-2017, 08:12 PM
    Thread: How can i store a refreshing data
Post: How can i store a refreshing data

I am scraping the number of a counter from a website, my code will check the counter every 30 sec or so, what i want to do is check if the current value of the counter is greater than the last value t...
Rius2 General Coding Help 2 2,671 Dec-01-2017, 06:41 PM
    Thread: I need guidance in building a program
Post: RE: I need guidance in building a program

(Oct-16-2017, 02:24 PM)wavic Wrote: I will go with the web app/page. Eventually, you will want to get the data remotely so you will have to able to do that. It could be achieved with PyQt indeed but...
Rius2 Web Scraping & Web Development 4 3,407 Oct-16-2017, 03:12 PM
    Thread: I need guidance in building a program
Post: RE: I need guidance in building a program

This is all good an dandy, but what about my question? GUI , web page or i saw i could write to excel sheets with openpyxl an manipulate data from there. In which direction should i head?
Rius2 Web Scraping & Web Development 4 3,407 Oct-16-2017, 02:08 PM
    Thread: I need guidance in building a program
Post: I need guidance in building a program

Hello,i need guidance in choosing a direction for a program i want to build. I am new to programing in general, and very new to python in particular, but i have already made some scraping programs usi...
Rius2 Web Scraping & Web Development 4 3,407 Oct-16-2017, 10:42 AM
    Thread: i don't understand how to use a variable outside of a function?
Post: RE: i don't understand how to use a variable outsi...

so in my case it would be: def test(arg) a = 0 if arg > 5: a = 1 return a def main(): arg = random.randrange z = test(arg) if z ==1: Print('Will this work?')...
Rius2 General Coding Help 6 5,275 Sep-30-2017, 08:16 PM
    Thread: i don't understand how to use a variable outside of a function?
Post: i don't understand how to use a variable outside o...

from this function: def test(arg) a = 0 if arg >3: a=1 return a how do i use it in another function?: def main(): arg = rand.randrange(0,7) test(arg) if a = 1: print('I don...
Rius2 General Coding Help 6 5,275 Sep-30-2017, 07:49 PM
    Thread: Ho to check if string contains substring from list
Post: RE: Ho to check if string contains substring from ...

Thank you
Rius2 General Coding Help 2 76,645 Sep-30-2017, 07:32 PM
    Thread: Ho to check if string contains substring from list
Post: Ho to check if string contains substring from list

i want to check if a string contains a substring from a list of string i provide, at the moment i am doing this: if 'U19' in echipa1 or 'U20' in echipa1 or 'U17' in echipa1 or ...
Rius2 General Coding Help 2 76,645 Sep-30-2017, 07:10 PM
    Thread: Help with searching tables in Sqlite
Post: Help with searching tables in Sqlite

I want to make a function that will search all tables of a sqlite database for a string, if it does not find that striing, then it will write it into one of the tables , i was going this way i don't k...
Rius2 General Coding Help 0 2,433 Sep-29-2017, 11:03 PM
    Thread: I need help creating tables with Sqlite3
Post: RE: I need help creating tables with Sqlite3

(Sep-25-2017, 05:27 PM)buran Wrote: Note that your SQL statement is divided on two lines -12 and 13. You have ' at the end of line 12 and rest is orphan string on line 13 I did put a print in front ...
Rius2 General Coding Help 3 5,350 Sep-28-2017, 05:49 AM
    Thread: I need help creating tables with Sqlite3
Post: I need help creating tables with Sqlite3

I wish to make a function that creates tables from a tablename list i provide import sqlite3 def creat_tables(): conn = sqlite3.connect('listatest.db') c = conn.cursor() tablelist ...
Rius2 General Coding Help 3 5,350 Sep-24-2017, 12:32 PM

User Panel Messages

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