Find and display gif file/s in web browser, according to the passed string, compared to files names in the folder.

2019-01-21 Thread pe...@o2.pl
Dear Programmers, I would like to ask you to write a program/script in Python 3.7 working at Windows 10 and Debian 9.x, according to the scenario: 1). The User in the console is writing the command and a text parameter, e.g.: "d Adam" 2). Script/program "d" assigns value "Adam" to variable "x".

Re: [Python-ideas] How the heck does async/await work in Python 3.5

2016-02-24 Thread Tem Pl
Here are some concurrency benchmarks for python vs other languages. https://github.com/atemerev/skynet/pull/53 Is there something wrong with this implementation? "Hope I suck at coroutines, because the results are abysmal. I get around 63s on my i5 MacBook Air Early 2015. For reference, the go

Re: need an example of Python numarray to C++ and back again, Boost / SWIG?

2005-11-10 Thread PL
e before and will revisit it to see if it will work. But I was intending to do this with a compiled extension. I wish there was a simple example of this in either the SWIG or Boost docs or a faq/howto posted somewhere . . . -Paul Fernando Perez wrote: > PL wrote: > > > I want to

need an example of Python numarray to C++ and back again, Boost / SWIG?

2005-11-09 Thread PL
I want to pass a 2D array from Python to C++, manipulate it in C++ (for example, add 1 to each element) and pass it back to Python. With these building blocks I will be able to figure out all the rest of what I need to do for my project. I am very familiar with Python, but less so with C++ and Bo

Getting current variable name

2005-03-16 Thread pl
Hi all, I followed the mails entitled 'How to turn a variable name into a string?' in march 2005 posts as I have a similar problem. I have to get some list variable names at some point in my program. So I ended up looking into globals() to get them with a small function like this: #!/usr/bin/pyth