Hello,
I am new to this mailing-list and I really don't know whether this
mail should belong to python-dev. Please tell me, if so.
Unfortunately, I have got the following problem: I wanted to build and
install Python 3.6 from source but did not succeed.
To clarify my situation, I got as an operat
Sat, Jan 14, 2017 at 5:00 AM, Michael S wrote:
>> Hello,
>> I am new to this mailing-list and I really don't know whether this
>> mail should belong to python-dev. Please tell me, if so.
>
> Hi and welcome! This kind of thing is best on this list initially.
>
>> Unfo
Hi everyone. while trying to implement pyshark, i am getting this error:
import pyshark
capture = pyshark.LiveCapture(interface='wlan0')
capture.sniff(timeout=50)
capture
i have tried also to run it through interpreter yet, i got this error:
import pyshark
n Mon, 6 Apr 2015 06:40 pm, Michael S. wrote:
Hi everyone. while trying to implement pyshark, i am getting this error:
[...]
ImportError: No module named _threading
Well that's awesome. I don't think I've seen that in Python 2.7 before.
Apparently, you are using a version of
module named gevent_threading
On 04/06/2015 03:11 PM, Peter Otten wrote:
Michael S. wrote:
Hi everyone. while trying to implement pyshark, i am getting this error:
import pyshark
capture = pyshark.LiveCapture(interface='wlan0')
capture.sniff(timeout=50)
On 04/07/2015 03:55 AM, Steven D'Aprano wrote:
On Mon, 6 Apr 2015 10:45 pm, Michael S. wrote:
I am using kali-linux(debian based). i have installed all from
repository. i haven't tried yet to use the source but i don't think it
was compiled incorrectly. Kali's developers
Good day all.
I extended part of my program in C, since that part
was too involved for Python. Now when I import the
module I created and call its functions, I am trying
to feedback some information bac to my wxPython
program. The function runs for a while and I wanted to
update a progress bar, bu
oking.
--- Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> At Tuesday 24/10/2006 23:25, Michael S wrote:
>
> >I extended part of my program in C, since that part
> >was too involved for Python. Now when I import the
> >module I created and call its functions
--- Josiah Carlson <[EMAIL PROTECTED]> wrote:
>
> Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> > At Tuesday 24/10/2006 23:25, Michael S wrote:
> >
> > >I extended part of my program in C, since that
> part
> > >was too involved for Python. Now whe
How about this?
def create_db_name(self):
dlg = wx.TextEntryDialog(self.frame, 'Enter a
database name:',
'Create New
Database')
db_name = None #or db_name = ""
if dlg.ShowModal() == wx.ID_OK:
db_name = dlg.GetValue()
What if you do it in 2 separate threads?
--- CSUIDL PROGRAMMEr <[EMAIL PROTECTED]> wrote:
> folks
> I have two lists
>
> i am trying to loop thorough them simultenously.
>
> Here is the code i am using
>
> f1 = os.popen('ls chatlog*.out')
> data1=f1.readlines()
> f1.close()
>
> data1=[x.str
If you want to open the file for writing just open it
with append mode. open(¨filename", "a"). If it
doesn't exist - it'll create it, and if it does it'll
start appending to the file
For reading - os.path.exists("filename"). Or (doesn't
make much sense, but still) try to open it for reading
and p
Good day all.
I rewrote part of my program in C, it's a usually a
long task. I wanted to be able to report the progress
back to my python program. In my module (in addition
to the function that performs the above-mentioned
task) there is a function that returns the variable,
indicating the progre
> BTW, why did you rewrite in C rarher than using
> Pyrex?
I was not aware of pyrex. I didn't really mind doing
some C, it made me remember the syntax.
Thanks a lot. I did think that I could pack a function
address as a parameter.
--- John Machin <[EMAIL PROTECTED]> wrote:
I downloaded Pyrex and ran it through their own
example. The code looks quite messy, and I even saw a
few "goto"s.
I think I will stick with my own code for now.
Thanks in any case.
--- John Machin <[EMAIL PROTECTED]> wrote:
> Michael S wrote:
> > Good day all.
>
My assembler is very basic, so it wouldn't help, while
my C is OK, well sort of.
BTW. Neither have I looked at the machine code that
the assembler produces.
--- Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Michael S wrote:
>
> > I downloaded Pyrex and ran it through the
What if it doesn't do exactly what you need to? How do
you debug through that code?
--- Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Michael S wrote:
>
> > My assembler is very basic, so it wouldn't help,
> while
> > my C is OK, well sort of.
> >
&g
I used it for various projects. It's alright.
The only problem I had, was that I was unable to get
mod_python and pysqlite to work together.
Other than that it was pretty good.
--- walterbyrd <[EMAIL PROTECTED]> wrote:
> I am considering python, instead of php, for
> web-application
> development
First of all you should call the random.seed()
function. That was at least what I´ve always done.
seed([x])
Initialize the basic random number generator.
Second of all, calling random.random() will give you
this:
random()
Return the next random floating point number in
the range [0.0, 1.0
Andrea,
Also, could it be that when you do the following:
sheet.Range("A1:A10").Value = therand
you actually initialize all 10 cells to the first
element of the array? Try to iterate and initialize
every cell separately.
Michael
--- Andrea Gavana <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I
How about calling base class __init__ and then the
pass statement?
--- zefciu <[EMAIL PROTECTED]> wrote:
> I have a problem with inheritance under python. The
> class definition is
> longer, but the troublesome thing is:
>
> from PIL import Image
> class MandelbrotImage (Image):
> pass
http://msherman77.blogspot.com/2007/08/python-com.html
--
http://mail.python.org/mailman/listinfo/python-list
Check out http://www.modpython.org/, you can also use
python with CGI
http://docs.python.org/lib/module-cgi.html
or fastcgi
http://www.fastcgi.com/
--- [EMAIL PROTECTED] wrote:
>
> Hi everyone,
>
> I have to do a web based application for my final
> year project. Since,
> i am only familiar wi
Good day all,
I was wondering if anyone was using the latest
wxpython on FreeBSD 6. I just installed it yesterday
as well as wxGlade. wxGlade doesn't function properly
- it does not display any controls. I then tried some
simple examples from the web and half of them don't
work.
Anyone aware of t
hello all,
this message is geared toward those of you in the scientific community.
i'm looking for a python plotting library that can support rendering
greek symbols and other various characters on plot axes labels, etc. I
would prefer something that adheres to tex formatting (as implemented
in la
25 matches
Mail list logo