PORT = int (sys.argv[2])
P = sys.argv[3]
else :
print "usage:", sys.argv[0], " [HOST PORT] [userName]"
sys.exit ()
while (not P):
P = tkSimpleDialog.askstring ('P', 'Pseudonym?...')
# remove
c/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_main
_PyArg_ParseTuple
_Py_BuildValue
_Py_InitModule4
collect2: ld returned 1 exit status
What am I doing wrong?
What's the best way to clean up that mess?
Can somebody help me?
--
Jym Feat ~ Pari
l from the beginning,
precisely because of the improper included file.
Any other suggestion to work it out?
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
At 08:48 -0500 2008/04/04, [EMAIL PROTECTED] wrote:
>Distutils takes care of that for you. All you should need to do is #include
>"Python.h" in your source.
Okay, I'll try that again: thank you so much.
--
Jym Feat ~ Paris FR 75018
At 10:53 +0100 2008/04/05, Matthias Baas wrote:
>Just for the record, the distutils have a function that returns the include
>path:
> >>>import distutils.sysconfig
> >>>distutils.sysconfig.get_python_inc()
>
>So if you really need to know the include path for some reason, you should us
thon
>and I'm good.
Many thanks to Michael VanLandingham and Boyd Waters for the help: your advices
worked nicely, both from Xcode and from gcc as command.
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Does anybody know which function, from which module, does what the mv command
would do in a shell script?
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
At 12:20 +0200 21/07/08, Ronald Oussoren wrote:
>
>On Monday, July 21, 2008, at 10:46AM, "Feat" <[EMAIL PROTECTED]> wrote:
>>Does anybody know which function, from which module, does what the mv command
>>would do in a shell script?
>
>Either os.rename
ld use the == predicate instead, but just how many different greens
(with different ids) can there be, and how do I know which one is under focus
at a given time?
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Maybe at first sight, but look:
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
>>> C = 'red', 'green'
>>> [light is 'green' for light in C]
[False, False]
NB: I have to quit Python each time and reload to make sure the workspace
hasn't b
The only way to ensure it will *always* work is when sharing values:
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
>>> c1 = 'red' ; c2 = 'green' ; colors = (c1, c2)
>>> [x is c2 for x in colors]
[Fa
At 16:59 +0100 29/12/08, Ronald Oussoren wrote:
>Because strings aren't stored as unique objects. That is, there is no
>guarantee whatsoever that 'string1 == string2' implies 'string1 is string2'.
Optimization, uh? Okay, that settles it: thanks!
context and some other times it will make up
new values.
I had hoped I could tell my students how to discriminate between the two cases.
They are no C programmers yet, but they're fully aware of the difference
between the eq() and equal() Lisp predicates, eq() being totally reliable
ountered this issue?
how did you solve it?
(1) the latest SIP [4.11.2] fails when running the "make install" command
(2) this is the usual "python configure.py" command, as recommended in the
README file
--
Jym Feat ~ Paris FR 75018
__
t it is used for?
and which of the above steps should have put it where it belongs?
because if I don't solve this, then I cannot configure PyQt, meaning I cannot
build the QtCore module...
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG maill
e words like Noël or Pâques, but there are still some oddities, like the
¦ ligature for instance, that display as ?^?^?
has anybody solved that issue?
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.
an issue on the python bug tracker (bugs.python.org).
thanks, Ned: will do that!
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python
17 matches
Mail list logo