Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python editors
Post: Python editors

hi there... I would like to know which one is the best editor for python in terms of intellisense,debugging user interface etc I am using IDLE but in terms of intellisense do not seem to be great.
srm News and Discussions 2 2,196 Mar-03-2020, 10:09 AM
    Thread: error in constructor overriding in python3
Post: error in constructor overriding in python3

class Baseclass1: def __init__(self,x,y): self.x=x self.y=y print(self.x+self.y) class Derived(Baseclass1): def cmethod(self): Baseclass1.__init__(s...
srm General Coding Help 1 1,809 Jul-18-2019, 12:12 PM
    Thread: using locks in multithreading in python3
Post: using locks in multithreading in python3

import threading class Class1(threading.Thread): def __init__(self, i, j): self.i = i self.j = j def f1(self): i = self.i global lock lock.acquire() ...
srm General Coding Help 2 3,680 Jul-13-2019, 07:08 AM
    Thread: installation directory of modules in python3.7
Post: installation directory of modules in python3.7

when we install numpy or any other packages with pip command on windows, where exactly the numpy files are getting stored in path... how do we locate those files with help of python command?? and al...
srm General Coding Help 2 2,746 Jul-11-2019, 11:14 AM
    Thread: Error installing numpy
Post: RE: Error installing numpy

ok let me try it...thnx
srm Data Science 3 3,546 Jul-08-2019, 06:26 PM
    Thread: which std library to use for web development in python
Post: which std library to use for web development in py...

I am new to python and would like to go for web development in python but which standard library to use for making website as mostly it is django that is used but how it is different from flask and B...
srm Web Scraping & Web Development 4 3,329 Jul-08-2019, 11:42 AM
    Thread: Error installing numpy
Post: Error installing numpy

I am working on windows server 2012 R2 and trying to install numpy 1.11.2 to work with python 3.7.2 ...some how its not getting installed and asking for visual c++ setup tools to be installed..???? it...
srm Data Science 3 3,546 Jul-03-2019, 01:09 PM
    Thread: problem using custom exception handling in python
Post: problem using custom exception handling in python

I am using custom exception in my program along with built in exceptions given by python. My code is: class Error(Exception): pass class ValueTooSmallError(Error): pass cl...
srm General Coding Help 3 3,069 Jul-03-2019, 11:55 AM
    Thread: converting array to and from string in python 3.7.2
Post: RE: converting array to and from string in python ...

I tried all options but no type code is understanding character data.......
srm General Coding Help 5 6,227 Jul-03-2019, 11:46 AM
    Thread: converting array to and from string in python 3.7.2
Post: converting array to and from string in python 3.7....

I am not able to convert array to string using fromstring() method my code is: from array import * my_char_array = array('c', ['g','e','e','k'])Error:Traceback (most recent call last): File "<pys...
srm General Coding Help 5 6,227 Jun-28-2019, 11:01 AM
    Thread: error running python in sublime text3
Post: RE: error running python in sublime text3

fine thanx I solved the error..now its working fine..
srm General Coding Help 3 3,755 Jun-22-2019, 09:59 AM
    Thread: error running python in sublime text3
Post: error running python in sublime text3

Hi trying to work python code in sublime text3 but getting following error Error:'python' is not recognized as an internal or external command, operable program or batch file. [Finished in 0.3s with e...
srm General Coding Help 3 3,755 Jun-22-2019, 06:44 AM
    Thread: python script file not opening in IDLE editor
Post: python script file not opening in IDLE editor

Hi there, I am working with python3.7.2 on windows 2008R2 server edition.I am able to work successfully in IDLE editor.But when I try to open my.py files which is c:\Data folder on Right click shortcu...
srm General Coding Help 2 4,404 Jun-22-2019, 06:13 AM
    Thread: understanding exponential and bitwise operators
Post: understanding exponential and bitwise operators

Hi there, I am new to python and would like to understand working of few expressions related to operators in python. example : a = 21 b = 10 c = 0 c **= a c //= a Output:2097152Output:99864a=60 b=...
srm General Coding Help 1 2,061 Jun-15-2019, 10:36 AM
    Thread: error running script in python3.7.2 interpreter
Post: RE: error running script in python3.7.2 interprete...

that means you can not run any *.py i.e script file from python interactive shell(interpreter)which is there when I install IDLE..I just wanted that clarity....
srm General Coding Help 4 4,868 May-23-2019, 12:31 PM
    Thread: error running script in python3.7.2 interpreter
Post: error running script in python3.7.2 interpreter

hi there , I am trying to run one of my script file i.e firstfile.py on my windows 2008 r2 machine where in I have installed python3.7.2. While installing I selected "Add to Path" option . my installa...
srm General Coding Help 4 4,868 May-22-2019, 07:36 AM
    Thread: Error in implementing multithreading in a class
Post: Error in implementing multithreading in a class

Hello, Just started learning multi threading concept in python as beginner..I want to print values 1 to 10 with two different functions using multithreading concept within a class ,my code is below: i...
srm General Coding Help 2 2,153 May-16-2019, 10:26 AM
    Thread: socket programming ConnectionRefusedError error
Post: RE: socket programming ConnectionRefusedError erro...

(May-13-2019, 11:54 AM)buran Wrote: It would probably help if you post also your code server file: import socket # Import socket module s = socket.socket() # Create a socket ob...
srm Networking 3 12,908 May-15-2019, 08:49 AM
    Thread: socket programming ConnectionRefusedError error
Post: socket programming ConnectionRefusedError error

I am working with IDLE for python 3.7.2 when i am trying to get connected through socket programming between server and client through IDLE shell it gives me following error Traceback (most recent ca...
srm Networking 3 12,908 May-13-2019, 11:48 AM
    Thread: Error in Database connectivity with python3.7
Post: RE: Error in Database connectivity with python3.7

(May-08-2019, 10:05 AM)buran Wrote: check this line if not conn!=None:You want if conn:or if conn is not None:And as a matter of fact - you even don't need it (i.e. to check the conn object) - you...
srm General Coding Help 8 4,531 May-13-2019, 07:28 AM

User Panel Messages

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