Is there a Mercurial or Git version control plugin for PyScripter? [closed]

2024/11/13 18:33:57

I'm using Python 3.x and PyScripter to write my scripts. I really miss a version control feature in PyScripter - I got spoiled by Qt and MpLab X (I believe this is a subversion of Eclipse). Things were easy back than. Now I don't have any version control in PyScripter, but I do have Mercurial installed. I perfectly realise I can manage a Mercurial by hand, but I'm lazy and hate manual work. Any other sleak and smooth options I have? I'm ready to use any other vc system (e.g. git) - I just want to know what is the most painless way (proper one).

Answer

I just read this post that suggests you can simply use the File Explorer menu of PyScripter, which automatically enables all of the functions from Windows Explorer. I have TortoiseGIT installed, and you can see that from PyScripter's File Explorer window, the version control features of TortoiseGIT are enabled (possibly TortoiseHg as mentioned by @Helgi).

Browse to the folder where your python scripts are stored, make changes, commit-->master, all from right inside PyScripter. Very simple!

Run TortoiseGIT from PyScripter

https://en.xdnf.cn/q/72007.html

Related Q&A

How to make a color map with many unique colors in seaborn

I want to make a colormap with many (in the order of hundreds) unique colors. This code: custom_palette = sns.color_palette("Paired", 12) sns.palplot(custom_palette)returns a palplot with 12 …

Swap column values based on a condition in pandas

I would like to relocate columns by condition. In case country is Japan, I need to relocate last_name and first_name reverse.df = pd.DataFrame([[France,Kylian, Mbappe],[Japan,Hiroyuki, Tajima],[Japan,…

How to improve performance on a lambda function on a massive dataframe

I have a df with over hundreds of millions of rows.latitude longitude time VAL 0 -39.20000076293945312500 140.80000305175781250000 1…

How to detect if text is rotated 180 degrees or flipped upside down

I am working on a text recognition project. There is a chance the text is rotated 180 degrees. I have tried tesseract-ocr on terminal, but no luck. Is there any way to detect it and correct it? An exa…

Infinite loops using for in Python [duplicate]

This question already has answers here:Is there an expression for an infinite iterator?(7 answers)Closed 5 years ago.Why does this not create an infinite loop? a=5 for i in range(1,a):print(i)a=a+1or…

How to print the percentage of zipping a file python

I would like to get the percentage a file is at while zipping it. For instance it will print 1%, 2%, 3%, etc. I have no idea on where to start. How would I go about doing this right now I just have the…

kafka-python read from last produced message after a consumer restart

i am using kafka-python to consume messages from a kafka queue (kafka version 0.10.2.0). In particular i am using KafkaConsumer type. If the consumer stops and after a while it is restarted i would lik…

Python lib to Read a Flash swf Format File

Im interested in using Python to hack on the data in Flash swf files. There is good documentation available on the format of swf files, and I am considering writing my own Python lib to parse that dat…

PyQt5 Signals and Threading

I watched a short tutorial on PyQt4 signals on youtube and am having trouble getting a small sample program running. How do I connect my signal being emitted from a thread to the main window?import cp…

Pythons hasattr sometimes returns incorrect results

Why does hasattr say that the instance doesnt have a foo attribute?>>> class A(object): ... @property ... def foo(self): ... ErrorErrorError ... >>> a = A() >>…