File manipulation using Python [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I recently started working in a lab that generate a lot of data. I need to manipulate files very often for various needs. I have learnt awk programming but it seems not enough for my work. I know python but not to that extent where I can comfortably work on files. Could anyone please suggest to me any book or online tutorial where I can find exclusively the use of Python on files. most of the python books do not dwell intensively on this subject.
thanks

You can find these materials are helpful:
http://www.diveintopython.net/file_handling/file_objects.html
http://opentechschool.github.io/python-data-intro/core/text-files.html
For data manipulation, you may need to improve your skills in string processing, regular expression operations, data structures,....
You can attend this course:
https://www.edx.org/course/introduction-python-data-science-microsoft-dat208x-0

I would recommend familiarizing yourself with the os and sys standard libraries. Here is a comprehensive tutorial that covers both libraries and other necessary aspects of file management in Python.

Related

Good Python Module for Saving Data [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Okay, so I'm new to coding, so don't kill me. I just started about a year ago and I use repl.it. I want to learn how to save user data. Also I want to know what python IDE is best suited for this.
If you want human-readable cross-programming-language data files, check out the json module.
If you want data that is faster, but that only python can read, check out the pickle module.
About your IDE Question:
From my point of view, you don`t need an full featured IDE at this point, though PyCharm is quite nice, despite the fact that it's written in java xD... (and it has a ton oof features that will be noise for a beginner (ME 2 ...)) you can make sth. like VS Code quite easy to sth. like a lightweight IDE. If you don't like Microsoft, go for Sublime, or Atom (both also Editors with nice plugins and extensions for Python and other languages...)
If you want to go for scientific python features: check out https://www.spyder-ide.org/
Have fun :-)

Allen Bradley L16ER communication via Python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am trying to communicate with an Allen Bradley L16ER PLC via python. What I've found online says that I should use either CPPPO or pycomm modules to accomplish this. I have looked for a good source of documentation for these, and was unable to find one. Is there a good place to find an explanation of the basics of how to use either of these? Also, is there an alternative solution that may work better?
To further define my problem, let's define understanding of using this module into three layers.
Understanding Python.
Understanding how PLCs communicate.
Understanding how to use these modules.
While I understand level 1, I don't understand level 2. This makes it very hard to understand level 3.
You can look at pylogix, it has some example code for it:
https://github.com/dmroeder/pylogix

import python code to Unity [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I need to import this python project to Unity3d. How can i do that? Based on my search, i see that there are plugins like this. However, i need to perform this tasks without using any plugin? How should i do that, i am experienced in Unity but i have no python experience? Can i get .dlls from python project so that i can use the .dlls in Unity. Or should i do something else?
If someone lead me, i'd appereciate.
I'm not sure if you can. I know that's not what you're looking for, and don't let me discourage you, but start looking for another answer. I've been trying for a while now, and even with plugins the best I could do cost about $40, and that guy spent about a year working on it. Maybe try manually converting it to C#?

Is there an interactive Python-based environment similar to Mathematica? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am teaching art students the basics of Python and it would be very convenient to add some graphics (drawings, pictures, etc.) in the comments within the code instead of "just" code and text comments.
I have seen some friends using Mathematica and exchanging beautiful files that include graphics, comments, pictures, etc.
Does such a thing exists for Python?
Have you looked at the iPython-Notebook? It allows you to write/run code and use html for notes. If you know html it will be easy to add graphics in too. Not sure if that exactly answers your problem, but it is definitely a nice tool
Link: http://ipython.org/notebook.html

Great flask / other python micro framework code I could learn from [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'd like to look at some good web-app code written in python, just so I can learn some of the patterns / see how I can improve my code.
I've already googled around a bit, used google code search and run a search on github too - but haven't come across a well built, comprehensive app.
Perhaps a book could work as well. Basically, I'm just trying to find a way to learn the basic programming patterns for web-applications.
Any suggestions?
Why not start with the publicly available flask.pocoo.org?
Note: I'm linking to the Github repository on which he has published the code for his website (which runs on flask) rather than the website itself.
IMHO your time would be better invested learning something like Django, because much of what you could improve in a micro framework is already builtin on a bigger framework.

Categories

Resources