Hi guys,
I need something about modules to be clarified.
Suppose I have written a module eg: ModuleA which imports an other
module, let us say the datetime.
If I import ModuleA in a script, will be datetime imported automatically?
Thanks in advance,
--
Urbán Gábor
Linux is like a wigwam: no G
Hi guys,
Thank you very much for the accurate answer.
Upgrading our Python to 3.7 seems to be out of question at the moment. I
will check the requirement specification if the order of the keys is
important at all.
It could be a wish only.
--
Urbán Gábor
Linux is like a wigwam: no Gates, no Win
Hi guys,
I have a strange problem that I do not understand. I am testing function
which returns a dictionary. The code should ensure that the keys of the
dictionary are generated in a given order.
I am testing the function with the standard unittest module and use the
assertListEqual statement t
Hi guys,
I tried to solve the problem once again. I have inserted some print
statements the check the variables.
The actual code (naplo.py) is copy-pasted here:
class Naplo:
def __init__(self, pNeve, pMeret, pMode = 'a'):
self.logNev = pNeve
self.meret = pMeret
Hi,
I am facing an issue I was not able to solve yet. I have a class saving
messages to a file. The relevant code is:
import OS
import sys
class MxClass:
def __init__(self, fName, fMode,):
self.fileName = fName
self.fileMode = fMode
def writeMetho
Hi guys,
Thanks for the answers. IT is clear Noé.
Gábor
--
https://mail.python.org/mailman/listinfo/python-list
Hi guys,
I have a quite simple question but I could not find the correct answer.
I have twoo modules A and B. A imports B. If I import A in a script, Will
be B imported automatically? I guess not, but fő not know exactly.
Thanks for your answer ín advance,
Gábor
--
https://mail.python.org/mail
Hi,
my 11 years old son and his classmate told me, that they would like to
learn Python. They did some programming in Logo and turtle graphics, bat
not too much.
Doesn anybody has an idea how to start?
--
Urbán Gábor
Linux is like a wigwam: no Gates, no Windows and an Apache inside.
--
https:
Hi guys,
I am using Python 2.3 on an XP box at my company. (I know it is quite
outdated, but we could not make the management to upgrade.) I have started
a pilot project the last week to show the possibility of processing
incoming XML files and extracting data into Oracle tables.
Now I am almost
seems to be far from complete.
Thanks in advance,
Gabor Urban
--
Urbán Gábor
Linux is like a wigwam: no Gates, no Windows and an Apache inside.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am quite newbie with Tkinter and I could not find the way to set the
size of the application. (I could find the method to make it
resizeable, though :-)) ) Any ideas, suggestions or links to
references are wellcome.
Here is my code:
from Tkinter import *
class Application(Frame):
def
Hi guys,
thanks for the ideas. Here you are the code. Not transcoded from Java
for I do not know Java enough..
I am scanning an XML file, and have a large ammount of logging.
Any ideas are wellcome as before
Thnx
Code:>
#-
## Generate CSV from O
Hi guys,
I am building a nested data structure with the following compontens:
<>
class Item:
def __init__(self, pId, pChange, pComment):
self.ID = pId
self.Delta = pChange
self.Comment = pComment
def PrintItem(self):
str = '%s,%s,%s'%(self.ID,self.Delta,s
Hi guys,
I have two questions.
1. I have choice to introduce Python to my new employee. We are to
write and application that uses databases stored partially in Oracle
10 and partially in Oracle 11. We have to execute standard SQL
commands and stored procedures as well. Which is best conection /
m
Hi guys,
this a very MS specific question. I do use a rather old Python
version, because we have a couple of applications written for that.
Porting them to a newer Python is not allowed by the bosses. Now we
will start a new project with latest stable Python. Can I have them
both on my computer, a
Hy guys,
Sorry, Vinay Sajip was right. I wrote my questions about PEP 391. I
would like to know your ideas about my questions posted in my last
mail.
Gabor
--
Linux: Choice of a GNU Generation
--
http://mail.python.org/mailman/listinfo/python-list
Hy guys,
this PEP is very well written, and I have found the discussion inspiring.
Every time I use the logging module, I have the configuration hardcoded in
the application. That is why I never used the configuration file based
approach. Now I will give it a try.
I think we should discuss t
Hey guys,
this is supposed to be a Python mailing list...
Both editors are great and are with great potentials. I do use both of
them daily, though for different purposes. It is meaningless to start
this old issue of preferences anew.
--
Linux: Choice of a GNU Generation
--
http://mail.python.
Hi guys,
I have embarassing problem using the logging module. I would like to
encapsulate the creation and setting up of the logger in a class, but
it does not seem working.
Here are my relevant parts of the code:
--
import sys
import logging
class LogClass:
def __init__(self, fileName, lo
Hi guys,
I would like to reflect this issue for the last time, though I found
this thread to be quite inspiring.
In one the last postings about this topic Steven D'Aprano has written:
"As a general rule, menus are discoverable, while
keyboard commands aren't. There's nothing inherent to text edit
I use Emacs, as for the other editing activities. I like it for it is
very powerfull.
--
Linux: Choice of a GNU Generation
--
http://mail.python.org/mailman/listinfo/python-list
Hi guys,
I think this issue is long-long displute over tools and IDE-s. No need
to combine it with the question of the complexity of the programming
language used.
I know guys, who did every development project using a simple GVIM and
command line tools, and vere extremly productive. Even in Java
I gues, it was rather simple...
Begin with simple tasks, figure out how to do them. If you are
proceding well, then increase difficulty/complexity.
Gabor
--
Linux: Choice of a GNU Generation
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have a tough issue: we are using a Python application written quite
a time ago for version 2.4. The code is mature, and there are no bugs.
My bosses came up with the idea to port it to the latest release... I
am not really convinced that it's a good step.
I wellcome any information pro and
OK, you are right... Problem was not precise enough. I need to process CDs
to create a list. Does it ring a bell for you?
Thanks
2007/11/15, Laszlo Nagy <[EMAIL PROTECTED]>:
>
> Gabor Urban wrote:
> > Hi,
> >
> > I have a problem, which may be trivial, but I could
Hi,
I have a problem, which may be trivial, but I could not find an answer.
I have to write a Python script, which does a directory tree walking on
given mounted disk. But I do need to extract the volume id, somehow. And
that's the problem. An additional issue, the script will be used on unix
ty
Thx guys
You gave me good ideas. At the moment I do not have time for it, but I would
like to write a summary.
Have fun
--
http://mail.python.org/mailman/listinfo/python-list
Hullo,
I have started to use Python's logging, and got a problem. I have created
some loggers and wrote some lines in the log. The problem is, that most of
the lines appear doubled in the log, and some lines do not appear at all.
Any ideas or comments are wellcome,
Gabor
Here is the code:
impo
Hullo,
I was just wondering if this thread was whithering out.. I gues not for
a good time.
A short summary in the hope for the last posting in this topic.
Some provocative posting caused or Twister brother to send a large amount of
doubtful info. It seems, he had some very bad experience w
Hi guys.
I have an issue I think Python could handle. But I do not have the knowledge
to do it.
Suppose I have a class 'myClass' and instance 'var'. There is function
'myFunc(..)'. I have to add (or bind) somehow the function to the class, or
the instance. Any help, info or point of referenc
Hi guys,
I was going through most of this topic, but I find this not relevant on THIS
mailing list...
A short summary: there are some people who are not disturbed by proven
facts. They are mostly attackers of emacs/Xemacs or vim... Or even linux and
open source. Quite funny, since this is a
Hi guys,
I kindly ask you to stop this topic. Though I see the importance to have a
good editor for programming, this is outside of the focus of a Python
mailing list.
The open source world offers a lot of very good tools to edit source files,
even for cross-platform development. Emacs is one of
Hi guys...
This topic is not relevant in this mailing list.
Though some info from an other mailing list. Emacs (and xemacs) runs
perfectly well on non-gui environments as well. So keyboard commands are the
only efficient way to work with. It is true, Emacs may be a bit antiquated,
but it honed
33 matches
Mail list logo