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
- instal
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.
src/platform/op
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
On Tue, Jan 3, 2012 at 9:50 PM, Rodrick Brown 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.
> Thanks.
>
>
>
>
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 would
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
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
--
http://ma
> 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
On Wed, 2010-03-24 at 20:15 -0700, Sean DiZazzo wrote:
> On Mar 24, 7:59 pm, Kurian Thayil 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.
On Mar 24, 7:59 pm, Kurian Thayil 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 (MySQL-python-1.2.3c1).
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
[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 "hel
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
[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
Hi All,
What is the difference between
import string
and
from string import *
Regards,
Praveen
--
http://mail.python.org/mailman/listinfo/python-list
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
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 believ
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 changes
20 matches
Mail list logo