Re: [web2py] python developer survey

2021-03-05 Thread Jim S
That's funny

I guess you fall into the 14% that have less than 1% for their country.

I'm not sure if pydal was on the survey.  I think I took it, but it was 
quite a few months ago.

I was happy to see web2py so high on the list.  I'm hoping we can get a lot 
of traction for py4web over the coming year.

-Jim

On Friday, March 5, 2021 at 4:13:45 PM UTC-6 Ramos wrote:

> No responses from Portugal? Fake report :)
> Pydal should be there also :)
>
>
> Em qui., 4 de mar. de 2021 às 17:59, Jim S  escreveu:
>
>> I just saw this today.  web2py is #5 in web frameworks.
>>
>> https://www.jetbrains.com/lp/python-developers-survey-2020/
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/9314328a-4c5e-4517-9bb9-5e9c18b84d93n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/455f18b5-55dd-4f3d-8863-4fb3b44be574n%40googlegroups.com.


Re: [web2py] python developer survey

2021-03-05 Thread António Ramos
No responses from Portugal? Fake report :)
Pydal should be there also :)


Em qui., 4 de mar. de 2021 às 17:59, Jim S  escreveu:

> I just saw this today.  web2py is #5 in web frameworks.
>
> https://www.jetbrains.com/lp/python-developers-survey-2020/
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/9314328a-4c5e-4517-9bb9-5e9c18b84d93n%40googlegroups.com
> 
> .
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAEM0BxOQa1J9fYagtCBcTzaKo5taF0Yh84yoRQsCuQU56pXBSg%40mail.gmail.com.


[web2py] Deleting files

2021-03-05 Thread José Eloy

Hi there.

I made a Web2py app. This app create pdf reports, which are opened by the 
Web Browser. The pdf files are saved in Download folder of the user. Is 
there any way to delete these files from Download directory? I tried 
several ways and I get   [WinError 5] Denied 
access:in  'c:\\Users\\x\\Downloads' . The app runs behind IIS server.

The code i'm using in a controller is:

sistema = platform.system()
if sistema == "Windows":
rutaDescargas = Path(r"c:\Users\\Downloads")

archivosRecibos = rutaDescargas.glob("*.pdf")
for archivo in archivosRecibos:
os.remove(archivo)

xxx represents the name of user on compuer user

The app is running in a small office, in internal network, no Internet 
server.

Thanks.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/32e5d178-fe8c-40a0-88a0-6807bfeb5210n%40googlegroups.com.