u'll have to figure out how to use it by yourself.
>
> Cheers,
> Chris
> --
> http://blog.rebertia.com
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
Is there anyone who can give me some
> suggestions?
> Thank!
> Li Han
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
# what is the easiest way to get
> # back a dictionary like this:
> dct = { 'A': 1, 'B': 1, 'C': 2 }
> # in other words counting the times a letter appears
> in the list.
>
> Thanks,
> Kelly
>
>
> --- Furkan Kuru <[EMAIL PROTECTED
On Wed, Mar 26, 2008 at 3:49 AM, Gabriel Genellina <[EMAIL PROTECTED]>
wrote:
> En Tue, 25 Mar 2008 22:22:41 -0300, Furkan Kuru <[EMAIL PROTECTED]>
> escribió:
>
> > On 3/26/08, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> >
> >> En Tue, 25 Mar 20
On 3/26/08, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> En Tue, 25 Mar 2008 20:38:39 -0300, Furkan Kuru <[EMAIL PROTECTED]>
> escribió:
>
> > Actually, I do not want any .py or .pyc files around my executable.
> > (including userdict, sys, site etc)
> >
reter and importing re.
>
> and achieve the same result: importing the bogus re. What's your point?
yeah same result: bogus re. but from a different way: not user's re but
created by someone else in another directory.
>
> >
> >
> > On 3/25/08, *John Mach
gt; # how do i reduce this to
> lsttwo = [ 1, 2, 3, 4, 5, 6 ]
>
> Is there a page on this in the Python in a Nutshell or the Python
> Cookbook?
> Did I miss something?
>
> Kelly Greer
> [EMAIL PROTECTED]
> change nospam to yahoo
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
version of python.
On 3/26/08, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
>
> Furkan Kuru gmail.com> writes:
>
> > I've tried below code (Setting pythonpath environment variable)
> > and then initialize python interpreter but the embedded python
> interp
m any directory starting your interpreter and importing re.
On 3/25/08, John Machin <[EMAIL PROTECTED]> wrote:
>
> Furkan Kuru top-posted:
> > Most probably X-Spam added itself to your path.
>
> What is "X-Spam"? Added itself to Benjamin's path [not mine
))
{
::putenv(
"PYTHONPATH=.;.\\plib.zip");
}
else ::putenv("PYTHONPATH=%PYTHONPATH%;.\\plib.zip");
std::cout <<
"PYTHONPath Set to: " << ::getenv("PYTHONPATH") << std::endl << "And Again:
";
system("echo %PYTH
> ie. class T:
>def __init__(self, foo, bar):
>self.foo = foo
>self.bar = bar
>
> argspec = inspect.argspec(T.__init__)
> args = (1, 2)
>
> ??? how do you call T(args)?
>
> Thanks.
> Greg
>
> --
> http://mail.python.o
>File "", line 1, in ?
> >File "/etc/postfix/re.py", line 19, in ?
> > m = re.match('(Spam)', mail)
> > AttributeError: 'module' object has no attribute 'match'
> > >>>
> >
> > What's th
;return '%d.%d' % (a,b)
>
> While my intention is to get 1.2 I get 2.2
> I would like to know what would be the right way to yield the expected
> results
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
>FooSon().getid()
> File "a.py", line 14, in getid
>a = super(Foo, self).getid()
> AttributeError: 'super' object has no attribute 'getid'
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
n_SimpleString("print 'HELLO FROM PYTHON'"); //<--- OR you can do
> something else here like run a file
>
>
> Step 2:
> Extend python to talk back to your C++ code.
> I use one giant SWIG module (see init function above)
>
> SWIG allows you to fi
gt; En Thu, 07 Feb 2008 16:18:57 -0200, Joshua Kugler <[EMAIL PROTECTED]>
> escribió:
> > Furkan Kuru wrote:
> >>
> >> I have been developing an application in C++ that embeds Python
> >> interpreter. It takes advantage of too many modules from Python.
files to a zip file and redirect
Python25.dll to that zip file?
Thanks in advance.
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
You.
>
> jessej
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
eturns what I want. Why does Python do that?
>
> Also I have been playing around with Binary math and noticed that
> Python treats:
>
> val = 00110
>
> as the integer 72 instead of returning 00110, why does Python do that?
> (and how can I get around it?)
>
> Gratef
tinfo/python-list
>
you should create an instance of ClassA:
a = ClassA()
a.fnc1()
or if you want a static function you should declare the method as static
classA():
def __init__():
..
..
@staticmethod
def fnc1():
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
nd not C++, its so simple and
> logical.
>
>
>
> So basically, the easiest way to do that, please!
>
>
>
> Thanks,
>
>
>
> Tom Harding
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
o do the programmically in my python script.
> I know I can use ' os.system(cmd)' to execute the command 'ps -ef |
> grep emacs', but how
> can I pipe the output of my 'ps -ef | grep emacs' to my python script
> and then run a regression expression with i
o exe without opening console
> ( cmd ).I'am working on Windows XP SP2 and Python 2.5.
>
>
>
> Regards,
> Vedran
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Furkan Kuru
--
http://mail.python.org/mailman/listinfo/python-list
23 matches
Mail list logo