Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Remote SQL
Post: RE: Remote SQL

I will take a look, thanks.
kozaizsvemira Networking 3 2,197 Nov-11-2019, 10:41 AM
    Thread: Remote SQL
Post: Remote SQL

Hi, I am new to servers, SQL and networks, I was wondering I have linux server with ubuntu, working django website. Edit: I'm not talking about web login system, I'm talking about software login sy...
kozaizsvemira Networking 3 2,197 Nov-11-2019, 10:15 AM
    Thread: Web Development help
Post: RE: Web Development help

Are you using wordpress/shopify? your daily traffic? your theme? name of all your plugins? have you tried running it on google page speed test and fixing errors?
kozaizsvemira Web Scraping & Web Development 6 3,334 Nov-07-2019, 08:12 PM
    Thread: Help with basic webscraping
Post: RE: Help with basic webscraping

Now I'm not sure what you are trying to do, but here's working code Your first error came when you are calling soup you call it from var soup not last var you called soup. You did: tbody=leaderboar...
kozaizsvemira Web Scraping & Web Development 2 3,875 Nov-07-2019, 08:07 PM
    Thread: Wonky Touch Events
Post: RE: Wonky Touch Events

As Denni said override controls also I would use kivy if you req touch controls, they implemented whole starting kit
kozaizsvemira GUI 2 2,248 Nov-07-2019, 07:52 PM
    Thread: read_csv error and rows/columns missing
Post: RE: read_csv error and rows/columns missing

(Nov-05-2019, 10:04 AM)karlito Wrote: I thought I got everything right till I ended up with a different file to read. Damn for 2 days I'm struggling with it. Help, please. link to the data:file.zip ...
kozaizsvemira Data Science 9 5,226 Nov-07-2019, 07:48 PM
    Thread: ValueError: Found input variables with inconsistent numbers of samples: [5, 6]
Post: RE: ValueError: Found input variables with inconsi...

If I'm not mistaken your x_train and y_size are different sizes. They have to be equal. Somewhere your output is different than input, working with big data requires all samples to be equal due to the...
kozaizsvemira Data Science 6 25,294 Nov-07-2019, 07:43 PM
    Thread: How to use switch/case in python?
Post: RE: How to use switch/case in python?

(Nov-07-2019, 07:06 PM)newbieguy Wrote: Quote:There is no switch/case statement in Python. Use if/elif instead or a data structure. You did use a data structure, but I would do it this way: Yea I kn...
kozaizsvemira General Coding Help 9 3,956 Nov-07-2019, 07:22 PM
    Thread: Explaining Code
Post: RE: Explaining Code

Awesome, thank you. Your code is much easier to read.
kozaizsvemira General Coding Help 2 1,748 Nov-07-2019, 06:53 PM
    Thread: How to use python 3.x instead of 2.x?
Post: RE: How to use python 3.x instead of 2.x?

Try this sudo apt-get install python3-pip
kozaizsvemira General Coding Help 4 2,418 Nov-07-2019, 06:46 PM
    Thread: How to use switch/case in python?
Post: RE: How to use switch/case in python?

I am not master at python, but following code works: def add(a,b): return a+b def substract(a,b): return a-b def divide(a,b): return a/b def multiplication(a,b): return a*b def increa...
kozaizsvemira General Coding Help 9 3,956 Nov-07-2019, 06:42 PM
    Thread: C++ Wrapper for python
Post: RE: C++ Wrapper for python

(Nov-07-2019, 05:33 PM)Gribouillis Wrote: If you know how to embed Python into C and you know how to embed C into C++, won't it be enough to call python from C++? Call the C functions of the python ...
kozaizsvemira General Coding Help 6 3,018 Nov-07-2019, 06:34 PM
    Thread: Explaining Code
Post: Explaining Code

Hi, As I am learning python I am wondering about following code: openList = ['[', '{', '('] closeList = [']', '}', ')'] def check(Str): stack = [] for i in Str: if i in openList: stack.app...
kozaizsvemira General Coding Help 2 1,748 Nov-07-2019, 06:30 PM
    Thread: How to use python 3.x instead of 2.x?
Post: RE: How to use python 3.x instead of 2.x?

You can't remove python 2 from linux, but try 'python3 command' should work. You can write python3 --version and you will see vers of python 3, if you run python --version you should see python 2.
kozaizsvemira General Coding Help 4 2,418 Nov-07-2019, 06:24 PM
    Thread: Automatic registering python to registry
Post: RE: Automatic registering python to registry

Fixed
kozaizsvemira General Coding Help 1 2,142 Oct-22-2019, 11:23 AM
    Thread: Copy same doubled matched words
Post: RE: Copy same doubled matched words

Thanks for helping out, I found the solution without set since set was created to remove duplicates. I forgot to set the thread to solved. Thanks again.
kozaizsvemira General Coding Help 2 1,998 Oct-22-2019, 08:30 AM
    Thread: Automatic registering python to registry
Post: Automatic registering python to registry

I successfully registered python to the registry, but when I convert it into exe, data registers as python script instead of exe. I am creating a script that will take the file name and file directory...
kozaizsvemira General Coding Help 1 2,142 Oct-22-2019, 08:14 AM
    Thread: PY TO EXE CRASH
Post: PY TO EXE CRASH

I am having an issue with kivy after converting my script to exe. Exe closes immediately after opening it, running it in cmd prints the following: Quote:[INFO ] [Logger ] Record log in C:\User...
kozaizsvemira GUI 0 2,250 Oct-19-2019, 07:27 PM
    Thread: Copy same doubled matched words
Post: Copy same doubled matched words

I've been trying to figure this one out, but all I could find is people having problem with duplication instead of adding it as a feature. I have this code below and it copies same matched words from...
kozaizsvemira General Coding Help 2 1,998 Sep-12-2019, 05:31 PM
    Thread: Open and read multiple text files and match words
Post: RE: Open and read multiple text files and match wo...

Thank you my man, love you.
kozaizsvemira General Coding Help 3 6,671 Sep-11-2019, 12:58 PM

User Panel Messages

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