Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Numpy DOT vs Matmul
Post: Numpy DOT vs Matmul

I used np.dot() and np.matmul() both are giving same results.Are they same for any dimensional arrays? How broadcasting works for np.dot() with different dimensional arrays
shankar Data Science 0 4,948 Oct-24-2018, 06:32 AM
    Thread: Tests are not running .Dont why
Post: RE: Tests are not running .Dont why

Thanks buddy.Its working in another compiler as you said
shankar General Coding Help 3 6,279 Sep-20-2018, 07:06 AM
    Thread: Tests are not running .Dont why
Post: RE: Tests are not running .Dont why

Can you tell me why the errors occured?
shankar General Coding Help 3 6,279 Sep-20-2018, 05:40 AM
    Thread: Tests are not running .Dont why
Post: Tests are not running .Dont why

class Circle: def __init__(self,radius): try: if(isinstance(radius,float)): y=[x / 10.0 for x in range(5, 1005, 5)] if(radius in y): ...
shankar General Coding Help 3 6,279 Sep-19-2018, 10:57 AM
    Thread: error in Linking two coroutines
Post: error in Linking two coroutines

I couldnt get second output.I donno why def coroutine_decorator(coroutine_func): def wrapper(*x,**y): c = coroutine_func(*x,**y) next(c) return c return wrapper @...
shankar General Coding Help 3 5,509 Sep-14-2018, 07:52 AM
    Thread: Getting decode error.
Post: RE: Getting decode error.

Thanks a lot @snippsat
shankar General Coding Help 8 10,271 Sep-14-2018, 07:13 AM
    Thread: Getting decode error.
Post: RE: Getting decode error.

This line is computer generated.I cant modify it f.write('Process Output : %s\n' % (res.decode("utf-8")))I tried your function but I got this error Error:Traceback (most recent call last): Fi...
shankar General Coding Help 8 10,271 Sep-13-2018, 09:48 AM
    Thread: Getting decode error.
Post: RE: Getting decode error.

I am new to forum.Thanks for adding tags. I tried this codedef run_process(cmd_args): with subprocess.Popen(cmd_args) as p: p.communicate() return pgetting this errorError:Traceback (m...
shankar General Coding Help 8 10,271 Sep-13-2018, 07:47 AM
    Thread: Getting decode error.
Post: Getting decode error.

import sys import os import subprocess import inspect def run_process(cmd_args): with subprocess.Popen(cmd_args) as p: p.communicate() if __name__ == "__main__": f = open(os....
shankar General Coding Help 8 10,271 Sep-13-2018, 07:23 AM

User Panel Messages

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