Tracing in a Flask application

2021-08-04 Thread Javi D R
Hi I would like to do some tracing in a flask. I have been able to trace request in plain python requests using sys.settrace(), but this doesnt work with Flask. Moreover, what i want to trace is in a flask application, when an endpoint is called, what was the request, which parts of the code was

Re: What's an elegant way to test for list index existing?

2018-09-29 Thread Glen D souza
i have a approach, it may not be best fld = [ ] for data in shlex.split(ln): fld.append(data) On Sat, 29 Sep 2018 at 07:52, wrote: > On Friday, September 28, 2018 at 11:03:17 AM UTC-7, Chris Green wrote: > > I have a list created by:- > > > > fld = shlex.split(ln) > > > > It may co

Re: What's an elegant way to test for list index existing?

2018-09-29 Thread Glen D souza
fld = [ ] data = shlex.split(ln) for item in data: fld.append(item) fld = fld + [0] * (5 - len(data)) On Sat, 29 Sep 2018 at 11:03, Glen D souza wrote: > i have a approach, it may not be best > > fld = [ ] > for data in shlex.split(ln): >fld.append(data) > &g

Re: Fetch data from two dates query in python and mongoengine

2018-08-24 Thread mahesh d
Thanks! On Fri 24 Aug, 2018, 9:01 PM Kunal Jamdade, wrote: > Hi Mahesh, > > Import Q from queryset. > > from mongoengine.queryset.visitor import Q > > ProcessedEmails.objects(Q(first_date) & Q(second_date)) > > > > On Fri, Aug 24, 2018 at 12:41 PM mahesh

Fetch data from two dates query in python and mongoengine

2018-08-23 Thread mahesh d
. How to write the query in python by using mongoengine Thanks Mahesh D. -- https://mail.python.org/mailman/listinfo/python-list

Re: Multi-threading with a simple timer?

2018-07-03 Thread David D
I have some success with this. I am not sure if this would work longer term, as in restarting it, but so far so good. Any issue with this new code? import time from threading import Thread th=Thread() class Answer(Thread): def run(self): a=input("What is your answer:") if a

Re: Multi-threading with a simple timer?

2018-07-03 Thread David D
This works, but does not do exactly what I want. When the user enters in a correct answer, the program and threading stops. Any ideas on what I should change? import time from threading import Thread class Answer(Thread): def run(self): a=input("What is your answer:") if a=

Re: Multi-threading with a simple timer?

2018-07-03 Thread David D
This works, but does not do exactly what I want. What I want to happen is : when the user enters in a correct answer, the program and threading stops. Any ideas on what I should change? import time from threading import Thread class Answer(Thread): def run(self): a=input("What

Multi-threading with a simple timer?

2018-07-02 Thread David D
Is there a SIMPLE method that I can have a TIMER count down at a user input prompt - if the user doesn't enter information within a 15 second period, it times out. I am going to be using pycharm and not the shell. Thanks in advance. -- https://mail.python.org/mailman/listinfo/python-list

Read data from .msg all files

2018-05-15 Thread mahesh d
import glob import win32com.client files = glob.glob('C:/Users/A-7993/Desktop/task11/sample emails/*.msg') for file in files: print(file) with open(file) as f: msg=f.read() print(msg) outlook = win32com.client.Dispatch("Outlook.Application").GetNamespace("MAPI"

Extract data from multiple text files

2018-05-15 Thread mahesh d
import glob,os import errno path = 'C:/Users/A-7993\Desktop/task11/sample emails/' files = glob.glob(path) '''for name in files: print(str(name)) if name.endswith(".txt"): print(name)''' for file in os.listdir(path): print(file) if file.endswith(".txt"):

Extract data

2018-05-14 Thread mahesh d
Hii. I have folder.in that folder some files .txt and some files .msg files. . My requirement is reading those file contents . Extract data in that files . -- https://mail.python.org/mailman/listinfo/python-list

Extract

2018-05-14 Thread mahesh d
Hii I have a directory. In that folder .msg files . How can I extract those files. Thanks & regards Mahesh -- https://mail.python.org/mailman/listinfo/python-list

RE: Test 0 and false since false is 0

2017-07-08 Thread Paul D. DeRocco
changed. That said, "x is 0" is even simpler. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- https://mail.python.org/mailman/listinfo/python-list

RE: Test 0 and false since false is 0

2017-07-07 Thread Paul D. DeRocco
lse is 0 > False Funny how the subject line inadvertently prefigures the answer: False *isn't* 0. False *equals* 0. So just change "==" to "is" and "!=" to "is not" and it should work. Also, it can be done in a single expression, with no local variables. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Working with dictionaries and keys help please!

2017-05-31 Thread David D
Learning about dictionaries for a database possibly in the future. On Wednesday, May 31, 2017 at 8:58:39 PM UTC-4, MRAB wrote: > On 2017-06-01 01:29, David D wrote: > > I have a dictionary with a 10 people, the key being a number (0-10) and the > > value being the people'

Working with dictionaries and keys help please!

2017-05-31 Thread David D
I have a dictionary with a 10 people, the key being a number (0-10) and the value being the people's name. I am in the processing of Insert, Adding and deleting from the dictionary. All seems well until I delete a person and add a new one. The numbers (keys) do not change and so I am getting

working with classes, inheritance, _str_ returns and a list

2017-01-15 Thread David D
I am creating a parent class and a child class. I am inheriting from the parent with an additional attribute in the child class. I am using __str__ to return the information. When I run the code, it does exactly what I want, it returns the __str__ information. This all works great. BUT 1)

Re: need some kind of "coherence index" for a group of strings

2016-11-03 Thread Neil D. Cerutti
On 11/3/2016 1:49 PM, jlada...@itu.edu wrote: The Levenshtein distance is a very precise definition of dissimilarity between sequences. It specifies the minimum number of single-element edits you would need to change one sequence into another. You are right that it is fairly expensive to com

Re: Python 3 raising an error where Python 2 did not

2016-08-26 Thread d...@forestfield.co.uk
Thanks for the replies. My example seems to be from the fairly harmless end of a wedge of behaviours that are being handled much more sensibly in Python 3. -- https://mail.python.org/mailman/listinfo/python-list

Python 3 raising an error where Python 2 did not

2016-08-26 Thread d...@forestfield.co.uk
In a program I'm converting to Python 3 I'm examining a list of divisor values, some of which can be None, to find the first with a value greater than 1. Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more i

Re: make an object read only

2016-08-02 Thread d...@forestfield.co.uk
On Tuesday, 2 August 2016 16:13:01 UTC+1, Robin Becker wrote: > A reportlab user found he was doing the wrong thing by calling canvas.save > repeatedly, our documentation says you should not use Canvas objects after > the > save method has been used. The user had mixed results :( > > It would

Installation error, compiling from source on Oracle Linux

2016-02-16 Thread John D. Gwinner
I'm installing an app that requires Carbon and some other Python 2.7 features. The version of Oracle Linux we're using comes with 2.6. I've read that it is not a good idea to directly update the O/S as it "may break things" so I'm doing make altinstall. I've downloaded Python-2.7.11 Downloaded

Frozen apps (py2exe, cx_freeze) built with Python 3.5

2015-12-04 Thread d...@forestfield.co.uk
Python 3.5 will not run under Windows XP, but what about applications created using py2exe or cx_freeze under Windows 7, 8 or 10, is there any knowledge of whether they will run under XP? Regards, David Hughes Forestfield Software -- https://mail.python.org/mailman/listinfo/python-list

Procedure for downloading and Installing Python 2.7 Modules

2015-07-20 Thread W. D. Allen
Would like to locate and install numpy, scipy and matplotlib with Wing 101 for Python 2.7 Just beginning to use Python 2.7 for engineering work. Any guidance would be appreciated. Thanks, WDA balle...@gmail.com end -- https://mail.python.org/mailman/listinfo/python-list

Re: HELP! How to return the returned value from a threaded function

2015-04-19 Thread D. Xenakis
This worked like a charm. http://code.activestate.com/recipes/84317-easy-threading-with-futures/ -- https://mail.python.org/mailman/listinfo/python-list

Re: HELP! How to return the returned value from a threaded function

2015-04-18 Thread D. Xenakis
> This sounds like homework... what have you tried, and what happened? heheh naaah no cheating here. I just provided the example this way to make as clear as possible what I want to do. Return the returned value from a threaded function. apparently this does not work as I hoped: return Thread(

HELP! How to return the returned value from a threaded function

2015-04-18 Thread D. Xenakis
Maybe this is pretty simple but seems I am stuck... def message_function(): return "HelloWorld!" def thread_maker(): """ call message_function() using a new thread and return it's "HelloWorld!" """ pass Could someone please complete above script so that: thread_mak

Re: Not Able to Log in on XNAT server through PyXNAT

2014-12-05 Thread suyash . d . b
On Friday, December 5, 2014 2:41:54 AM UTC-5, dieter wrote: > suyash@gmail.com writes: > > > Hello All, > > > > I have installed pyxnat on my mac. With pyxnat i am trying to access XNAT > > server in our university. As mentioned on the tutorial i tried both ways, > > neither is working. Foll

Not Able to Log in on XNAT server through PyXNAT

2014-12-04 Thread suyash . d . b
Hello All, I have installed pyxnat on my mac. With pyxnat i am trying to access XNAT server in our university. As mentioned on the tutorial i tried both ways, neither is working. Following error is displayed: >>> central=Interface(server='http://hd-hni-xnat.cac.cornell.edu:8443/xnat') User: sdb

Re: Understanding "help" command description syntax - explanation needed

2014-11-05 Thread Neil D. Cerutti
On 11/5/2014 7:41 AM, Chris Angelico wrote: On Wed, Nov 5, 2014 at 11:31 PM, Ivan Evstegneev wrote: That's what I'm talking about (asking actually), where do you know it from? I know it because I've been a programmer for 39 years. I didn't intend to offence anyone here. Just asked a questi

Re: [OT] spelling colour / color was Re: Toggle

2014-10-10 Thread Neil D. Cerutti
On 10/9/2014 3:53 PM, Tim Delaney wrote: That would be a theatre programme vs a computer program. I try to stick with the current spelling style when modifying existing code - esp. for APIs. It's very annoying to have some methods use "z" and others "s" in the same package. So since I'm currentl

Re: Keepin constants, configuration values, etc. in Python - dedicated module or what?

2014-09-30 Thread Neil D. Cerutti
On 9/30/2014 7:35 AM, c...@isbd.net wrote: Thus I'd have something like (apologies for any syntax errors):- cfg = { "LeisureVolts": ["AIN0", 0.061256, "Leisure Battery Voltage"], "StarterVolts": ["AIN1", 0.060943, "Starter Battery Voltage"], "LeisureAmps1": ["AIN2", 0.423122, "

Re: Python 3.3.2 help

2014-09-16 Thread D Moorcroft
ptember, 2014 3:08:09 PM Subject: Re: Python 3.3.2 help Hello David, and thanks for replying. More comments below. D Moorcroft wrote: > Hi, > > We are using windows 7 and it is all pupils as they are more restricted > than staff. > > They are using the python 3.3.2 shell an

Re: Python 3.3.2 help

2014-09-15 Thread D Moorcroft
From: "Steven D'Aprano" To: python-list@python.org Sent: Wednesday, 10 September, 2014 1:15:49 PM Subject: Re: Python 3.3.2 help Hello, My response is below, interleaved with your comments. D Moorcroft wrote: >> Hi, >> >> We are running Python 3.3.2 but pupils

Python 3.3.2 help

2014-09-10 Thread D Moorcroft
> Hi, > > We are running Python 3.3.2 but pupils are unable to print as they > cannot use the command prompt. > > An error comes up saying printing failed (exit status Oxff). > > Is there any way that we can get users who can't see the command > prompt to be able to print? > > Thank you, > >

Re: Manually uninstall python 3.4.1 x64

2014-08-29 Thread Llelan D.
On 8/29/2014 12:53 PM, Tim Golden wrote: On 29/08/2014 09:19, Curtis Clauson wrote: Unfortunately I don't think there's a simple answer to this one. (Altho' I'm not an MSI expert and I'd be very happy to be overruled). msiexec.exe, which is the program which actually runs the MSIs, has a number

Re: Python programming

2014-08-27 Thread Neil D. Cerutti
On 8/27/2014 9:40 AM, Jake wrote: Jake I disagree! -- Neil Cerutti -- https://mail.python.org/mailman/listinfo/python-list

Re: Python vs C++

2014-08-25 Thread Neil D. Cerutti
On 8/23/2014 9:00 AM, Chris Angelico wrote: On Sat, Aug 23, 2014 at 10:38 PM, Rustom Mody wrote: Here is an example (not identical but analogous to) where markup+compile is distinctly weaker than wysiwyg: You can use lilypond to type music and the use a midi player to play it But lilypond does

Re: Global indent

2014-08-22 Thread Neil D. Cerutti
On 8/22/2014 3:54 PM, Rob Gaddi wrote: On Fri, 22 Aug 2014 15:46:33 -0400 Seymore4Head wrote: On Fri, 22 Aug 2014 14:19:29 -0400, Seymore4Head wrote: Is there a way to indent everything again? Say I have a while statement with several lines of code and I want to add a while outside that.

Re: Global indent

2014-08-22 Thread Neil D. Cerutti
On 8/22/2014 2:19 PM, Seymore4Head wrote: Is there a way to indent everything again? Say I have a while statement with several lines of code and I want to add a while outside that. That means indenting everything. Is there a global way to do that? This sort of simple task is why fancy text e

Re: Python vs C++

2014-08-22 Thread Neil D. Cerutti
On 8/22/2014 5:29 AM, Marko Rauhamaa wrote: C is readily supported by all extension APIs. Its calling conventions are stable and well-understood. Its runtime requirements are trivial. Plus, you don't have to be a Medieval Scholar to program in it. C itself is very simple (albeit not simple to u

Re: Python vs C++

2014-08-21 Thread Neil D. Cerutti
On 8/21/2014 8:54 AM, David Palao wrote: Hello, I consider myself a python programmer, although C++ was one of the first languages I learned (not really deeply and long time ago). Hey, that sounds just like me. Now I decided to retake C++, to broaden my view of the business. However, as I pro

Re: how to get the ordinal number in list

2014-08-12 Thread Neil D. Cerutti
On 8/12/2014 2:20 PM, Rustom Mody wrote: On Tuesday, August 12, 2014 11:10:48 PM UTC+5:30, Neil D. Cerutti wrote: Beginners are particularly poor, in relation to experts, at noticing the applicability of idea, and at combining ideas together. Breaking things into component parts has multiple

Re: how to get the ordinal number in list

2014-08-12 Thread Neil D. Cerutti
On 8/10/2014 2:14 PM, Roy Smith wrote: In article <154cc342-7f85-4d16-b636-a1a953913...@googlegroups.com>, Rustom Mody wrote: l= [6,2,9,12,1,4] sorted(l,reverse=True)[:5] [12, 9, 6, 4, 2] No need to know how sorted works nor [:5] Now you (or Steven) can call it abstract. And yet its 1. A

Re: Specifying `blocking` and `timeout` when acquiring lock as a context manager

2014-08-08 Thread Neil D. Cerutti
On 8/8/2014 2:35 PM, Neil D. Cerutti wrote: Here's another attempt at context managing: @contextlib.contextmanager def release_if_acquired(lock, blocking=True, timeout=-1): acquired = lock.acquire(blocking, timeout) if acquired: yield acquired lock.re

Re: Specifying `blocking` and `timeout` when acquiring lock as a context manager

2014-08-08 Thread Neil D. Cerutti
On 8/8/2014 12:16 PM, Chris Angelico wrote: On Sat, Aug 9, 2014 at 2:05 AM, Neil D. Cerutti wrote: Perhaps defer release, a la a common Go pattern: with contextlib.ExitStack() as stack: acquired = lock.acquire(blocking=False) if acquired: stack.callback(lock.release

Re: Specifying `blocking` and `timeout` when acquiring lock as a context manager

2014-08-08 Thread Neil D. Cerutti
On 8/8/2014 9:25 AM, Ethan Furman wrote: On 08/08/2014 04:51 AM, cool-RR wrote: If I want to acquire a `threading.Lock` using the context manager protocol, is it possible to specify the `blocking` and `timeout` arguments that `acquire` would usually take? Not that I know of, but why would y

Re: Python Classes

2014-08-05 Thread Neil D. Cerutti
On 8/4/2014 6:44 PM, John Gordon wrote: In Shubham Tomar writes: classes. I understand that you define classes to have re-usable methods and procedures, but, don't functions serve the same purpose. Can someone please explain the idea of classes If a function simply accepts some data, does

Re: one to many (passing variables)

2014-07-28 Thread Neil D. Cerutti
On 7/25/2014 9:47 PM, C.D. Reimer wrote: Thank you for the link. I'm curious about one item mentioned in the article: "Avoid return values that Demand Exceptional Processing: return zero-length array or empty collection, not null" Isn't a zero-length array, empty collection and null all the same

Re: OT: usenet reader software

2014-07-22 Thread Neil D. Cerutti
On 7/22/2014 11:14 AM, Anssi Saari wrote: I don't really know about about html and slrn since I don't see much of it but links in a terminal application is usually something for the terminal to handle. I run Gnus on a remote machine and use a local terminal for display, Konsole in Linux and mintt

Re: Python 3 is killing Python

2014-07-16 Thread Neil D. Cerutti
On 7/16/2014 10:27 AM, Frank Millman wrote: Would this have been so easy using Python2 - I don't think so. What follows is blatant speculation, but it is quite possible that there are many non-English speakers out there that have had their lives made much easier by the changes to Python3 - a 'si

Re: Standard library Help

2014-07-11 Thread Neil D. Cerutti
On 7/11/2014 4:53 AM, Wolfgang Maier wrote: On 07/11/2014 10:32 AM, Nicholas Cannon wrote: Hey i would like to know alot more about the standard library and all of its functions and so on and i know it is huge and i would basically like to learn only the useful stuff that i could use and all of

Re: open() and EOFError

2014-07-08 Thread Neil D. Cerutti
On 7/7/2014 7:10 PM, Mark Lawrence wrote: On 07/07/2014 23:09, Gregory Ewing wrote: Marko Rauhamaa wrote: with open(path) as f: ... If the open() call is guarded against exceptions (as it usually should), one must revert to the classic syntax: Hmmm, maybe we could do with a with-

Re: The “does Python have variables?” debate

2014-05-08 Thread Neil D. Cerutti
On 5/8/2014 8:41 AM, Roy Smith wrote: In article , Jerry Hill wrote: thinking of python variables as having two parts -- names and values -- really can help people who are struggling to learn the language. There's many levels of learning, and we see them all on this list. For people who a

Re: threading

2014-04-09 Thread Neil D. Cerutti
On 4/8/2014 9:09 PM, Rick Johnson wrote: I warn you that not only will "it" impede the interpretation of your ideas, "it" will also degrade your ability to think clearly when expressing yourself and slow (or completely halt) your linguistic evolution. HAVE YOU NOTICED THAT YOUR INNER MONOLO

Examples of modern GUI python programms

2014-03-30 Thread D. Xenakis
Id like to ask.. do you know any modern looking GUI examples of windows software written in python? Something like this maybe: http://techreport.com/r.x/asus-x79deluxe/software-oc.jpg (or hopefully something like this android look: http://chromloop.com/wp-content/uploads/2013/07/Skype-4.0-Andro

Templating engines that work very well with Python/Django

2014-01-17 Thread San D
Can someone suggest a few templating engines that work really well with Django and help in coding efficiency? Where can I fin comparison of tempating engines I can find to know their pros and cons? Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Graph or Chart Software for Django

2014-01-17 Thread San D
What is the best Graph or Chart software used with Django (libraries & products), preferably open source? Need something stable and robust, and used by many developers, so active on community channels. Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: python finance

2014-01-08 Thread d ss
On Monday, January 6, 2014 6:58:30 PM UTC-5, Walter Hurry wrote: > On Mon, 06 Jan 2014 13:11:53 -0800, d ss wrote: > > > > i wrote just 2 words with a clear > > > indicative title: "Python, Finance" which summarizes the following "if > > > y

Re: python finance

2014-01-06 Thread d ss
On Monday, January 6, 2014 12:06:45 PM UTC-5, Chris Angelico wrote: > On Tue, Jan 7, 2014 at 3:58 AM, d ss wrote: > > > what the heck! > > > who told you this is a spam! > > > this is a call for cooperation and collaboration > > > how retarded! > >

Re: python finance

2014-01-06 Thread d ss
what the heck! who told you this is a spam! this is a call for cooperation and collaboration how retarded! On Sunday, January 5, 2014 4:14:22 AM UTC-5, maxwe...@gmail.com wrote: > On Thursday, January 2, 2014 11:37:59 AM UTC, d ss wrote: > > > dailystockselect.com needs a couple

python finance

2014-01-02 Thread d ss
dailystockselect.com needs a couple of talented python people for the development and implementation of new trading strategies. it may be also some pythonic design change for the displayed figures now the web app consists of 1 of the 8 conceived strategies. contact us at the email on the website f

What does sys.stdout.flush() do?

2013-08-23 Thread D. Xenakis
Somewhere i read.. sys.stdout.flush(): Flush on a file object pushes out all the data that has been buffered to that point. Can someone post here a script example with sys.stdout.flush(), where in case i commented that i could understand what the difference really would be? Whenever i try to re

Re: log incoming ip/porrt connections

2013-08-18 Thread D. Xenakis
This monitors also ip/port of incoming udp packets? Or just tcp after a connection has been enstablished? If i dont make any sense, plz correct me. Not much experience with networking here :) -- http://mail.python.org/mailman/listinfo/python-list

Re: log incoming ip/porrt connections

2013-08-17 Thread D. Xenakis
Or point me the right way in case this is not that simple to do. -- http://mail.python.org/mailman/listinfo/python-list

log incoming ip/porrt connections

2013-08-17 Thread D. Xenakis
Hi there. I have a script-service running on a remote server, listening on a specific port. What i need here is to make this also maintain a log file of ALL incoming connections. Could someone suggest to me a simple codefunction example to implement that on my main running service? THX!! -- h

Python 3.3 + QtSql + ssh tunnel - Connection problem

2013-08-10 Thread D. Xenakis
Im using python 3.3 on win7 64bit and trying to connect to a MySQL database on a remote server through a putty ssh tunnel. Running the script below im getting "Physical connection to the database did not activate!". What im i doing wrong?! I tried to find a working example but couldnt find one.

Re: Python 3 and SSH Tunnel

2013-08-10 Thread D. Xenakis
What about the security though? To be specific, i need to create an application (python 3.3 strictly) where users will save/load their settings online to a remote hosted database. I do not wish to change the database from listening to any other thing than localhost for security reasons, so i a

Re: Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
> Alternatively, can you use PostgreSQL instead? :) Yes there is such an option to be honest. Would that be helpfull instead of MySQL? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
> > HOWTO anyone? > > > > > > What im trying to succeed here is create one SSH tunnel, so that i can > > connect from a python script running on my pc, to a remote MySQL database > > running on my Host and id like to stick with Python 3.3 . > > > > > > I contacted my host and he informed me

Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
HOWTO anyone? What im trying to succeed here is create one SSH tunnel, so that i can connect from a python script running on my pc, to a remote MySQL database running on my Host and id like to stick with Python 3.3 . I contacted my host and he informed me that this is the only way. I tried pyc

Re: paramiko installation problem

2013-08-08 Thread D. Xenakis
Wow thats bad news. Any workaround? What im trying to succeed here is create one SSH tunnel, so that i can connect from a python script running on my pc, to a remote MySQL database running on my Host and id like to stick with Python 3.3 . Any thoughts? -- http://mail.python.org/mailman/listinfo

Re: paramiko installation problem

2013-08-08 Thread D. Xenakis
>>> import sys >>> print (sys.path) returns: ['C:\\Python33\\Lib\\idlelib', 'C:\\Python33\\lib\\site-packages\\pip-1.4-py3.3.egg', 'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs', 'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packages'] then if i type: >>> sys.path

paramiko installation problem

2013-08-08 Thread D. Xenakis
Im having problems using paramiko after installation on my Win7 64bit system. I can see both paramiko and pycrypto being "there" installed via pip list: I have tried so many different ways but in the end im always getting the same error when trying to import paramiko: (i can import Crypto with no

Re: PyQt5 and virtualenv problem

2013-08-01 Thread D. Xenakis
Any advice?Plz? -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt5 and virtualenv problem

2013-07-29 Thread D. Xenakis
Could you help me install PyQt5 properly in my Virtualenv folder and not only globally? I tried installing PyQt5 and sip with the use of pip but i was getting errors all the time (Why is that? Are there any known pip issues along with PyQt5 and sip?), so in the end i had to install it with the

Re: PyQt5 and virtualenv problem

2013-07-29 Thread D. Xenakis
Answer here: http://stackoverflow.com/questions/1961997/is-it-possible-to-add-pyqt4-pyside-packages-on-a-virtualenv-sandbox -- http://mail.python.org/mailman/listinfo/python-list

PyQt5 and virtualenv problem

2013-07-27 Thread D. Xenakis
I tried to install SIP and PyQt5 using the pip install command but it didnt work on both cases (i was getting errors), so i finally installed them using the windows installers provided in riverbankcomputing website. My problem though here is that whenever i try to create a new virtualenv envirom

Re: virtualenv problem

2013-07-26 Thread D. Xenakis
Yeah trying to run virtualenv under IDLE was a desperate move as i couldnt make anything work under cmd. Apparently my problem was that i did not have correctly setup the new path.. Solution for me was the following from "http://forums.udacity.com/questions/100064678/pip-installation-instructi

virtualenv problem

2013-07-25 Thread D. Xenakis
Hi there. Im using windows 7 64bit I have installed python 3.3.2 in C:\Python33 and then easy_install , pip, and virtualenv. But i do not know if the virtualenv installation is correct as i cant seem to be able to create any virtual enviroment yet. How can i check if everything is correct? What e

must be dicts in tuple

2013-07-25 Thread Tanaya D
Hi, I am using Python with Bots(EDI translator) But i am getting the following error: MappingFormatError: must be dicts in tuple: get((({'BOTSID': 'HEADER'},),)) Can anyone pls help me with it. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: nimsg -- the Network Instant MeSsenGer

2013-06-14 Thread Hunter D
If you have any suggestions for features, bugs that you want to report, or just comments on the program in general, feel free to reply here. -- http://mail.python.org/mailman/listinfo/python-list

nimsg -- the Network Instant MeSsenGer

2013-06-14 Thread Hunter D
mes to use, and You can post multiple times in a row. nimsg can be used as an alternative for IRC, for those times that you just want to have a small, local chat room. nimsg was written in Python 2.7.3, and does not require any non-standard libraries or modules. Happy hacking! Hu

Re: im.py: a python communications tool

2013-04-09 Thread Jake D
I just put out a new version of im.py on GitHub. You can find it here: https://github.com/jhunter-d/im.py/blob/master/im.py -- http://mail.python.org/mailman/listinfo/python-list

New version

2013-04-09 Thread Jake D
There's a new version of im.py out on GitHub: https://github.com/jhunter-d/im.py/blob/master/im.py -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-08 Thread Jake D
On Apr 7, 6:36 pm, Steven D'Aprano wrote: > On Sun, 07 Apr 2013 14:47:11 -0700, jhunter.dunefsky wrote: > > Actually, my current licence can be found here: > >https://github.com/jhunter-d/im.py/blob/master/LICENCE.  Whaddaya think > > about this, Useneters? > > I

Re: im.py: a python communications tool

2013-04-06 Thread Jake D
On Apr 5, 8:52 pm, Demian Brecht wrote: > Thanks for sharing some of your work with the community. However... > > Speaking to the sharing aspect: Why would you post a block of code in an > email? If you're looking for people to contribute, it would likely be a > much better idea to post it on gith

Re: im.py: a python communications tool

2013-04-06 Thread Jake D
On Apr 5, 9:26 pm, Andrew Berg wrote: > On 2013.04.05 20:07, Roy Smith wrote:> I know this is off-topic, but I > encourage people to NOT invent their own > > licenses. > > Perhaps he meant this existing license:http://www.wtfpl.net/about/ > -- > CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1

im.py: a python communications tool

2013-04-05 Thread Jake D
Hey Usenetites! I have a horrible Python program to allow two people to chat with each other. It has horribly any functionality, but it is meant for the public to work on, not necessarily me. Anyways, here's a quick FAQ. What does this do that IRC can't? What does this do that AIM can't? --It a

Re: Make python 3.3 the default one and not 2.7

2013-04-03 Thread D. Xenakis
thx solved -- http://mail.python.org/mailman/listinfo/python-list

Re: Make python 3.3 the default one and not 2.7

2013-04-03 Thread D. Xenakis
Τη Τετάρτη, 3 Απριλίου 2013 12:43:43 μ.μ. UTC+3, ο χρήστης Wolfgang Maier έγραψε: > D. Xenakis hotmail.com> writes: > > > > > > > > Hi there, i installed python 2.7 (windows 32bit version) from > > > http://www.enthought.com/products/epd_free.php a

Re: Make python 3.3 the default one and not 2.7

2013-04-03 Thread D. Xenakis
I tried to reinstall python 3.3 but there was not change :(. I selected to run all component from my PC. I'll give it a try with those registries. -- http://mail.python.org/mailman/listinfo/python-list

Make python 3.3 the default one and not 2.7

2013-04-03 Thread D. Xenakis
Hi there, i installed python 2.7 (windows 32bit version) from http://www.enthought.com/products/epd_free.php and after that i installed official 3.3 version too. So now i got two python folders like this.. c:/Python27 and c:/Python33 . My problem is that when im trying to execute a .py file, t

Re: Help installing latest PyQT

2013-04-02 Thread D. Xenakis
Τη Τρίτη, 2 Απριλίου 2013 10:44:43 μ.μ. UTC+3, ο χρήστης Sibylle Koczian έγραψε: > Am 02.04.2013 18:10, schrieb David Robinow: > > > > > > 3)Downloaded and installed "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe" > > > from http://www.riverbankcomputing.com/software/pyqt/download , > > >

Re: Help installing latest PyQT

2013-04-02 Thread D. Xenakis
I had also installed in the past python 2.7 . Now when im trying to run a .py, interpreter 2.7 is always being called.. (also when im right clicking and sellecting to run in IDLE, 2.7 is agai n starting instead of 3.3) so PyQt4 is crashing. Any tip to make 3.3 the default interpreter plz? -- ht

Re: Help installing latest PyQT

2013-04-02 Thread D. Xenakis
Τη Τρίτη, 2 Απριλίου 2013 6:39:07 μ.μ. UTC+3, ο χρήστης D. Xenakis έγραψε: > Hi there im trying to install PyQT (version > PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe) but i dont know how to make sure i > have installed everything correctly. I tried to find documentation about this > bu

Help installing latest PyQT

2013-04-02 Thread D. Xenakis
3.3.0 Windows X86-64 MSI Installer" from http://www.python.org/download/ , here: "C:\Python33" (i have 64 bit Win7 pro Greek edition) 2)Downloaded and unzipped "sip-4.14.5.zip" from http://www.riverbankcomputing.com/software/sip/download , here: "D:\Downloads\si

Re: Help. HOW TO guide for PyQt installation

2013-03-19 Thread D. Xenakis
Τη Τετάρτη, 20 Μαρτίου 2013 2:55:22 π.μ. UTC+2, ο χρήστης Terry Reedy έγραψε: > On 3/19/2013 8:12 PM, D. Xenakis wrote: > > > Hi there, Im searching for an installation guide for PyQt toolkit. To > > > be honest im very confused about what steps should i follow for a >

Help. HOW TO guide for PyQt installation

2013-03-19 Thread D. Xenakis
Hi there, Im searching for an installation guide for PyQt toolkit. To be honest im very confused about what steps should i follow for a complete and clean installation. Should i better choose to install the 32bit or the 64bit windows version? Or maybe both? Any chance one of them is more/less bu

  1   2   3   4   5   6   >