How to use pip to install dtrx?

2016-05-13 Thread Ehsan Hajiramezanali
Could not find a version that satisfies the requirement dtrx (from versions: ) No matching distribution found for dtrx ~~~ Is there any way to solve this problem? Thanks in advance. Best regards, Ehsan -- https://mail.python.org/mailman/listinfo/python-list

Re: regexp problem in Python

2007-08-04 Thread Ehsan
On Aug 4, 1:22 pm, Sönmez Kartal <[EMAIL PROTECTED]> wrote: > On 4 A ustos, 00:41, Ehsan <[EMAIL PROTECTED]> wrote: > > > > > > > I want to find "http://www.2shared.com/download/1716611/e2000f22/ > > Jadeed_Mlak14.wmv?tsid=20070803-164051-9d637d11&qu

Re: regexp problem in Python

2007-08-03 Thread Ehsan
On Aug 4, 1:36 am, Dave Hansen <[EMAIL PROTECTED]> wrote: > On Aug 3, 4:41 pm, Ehsan <[EMAIL PROTECTED]> wrote: > > > I want to find "http://www.2shared.com/download/1716611/e2000f22/ > [...] > > I use this pattern : > > "http.*?\.(wmv|3gp).*"

regexp problem in Python

2007-08-03 Thread Ehsan
I want to find "http://www.2shared.com/download/1716611/e2000f22/ Jadeed_Mlak14.wmv?tsid=20070803-164051-9d637d11" or 3gp instead of wmv in the text file like this : ""some code"" function reportAbuse() { var windowname="abuse"; var url="/abuse.jsp?link=" + "http://www.2shared.com/file/17

Re: downloading files

2007-08-03 Thread Ehsan
On Aug 3, 10:10 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Ehsan wrote: > > I foundd this code in ASPN Python Cookbook for downloading files in > > python but when it finished downloading files the files became > > corrupted and didn't open, the files in intern

downloading files

2007-08-03 Thread Ehsan
I foundd this code in ASPN Python Cookbook for downloading files in python but when it finished downloading files the files became corrupted and didn't open, the files in internet havn't any problem: def download(url,fileName): """Copy the contents of a file from a given URL to a

yield keyword usage

2007-07-30 Thread Ehsan
hi coulde any one show me the usage of "yield" keyword specially in this example: """Fibonacci sequences using generators This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. """ __author__ = "Mark