Venkatesh Adiga wrote:
> Thanks Peter... What are the ways to update outside of the python program
> without defining environment variable for source code path Otherwise
> can I do it once in during initialization of sys.path update?
I don't understand the question. Your options are
-
Thanks Peter... What are the ways to update outside of the python program
without defining environment variable for source code path Otherwise
can I do it once in during initialization of sys.path update?
On Fri, 10 Aug 2018, 10:56 pm Peter Otten, <__pete...@web.de> wrote:
> Venkatesh Adiga
Venkatesh Adiga wrote:
> Hi All,
>
> I am facing issue with python package import.
> In my project, I have many directories with different python classes
> defined within them. I am trying to import those classes in another python
> program, but not able to import them.
> Here are my directories
Hi All,
I am facing issue with python package import.
In my project, I have many directories with different python classes
defined within them. I am trying to import those classes in another python
program, but not able to import them.
Here are my directories and file structures.
Eric V. Smith added the comment:
This would be an issue for pscyopg2 support, not the Python bug tracker.
You're probably using an unsupported combination of psycopg2 and postgres
libraries.
--
nosy: +eric.smith
resolution: -> not a bug
stage: -> resolved
status: open -> closed
ite-packages/psycopg2/_psycopg.so: symbol
timeradd: referenced symbol not found
thanks
justin
--
components: Build
messages: 289763
nosy: juwang
priority: normal
severity: normal
status: open
title: python3 pycopg2 import issue on solaris 10
type: compile er
I have a class FooB that derives from FooA
i.e.
class FooB(FooA):
FooA.__init__(self,...)
Can someone explain why
Import FooA doesn't work and I need to use from FooA import FooA instead?
This puzzles me.
Thanks.
--
[ Rodrick R. Brown ]
http://www.linkedin.com/in/rodrickbrown
--
On 1/3/2012 8:50 PM, Rodrick Brown wrote:
Import FooA doesn't work and I need to use from FooA import FooA
instead? This puzzles me.
Thanks.
If you have a module called FooA with a class called FooA, then import
FooA imports the /module/. The class would be FooA.FooA, just as the
variable x
On 1/3/2012 10:06 PM, Andrew Berg wrote:
On 1/3/2012 8:50 PM, Rodrick Brown wrote:
Import FooA doesn't work and I need to use from FooA import FooA
instead? This puzzles me.
Thanks.
If you have a module called FooA with a class called FooA, then import
FooA imports the /module/. The class
On Tue, Jan 3, 2012 at 9:50 PM, Rodrick Brown rodrick.br...@gmail.com wrote:
I have a class FooB that derives from FooA
i.e.
class FooB(FooA):
FooA.__init__(self,...)
Can someone explain why
Import FooA doesn't work and I need to use from FooA import FooA instead?
This puzzles me.
On 1/3/2012 11:13 PM, Terry Reedy wrote:
On 1/3/2012 10:06 PM, Andrew Berg wrote:
On 1/3/2012 8:50 PM, Rodrick Brown wrote:
Import FooA doesn't work and I need to use from FooA import FooA
instead? This puzzles me.
Thanks.
If you have a module called FooA with a class called FooA, then import
Hi All,
I am just a month old with Python and trying to learn CGI with Python. I
was trying to install MySQLdb module in my new CentOS 5.3 box with
Python 2.4.3 default install. I downloaded the tar-ball of MySQLdb
module (MySQL-python-1.2.3c1). Did build as normal user and install as
root. MySQL
On Mar 24, 7:59 pm, Kurian Thayil kurianmtha...@gmail.com wrote:
Hi All,
I am just a month old with Python and trying to learn CGI with Python. I
was trying to install MySQLdb module in my new CentOS 5.3 box with
Python 2.4.3 default install. I downloaded the tar-ball of MySQLdb
module
On Wed, 2010-03-24 at 20:15 -0700, Sean DiZazzo wrote:
On Mar 24, 7:59 pm, Kurian Thayil kurianmtha...@gmail.com wrote:
Hi All,
I am just a month old with Python and trying to learn CGI with Python. I
was trying to install MySQLdb module in my new CentOS 5.3 box with
Python 2.4.3
You are right. I was trying to import the module sitting on the source
folder :-). Thanks for your quick response and let me try further.
Sweet! I remember it because it confused the hell out of me on at
least one past occasion. :)
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
What is the difference between
import string
and
from string import *
Regards,
Praveen
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
What is the difference between
import string
and
from string import *
Here is an explanation.
http://effbot.org/zone/import-confusion.htm
--
http://mail.python.org/mailman/listinfo/python-list
wrote:
Hi All,
What is the difference between
import string
and
from string import *
Regards,
Praveen
import string is effectively the same as doing:
string = sys.modules['string']
from string import * is effectively the same as
[EMAIL PROTECTED] wrote:
Hi All,
What is the difference between
import string
and
from string import *
[EMAIL PROTECTED] ~/Projects/dbimp
$ python
Python 2.4.1 (#1, May 27 2005, 18:02:40)
[GCC 3.3.3 (cygwin special)] on cygwin
Type help,
Hi all,
I am facing a problem while importing a file in python
script.
After doing import file i am updating that file. Later i am
accessing a dictionary contained in that
file. Eventhough changes are reflected in the file... When i
access a dictionary those
On 2006-06-02, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi all,
After doing import file i am updating that file. Later i am
accessing a dictionary contained in that
file. Eventhough changes are reflected in the file... When i
access a dictionary those changes are
not there. I believe that
Le Vendredi 02 Juin 2006 08:42, [EMAIL PROTECTED] a écrit :
Hi all,
After doing import file i am updating that file. Later i am
accessing a dictionary contained in that
file. Eventhough changes are reflected in the file... When i
access a dictionary those changes are
22 matches
Mail list logo