Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5979499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:40:04+00:00 2026-05-22T21:40:04+00:00

I am new to PyDev, written scripts using mainly notepad++ and jedit where I

  • 0

I am new to PyDev, written scripts using mainly notepad++ and jedit where I never had these issues.
In a module, I have defined a function – get_user_inputs(self). I used the argument self as PyDev would not let me define the function othewise (and apparently it is the right thing to do).

Now my question is how do I call this function and what argument should I pass?
function(self) does not work and self.function does not work as well.

This issue I am seeing only in PyDev. In jedit and notepad++ I am able to execute same code with no issues.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:40:05+00:00Added an answer on May 22, 2026 at 9:40 pm

    The argument self is only necessary for class methods. It doesn’t make sense for normal functions.

    That means you either omitted a vital information in your question or there is a bug in PyDev.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Eclipse with the PyDev plugin. I am using xlwt which is
I have Pydev installed and running without problem with Python 2.6. I installed Pylons
New to Tortoise SVN Source Safe Repository. I have ASP.Net web application which i
new to mvc3, i have a few questions, would appreciate if someone could answer/provide
Kinda new to Perl. I am using Perl web API to get the data.
I'm new to python and django but wanted to start following some tutorials. I
So, I'm slowly working in some Python 3.0, but I still have a lot
Relatively new to Python, and I saw the following construct in the PyFacebook library
I'm trying to configure PyDev in eclipse, and as part of that I'm trying
This is not a new problem for me. From C to PERL to Python

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.