Re: build a deb-package
On 06/04/2015 04:08 AM, c.bu...@posteo.jp wrote: On Ubuntu when ... ... I used setup.py bdist_rpm and alien to create a deb. You got it the hard way :-) Why wont you try another way? Here are some links from my bookmarks: http://www.electricmonk.nl/log/2011/09/06/creating-simple-debian-packages/ https://wiki.debian.org/IntroDebianPackaging Another solution is to subscribe to https://lists.debian.org/debian-python/ https://lists.debian.org/debian-mentors/ Regards -- https://mail.python.org/mailman/listinfo/python-list
Re: Convert c file to csv file(unix format) in python
On 05/19/2015 07:30 PM, umasrinat...@gmail.com wrote: Can anyone help me in converting .c file to csv file (unix format). Would you give a sample? -- https://mail.python.org/mailman/listinfo/python-list
Re: Python 3: yum is dead, long live dnf!
On 05/18/2015 01:28 PM, alister wrote: Which may be fitting it just waisted 10 min downloading everything before discovering I did not have permission (forgot to sudo) I think if you resume the transaction, downloaded things are locally cached: aren't they? -- https://mail.python.org/mailman/listinfo/python-list
Re: Python 3: yum is dead, long live dnf!
On 05/18/2015 03:08 PM, alister wrote: On Mon, 18 May 2015 15:08:07 +0300, Mihamina Rakotomandimby wrote: On 05/18/2015 01:28 PM, alister wrote: Which may be fitting it just waisted 10 min downloading everything before discovering I did not have permission (forgot to sudo) I think if you resume the transaction, downloaded things are locally cached: aren't they? No, it downloaded them all again That should be reprted as a usefull missing feature... -- https://mail.python.org/mailman/listinfo/python-list
Re: serial data and web
On 12/09/2014 02:39 PM, manduk wrote: I would like to get data from serial port and send it to a web page. I think that getting data from serial port shopuld not be difficult in python. I've found some interesting links about it. How can I send after the datas directly to a web page? A web page? Did you mean a Web server? Basically, you'll have to upload your data to a Web Server, then the server will serve your data. Depending on how your server is setup, you'll have to use FTP, RSync, HTTP GET or POST or PUT,... There is plenty of ways to upload some content. -- https://mail.python.org/mailman/listinfo/python-list
Re: serial data and web
On 12/10/2014 07:28 AM, Dennis Lee Bieber wrote: On Tue, 09 Dec 2014 14:24:51 +0100, manduk nas...@nospamxxx.it declaimed the following: A web page? Did you mean a Web server? ok I mean I would like to view the datas on a web page Basically, you'll have to upload your data to a Web Server, then the server will serve your data. Depending on how your server is setup, you'll have to use FTP, RSync, HTTP GET or POST or PUT,... There is plenty of ways to upload some content. not only upload in a folder of a webserver...I wish to see in real time the datas in a public html page. I get the data from serial port and then I put them in a remote page. Which is the best way to transfer datas from a text file for example and send it on web? Normal HTML is a pull technology... The client (browser) has to ask the server to send it the page. To have dynamically updating web page requires either: a web page that does a timed redirect back to itself (going to be very annoying as the page keeps reloading at whatever interval was given to the redirect), OR the use of Javascript to modify the HTML during the load, OR Javascript to modify pages in real-time -- cf: http://en.wikipedia.org/wiki/Dynamic_HTML and http://en.wikipedia.org/wiki/Ajax_%28programming%29 Which is a loop for pulling. There is another alternative: Websockets. But it is still a young technolgy. -- https://mail.python.org/mailman/listinfo/python-list
Re: Python code in presentations
On 09/30/2014 02:50 PM, Jean-Michel Pichavant wrote: I wonder if some people in this list who have successfully presented python code have some tips about doing the proper way. Ned's presentations for pycons are to me one example of successful code presentation: - the layout is simple - the code and code output are clearly identified - a line of code can be highlighted while presenting I use to use Emacs + python-mode + htmlize to export snippets to HTML and then open the HTML with LibreOffice then copy-paste from Writer to Impress. -- https://mail.python.org/mailman/listinfo/python-list
Re: python string, best way to concat
On 08/28/2014 03:08 PM, Roy Smith wrote: For places where performance doesn't matter, string addition is just fine. The computer works for you. If you're working for the computer, you're doing something wrong. I like this :-) -- https://mail.python.org/mailman/listinfo/python-list
Re: PEP8 and 4 spaces
On 07/04/2014 04:47 PM, Roy Smith wrote: As long as*all* your tools follow that convention, everything is fine. The problems arise when you mix in tools that use different conventions. The problem is, tools always get mixed. I use emacs. The next guy uses vi. Somebody else uses Sublime. The list goes on and on. You will never control what tools other people use. This may be the subject of a PEP: What tool will you use :-) -- https://mail.python.org/mailman/listinfo/python-list
Re: IDE for python
On 05/28/2014 01:43 PM, Sameer Rathoud wrote: Please suggest, if we have any free ide for python development. I think major IDEs in the place have their Python integration. Did you make some search and tried each one? With just the information you provided, every existing IDE is OK. - What didnt you like in IDLE? - What IDE do you use for anything else thant Python? -- https://mail.python.org/mailman/listinfo/python-list