Re: Do you like the current design of python.org?

2014-12-08 Thread Rustom Mody
On Friday, December 5, 2014 4:13:27 PM UTC+5:30, Steven D'Aprano wrote: > But most of all, I despise the menus that pop up covering what I am trying > to read the page just because I happened to move the mouse over a button. I > loathe the practice of stuffing content into menus instead of using li

Re: encrypt the http request url on the local machine

2014-12-08 Thread Chris Angelico
On Tue, Dec 9, 2014 at 6:08 PM, iMath wrote: > 在 2014年12月9日星期二UTC+8下午2时58分36秒,iMath写道: >> my software on the local machine needs to send http request to a specific >> web server , is there any way to protect the http request url from being >> found by Packet analyzer software like Wireshark and

Re: encrypt the http request url on the local machine

2014-12-08 Thread dieter
iMath writes: > my software on the local machine needs to send http request to a specific web > server , is there any way to protect the http request url from being found by > Packet analyzer software like Wireshark and fiddler. The sever is not mine, > so I can do nothing in the server . Not

Re: Question on lambdas

2014-12-08 Thread memilanuk
On 12/08/2014 09:30 PM, Ben Finney wrote: memilanuk writes: ... lambda: update_label2('A', 100) would this work the same? (I don't know what you mean here by “the same”; the same as what?) The above creates a new function, which expects no parameters (because there are no parameters before

Re: encrypt the http request url on the local machine

2014-12-08 Thread iMath
在 2014年12月9日星期二UTC+8下午2时58分36秒,iMath写道: > my software on the local machine needs to send http request to a specific web > server , is there any way to protect the http request url from being found by > Packet analyzer software like Wireshark and fiddler. The sever is not mine, > so I can do noth

encrypt the http request url on the local machine

2014-12-08 Thread iMath
my software on the local machine needs to send http request to a specific web server , is there any way to protect the http request url from being found by Packet analyzer software like Wireshark and fiddler. The sever is not mine, so I can do nothing in the server . It would be better to show

Re: Python Iterables struggling using map() built-in

2014-12-08 Thread Steven D'Aprano
On Tue, 09 Dec 2014 00:03:33 -0500, Terry Reedy wrote: > On 12/8/2014 9:50 PM, Steven D'Aprano wrote: >> Roy Smith wrote: >> >>> Chris Angelico wrote: > def myzip(*args): iters = map(iter, args) while iters: res = [next(i) for i in iters] yield

Re: Question on lambdas

2014-12-08 Thread Rustom Mody
On Tuesday, December 9, 2014 5:28:49 AM UTC+5:30, Ben Finney wrote: > memilanuk writes: > > > What I'm having trouble finding a concrete answer to is the difference > > between: > > (Note that where you write “some_func” the syntax requires an > expression, not a function. I've changed your examp

Re: Question on lambdas

2014-12-08 Thread Steven D'Aprano
On Tue, 09 Dec 2014 02:44:12 +0100, Christoph Becker wrote: > Ben Finney wrote: > >> It's best to remember that ‘lambda’ is syntactic sugar for creating a >> function; the things it creates are not special in any way, they are >> normal functions, not “lambdas”. > > Could you please elaborate wh

some problem with scrapy and py2exe

2014-12-08 Thread cdd801
i want to bulit an scrapy project into an exe file with py2exe,but there is a error happened after i run the exe-file (for example 'a7cxk.exe')in the cmd ,it happened "Traceback (most recent call last): File "a7cxk.py", line 2, in File "scrapy\__init__.pyc", line 10, in File "pkgutil.py

Re: Question on lambdas

2014-12-08 Thread Ben Finney
memilanuk writes: > ... > lambda: update_label2('A', 100) > > would this work the same? (I don't know what you mean here by “the same”; the same as what?) The above creates a new function, which expects no parameters (because there are no parameters before its ‘:’). The function, when called,

Re: Question on lambdas

2014-12-08 Thread Ben Finney
Christoph Becker writes: > Ben Finney wrote: > > > It's best to remember that ‘lambda’ is syntactic sugar for creating > > a function; the things it creates are not special in any way, they > > are normal functions, not “lambdas”. > > Could you please elaborate why ‘lambda’ does not create “lambd

Re: Python Iterables struggling using map() built-in

2014-12-08 Thread Terry Reedy
On 12/8/2014 9:50 PM, Steven D'Aprano wrote: Roy Smith wrote: Chris Angelico wrote: def myzip(*args): iters = map(iter, args) while iters: res = [next(i) for i in iters] yield tuple(res) Ugh. When I see "while foo", my brain says, "OK, you're about to see a loo

Re: Question on lambdas

2014-12-08 Thread memilanuk
On 12/08/2014 03:58 PM, Ben Finney wrote: memilanuk writes: What I'm having trouble finding a concrete answer to is the difference between: lambda: some_expr This creates a new function which expects zero parameters. The function, when called, will return the value of ‘some_expr’. lam

Re: Python Iterables struggling using map() built-in

2014-12-08 Thread Steven D'Aprano
Roy Smith wrote: > Chris Angelico wrote: >> > I'm actually glad PEP 479 will break this kind of code. Gives a good >> > excuse for rewriting it to be more readable. > > Steven D'Aprano wrote: >> What kind of code is that? Short, simple, Pythonic and elegant? :-) >> >> Here's the code again, wit

Re: module import questions and question about pytest and module imports

2014-12-08 Thread Ian Kelly
On Sun, Dec 7, 2014 at 9:50 AM, sam pendleton wrote: > Having to put the garage package on the sys.path seems a little off, > why wouldn't relative imports work? Relative imports are relative to a package's hierarchy of namespaces, not relative to the file system. As such, you can't perform a rel

Re: Question on lambdas

2014-12-08 Thread Terry Reedy
On 12/8/2014 8:53 PM, Chris Angelico wrote: On Tue, Dec 9, 2014 at 12:44 PM, Christoph Becker wrote: Ben Finney wrote: It's best to remember that ‘lambda’ is syntactic sugar for creating a function; the things it creates are not special in any way, they are normal functions, not “lambdas”.

Re: Question on lambdas

2014-12-08 Thread Chris Angelico
On Tue, Dec 9, 2014 at 12:44 PM, Christoph Becker wrote: > Ben Finney wrote: > >> It's best to remember that ‘lambda’ is syntactic sugar for creating a >> function; the things it creates are not special in any way, they are >> normal functions, not “lambdas”. > > Could you please elaborate why ‘la

Re: Question on lambdas

2014-12-08 Thread Christoph Becker
Ben Finney wrote: > It's best to remember that ‘lambda’ is syntactic sugar for creating a > function; the things it creates are not special in any way, they are > normal functions, not “lambdas”. Could you please elaborate why ‘lambda’ does not create “lambdas”. I'm a Python beginner (not new to

Re: Question on lambdas

2014-12-08 Thread MRAB
On 2014-12-08 23:58, Ben Finney wrote: memilanuk writes: What I'm having trouble finding a concrete answer to is the difference between: (Note that where you write “some_func” the syntax requires an expression, not a function. I've changed your examples to be clear). lambda: some_expr Th

Re: When do default parameters get their values set?

2014-12-08 Thread Terry Reedy
>>> def f(a="default "+"arg value"): return a >>> f.__defaults__ ('default arg value',) Before any calls, the expression has be evaluated. When f() is called with no arg, the local name 'a' is associated with 'default arg value'. Then code execution begins. Use dir(f), for instance, to invesi

Re: Python re.search simple question

2014-12-08 Thread Denis McMahon
On Mon, 08 Dec 2014 12:22:37 +0530, Ganesh Pal wrote: pattern > 'Token-based migrations cannot be mixed with level-based: [prev 0 , now > 1]' Because [] defines a character class in a regex, if you want literal [ and ] you need to escape them with backslash. [prev 0 , now 1] -> match any s

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread pengsir
It's trying to open the file 'c:', but that's not a file, it's a folder. Try, say, 'c:/passwd' instead. It works for me, i tried ,it is ok . -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Iterables struggling using map() built-in

2014-12-08 Thread Roy Smith
In article <5485721c$0$2817$c3e8da3$76491...@news.astraweb.com>, Steven D'Aprano wrote: > On Mon, 08 Dec 2014 11:35:36 +1100, Chris Angelico wrote: > > > On Mon, Dec 8, 2014 at 11:27 AM, Roy Smith wrote: > >> Although, to be honest, I'm wondering if this is more straight-forward > >> (also not

Re: Question on lambdas

2014-12-08 Thread Chris Angelico
On Tue, Dec 9, 2014 at 10:58 AM, Ben Finney wrote: >> lambda x=some_value: some_expr > > This creates a new function which expects one parameter named ‘x’, which > parameter has a default value of ‘some_value’. The function, when > called, will return the value of ‘some_expr’. *facepalm* For some

Re: Question on lambdas

2014-12-08 Thread Gary Herron
On 12/08/2014 03:43 PM, memilanuk wrote: So... I was browsing some questions on reddit, and one of them involved tkinter and lambdas. Managed to help the person out, but in the process ended up with more questions of my own :/ My basic confusion revolves around this: in one instance I see t

Re: Question on lambdas

2014-12-08 Thread Ben Finney
memilanuk writes: > What I'm having trouble finding a concrete answer to is the difference > between: (Note that where you write “some_func” the syntax requires an expression, not a function. I've changed your examples to be clear). > lambda: some_expr This creates a new function which expects

Re: Question on lambdas

2014-12-08 Thread Chris Angelico
On Tue, Dec 9, 2014 at 10:43 AM, memilanuk wrote: > What I'm having trouble finding a concrete answer to is the difference > between: > > lambda: some_func > > lambda e: some_func These two are quite simple. (In each case, it's an expression, not a function, for what it's worth.) They're (roughly

Question on lambdas

2014-12-08 Thread memilanuk
So... I was browsing some questions on reddit, and one of them involved tkinter and lambdas. Managed to help the person out, but in the process ended up with more questions of my own :/ My basic confusion revolves around this: in one instance I see things like the following: R1 = tk.Radio

Re: When do default parameters get their values set?

2014-12-08 Thread bSneddon
Thanks to all. I now understand what is happening. Originally wrote a script be executed from command line. No want to use Gui to change defaults. Will refactor to fix where necessary. On Monday, December 8, 2014 5:10:58 PM UTC-5, bSneddon wrote: > I ran into an issue setting variables f

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-08 Thread Dave Angel
On 12/08/2014 03:20 PM, sohcahto...@gmail.com wrote: On Sunday, December 7, 2014 6:26:01 PM UTC-8, jtan wrote: One reason why you would want max length 79 is because of working with terminals. Maybe ssh to you server and check how many spaces are consumed by a tab? In my boxes, it is usua

Re: When do default parameters get their values set?

2014-12-08 Thread Tim Chase
On 2014-12-08 14:10, bSneddon wrote: > I ran into an issue setting variables from a GUI module that > imports a back end module. My approach was wrong obviously but > what is the best way to set values in a back end module. > > #module name beTest.py > > cfg = { 'def' : 'blue'} > > def printDef

Re: When do default parameters get their values set?

2014-12-08 Thread Dave Angel
On 12/08/2014 05:10 PM, bSneddon wrote: I ran into an issue setting variables from a GUI module that imports a back end module. My approach was wrong obviously but what is the best way to set values in a back end module. To answer the subject line, the default parameter(s) are evaluated whe

Re: When do default parameters get their values set?

2014-12-08 Thread Chris Kaynor
On Mon, Dec 8, 2014 at 2:10 PM, bSneddon wrote: > I ran into an issue setting variables from a GUI module that imports a > back end module. My approach was wrong obviously but what is the best way > to set values in a back end module. > > #module name beTest.py > > cfg = { 'def' : 'blue'} > > de

Re: When do default parameters get their values set?

2014-12-08 Thread Chris Angelico
On Tue, Dec 9, 2014 at 9:10 AM, bSneddon wrote: > I ran into an issue setting variables from a GUI module that imports a back > end module. My approach was wrong obviously but what is the best way to set > values in a back end module. > > #module name beTest.py > > cfg = { 'def' : 'blue'} > > d

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Nobody
On Tue, 09 Dec 2014 00:14:15 -0800, pengsir wrote: > localpath = 'c:' > sftp.get(filepath, localpath) > with open(localpath, 'wb') as fl: > PermissionError: [Errno 13] Permission denied: 'c:' It's trying to open "c:", which is a drive, as if it was a file. You have to specify the destinati

When do default parameters get their values set?

2014-12-08 Thread bSneddon
I ran into an issue setting variables from a GUI module that imports a back end module. My approach was wrong obviously but what is the best way to set values in a back end module. #module name beTest.py cfg = { 'def' : 'blue'} def printDef(argT = cfg['def']): print argT #module na

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-08 Thread Ben Finney
sohcahto...@gmail.com writes: > My terminals are 120 columns wide. Mine are wider. So what? > Are there still people that are limiting their terminals to 80 > columns? I don't know. Terminal width is not the sole reason to keep code lines within 80 columns. -- \ “The fundamental princi

SQLObject 1.7.0

2014-12-08 Thread Oleg Broytman
Hello! I'm pleased to announce version 1.7.0, the first stable release of branch 1.7 of SQLObject. What's new in SQLObject === * Python 2.5 is no longer supported. The minimal supported version is Python 2.6. * DateTimeCol and TimeCol can read values with microseconds (cr

Re: jitpy - Library to embed PyPy into CPython

2014-12-08 Thread Christopher
On Saturday, December 6, 2014 3:30:56 PM UTC-5, Albert-Jan Roskam wrote: > > On Fri, Dec 5, 2014 8:54 PM CET Mark Lawrence wrote: > > >For those who haven't heard thought this might be of interest > >https://github.com/fijal/jitpy > > Interesting, but it is not clear

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-08 Thread sohcahtoa82
> On Mon, Dec 8, 2014 at 10:15 AM, Aahan Krish wrote: > My understanding from talking to different people is that many do use > > tabs (instead of spaces) for indentation in their code. > > > > My question is to them (because I want to use tabs too) is: how do you > > maintain a line-length o

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Chris Angelico
On Tue, Dec 9, 2014 at 6:50 AM, Tim Chase wrote: > Just for the record, you can enable root logins but disallow password > logins, so root has to be done with a public/private key-pair. > > That said, I do as you describe and still SSH to my ssh-user account, > then "su" to root as needed from the

Re: [newbie] how to make program suggest to install missing modules

2014-12-08 Thread sohcahtoa82
On Monday, December 8, 2014 10:46:47 AM UTC-8, Jean-Michel Pichavant wrote: > - Original Message - > > From: sohcahto...@gmail.com > > try: > > import someModule > > except ImportError: > > print "Module is missing" > > # handle it! > > > > Just make sure to attempt to import i

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Tim Chase
On 2014-12-08 18:46, alister wrote: > on most systems that DO have a ssh server root logins are usually > prohibited, either enable root logins (dangerous) or log in with a > user that has permissions to do what you require. if you don't have > access to the server then you need assistance from so

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Tim Chase
On 2014-12-08 19:11, Luuk wrote: > On 8-12-2014 18:37, ishish wrote: > >> with open(localpath, 'wb') as fl: > >> PermissionError: [Errno 13] Permission denied: 'c:' > > > > I remember gloomily (haven't used windows since ages) that newer > > Windows versions don't like users to write directly t

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Thomas Rachel
Am 08.12.2014 19:11 schrieb Luuk: no, it's the ssh-server denying a log on from 'root' You are repating yourself. How could possibly with open(localpath, 'wb') as fl: PermissionError: [Errno 13] Permission denied: 'c:' be a problem with the SSH server? -- https://mail.python.org/mailman

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Thomas Rachel
Am 09.12.2014 09:14 schrieb pengsir: My vps ip is x.y.z.w ,i want to download /etc/passwd from linux server into my local window disk c: . localpath = 'c:' [...] with open(localpath, 'wb') as fl: PermissionError: [Errno 13] Permission denied: 'c:' That's completely clear: you are n

Re: jitpy - Library to embed PyPy into CPython

2014-12-08 Thread Joshua Landau
On 7 December 2014 at 14:31, Albert-Jan Roskam wrote: > On Sun, Dec 7, 2014 11:06 AM CET Stefan Behnel wrote: >> >>I think this is trying to position PyPy more in the same corner as other >>JIT compilers for CPython, as opposed to keeping it a completely separate >>thing which suffers from being "

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread alister
On Mon, 08 Dec 2014 19:11:40 +0100, Luuk wrote: > On 8-12-2014 18:37, ishish wrote: >>> with open(localpath, 'wb') as fl: >>> PermissionError: [Errno 13] Permission denied: 'c:' >> >> I remember gloomily (haven't used windows since ages) that newer >> Windows versions don't like users to write

Re: [newbie] how to make program suggest to install missing modules

2014-12-08 Thread Jean-Michel Pichavant
- Original Message - > From: sohcahto...@gmail.com > try: > import someModule > except ImportError: > print "Module is missing" > # handle it! > > Just make sure to attempt to import it again after making the call to > pip to install it. Note that ImportError may be raised for

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread MRAB
On 2014-12-09 08:14, pengsir wrote: My vps ip is x.y.z.w ,i want to download /etc/passwd from linux server into my local window disk c: . import paramiko host = "x.y.z.w" port = 22 transport = paramiko.Transport((host, port)) password = "mykey" username = "root" transport.connect(username = us

Is cmd.Cmd.cmdloop() integration with asyncio server possible?

2014-12-08 Thread Benjamin Risher
I'm working on an asyncio server project. I'd also like to have a cmd.Cmd style command loop interface for spawning instances of the server. As far as I've seen, running an asyncio server requires ... loop.run_forever() ... And cmd.Cmd.cmdloop() is a blocking loop, so I'm not able to call the

Re: [newbie] how to make program suggest to install missing modules

2014-12-08 Thread sohcahtoa82
On Monday, December 8, 2014 9:44:50 AM UTC-8, hugocoolens wrote: > I'd like to add the following to a python-program: > > when a module (take rtlsdr as an example) is not installed on the system I'd > like to ask the program something like: > > module rtlsdr is missing, shall I install it? y or

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Chris Angelico
On Tue, Dec 9, 2014 at 5:11 AM, Luuk wrote: > On 8-12-2014 18:37, ishish wrote: >>> >>> with open(localpath, 'wb') as fl: >>> PermissionError: [Errno 13] Permission denied: 'c:' >> >> >> I remember gloomily (haven't used windows since ages) that newer Windows >> versions don't like users to wr

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Luuk
On 8-12-2014 18:37, ishish wrote: with open(localpath, 'wb') as fl: PermissionError: [Errno 13] Permission denied: 'c:' I remember gloomily (haven't used windows since ages) that newer Windows versions don't like users to write directly to C:. Have you tried to save the file to your Documen

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread ishish
with open(localpath, 'wb') as fl: PermissionError: [Errno 13] Permission denied: 'c:' I remember gloomily (haven't used windows since ages) that newer Windows versions don't like users to write directly to C:. Have you tried to save the file to your Documents folder? Regards, Alba -- htt

[newbie] how to make program suggest to install missing modules

2014-12-08 Thread hugocoolens
I'd like to add the following to a python-program: when a module (take rtlsdr as an example) is not installed on the system I'd like to ask the program something like: module rtlsdr is missing, shall I install it? y or n if n -->sorry but then I can't run this program and quit program if y -->ex

Re: localization virt-manager

2014-12-08 Thread belyaevigorek
пятница, 28 ноября 2014 г., 16:42:40 UTC+3 пользователь Akira Li написал: > Беляев Игорь writes: > > > I can't install localization for Virt-manager (virt-manager launched on > > python2.7 (Windows XP)). > > virt-manager is a GUI for KVM, Xen, LXC virtual machines. It is a Linux > application.

Re: why can't download file from linux server into local window disk c:?

2014-12-08 Thread Luuk
On 9-12-2014 09:14, pengsir wrote: My vps ip is x.y.z.w ,i want to download /etc/passwd from linux server into my local window disk c: . import paramiko host = "x.y.z.w" port = 22 transport = paramiko.Transport((host, port)) password = "mykey" username = "root" transport.connect(username = use

why can't download file from linux server into local window disk c:?

2014-12-08 Thread pengsir
My vps ip is x.y.z.w ,i want to download /etc/passwd from linux server into my local window disk c: . import paramiko host = "x.y.z.w" port = 22 transport = paramiko.Transport((host, port)) password = "mykey" username = "root" transport.connect(username = username, password = password) sftp

Re: module import questions and question about pytest and module imports

2014-12-08 Thread Jean-Michel Pichavant
- Original Message - > From: "sam pendleton" > Having to put the garage package on the sys.path seems a little off, > why wouldn't relative imports work? > > Do most people somehow put their packages in sys.path when bundling > their python packages up to be shared with setuptools or othe

Re: Nested dictionaries from a list ?

2014-12-08 Thread Dave Angel
On 12/07/2014 06:52 PM, Denis McMahon wrote: On Sun, 07 Dec 2014 12:01:26 -0500, Dave Angel wrote: On 12/07/2014 11:18 AM, Wacky wrote: I've a list of users I haven't run this through the Python, so please forgive any typos. users = [ mess = { users is redundant, as it

Re: module import questions and question about pytest and module imports

2014-12-08 Thread Dave Angel
On 12/07/2014 11:50 AM, sam pendleton wrote: Thanks for getting back with me! On Sun, Dec 7, 2014 at 11:26 AM, Dave Angel wrote: On 12/05/2014 11:50 PM, sam pendleton wrote: garage/ |- __init__.py |- cars/ |- __init__.py |- hummer.py tests/ |- test_cars.

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-08 Thread Jean-Michel Pichavant
- Original Message - > From: "Aahan Krish" > To: python-list@python.org > Sent: Monday, 8 December, 2014 3:15:43 AM > Subject: Maintaining Maximum Line Length When Using Tabs Instead of Spaces? > > My understanding from talking to different people is that many do use > tabs (instead of sp

MicroPython 1.3.7 released

2014-12-08 Thread Paul Sokolovsky
Hello, MicroPython is a Python3 language implementation which scales down to run on microcontrollers with tens of Ks of RAM and few hundreds of Ks of code size. Besides microcontrollers, it's also useful for small embedded Linux systems, where storage space is limited, for embedding as a scripting

Re: Reasons for source code line length limits (was: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?)

2014-12-08 Thread Gene Heskett
On Sunday 07 December 2014 23:44:40 Ben Finney did opine And Gene did reply: > jtan writes: > > One reason why you would want max length 79 is because of working > > with terminals. > > That reason is decreasingly relevant as terminals become virtual, in a > display window that can be much larger

Re: Python Iterables struggling using map() built-in

2014-12-08 Thread Chris Angelico
On Mon, Dec 8, 2014 at 8:40 PM, Steven D'Aprano wrote: > The first version is explicit and clear too. I'm sorry to say this, but > it is true: if you (generic you) don't recognise that > > while iters: > ... > > > skips the while block if iters is an empty list, then *you* have a > pro

Re: Python Iterables struggling using map() built-in

2014-12-08 Thread Steven D'Aprano
On Mon, 08 Dec 2014 11:35:36 +1100, Chris Angelico wrote: > On Mon, Dec 8, 2014 at 11:27 AM, Roy Smith wrote: >> Although, to be honest, I'm wondering if this is more straight-forward >> (also not tested): >> >> def myzip37(*args): >> if not args: >> return >> iters = list(map(ite

Re: module import questions and question about pytest and module imports

2014-12-08 Thread sam pendleton
Thanks for getting back with me! On Sun, Dec 7, 2014 at 11:26 AM, Dave Angel wrote: > On 12/05/2014 11:50 PM, sam pendleton wrote: >> >> garage/ >> |- __init__.py >> |- cars/ >> |- __init__.py >> |- hummer.py >> tests/ >> |- test_cars.py >> >> at the top of test_c