Skip to main content

Home/ Python Programming/ Group items tagged IDE

Rss Feed Group items tagged

Chris 089

Project SIKULI - 0 views

  •  
    Sikuli is a visual technology to search and automate graphical user interfaces (GUI) using images (screenshots). The first release of Sikuli contains Sikuli Script, a visual scripting API for Jython, and Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily.
fanhaipeng

git 使用简易指南 - 0 views

  • 可以把 master 换成你想要推送的任何分支。
  • 如果你还没有克隆现有仓库,并欲将你的仓库连接到某个远程服务器
  • 以在你的工作目录中 获取(fetch) 并 合并(merge) 远端的改动。 要合并其他分支到你的当前分支(例如 master),执行:
    • fanhaipeng
       
      1.用远程的进度更新自己的项目 2.但是自己本地也更新了 3.如果双方改的地方不一样,自动合并 4,如果不幸,本地改的和远程改的地方一样 5.先git diff 看不同,vim手动打开文件,修改冲突,然后,git add
  • ...12 more annotations...
  • ,自动合并并非次次都能成功,并可能导致 冲突(conflicts)。 这时候就需要你修改这些文件来人肉合并这些 冲突(conflicts) 了。
  • 自动
  • 在合并改动之前,也可以使用如下命令查看:
  • 工作目录中的文件
  • 你也可以用该提交 ID 的少一些的前几位,只要它是唯一的。
  • git checkout -- <filename>
    • fanhaipeng
       
      和切换分支的命令,前段是一样的
  • HEAD 中的最新内容
  • 已添加到缓存区的改动,以及新文件,都不受影响。
  • 1.0.0 1b2e1d63ff
  • git fetch origin
    • fanhaipeng
       
      1.fetch:取。远程。
  • git reset --hard origin/master
    • fanhaipeng
       
      指向远程最新的?
  • gitk
Jac Londe

JSON Developer's Guide for the Google Feed API - 0 views

  • Using Python The following code snippet shows how to make a request to the Google Feed API using Python. This sample assumes Python 2.4 or higher. You may need to download and install simplejson. import urllib2import simplejsonurl = ('https://ajax.googleapis.com/ajax/services/feed/find?' +       'v=1.0&q=Official%20Google%20Blog&userip=INSERT-USER-IP')request = urllib2.Request(url, None, {'Referer': /* Enter the URL of your site here */})response = urllib2.urlopen(request)# Process the JSON string.results = simplejson.load(response)# now have some fun with the results...
  •  
    JSON Developer's Guide for the Google Feed API - Google Feed API - Google Developers
reckoner reckoner

psychotic - accelerate python code - 0 views

  • sychotic is an innovative optimizing compiler for Python code. It has unique features, the most important of which is that it breaks through the ConstantTimeBarrier. It is very easy to use and has an interface similar to that of the popular Psyco project. Below, you can see a usage example. You can also learn about HowItWorks, the ProjectHistory and KnownIssues. You can also browse the easy-to-understand source especially the alysis.py analyzer module and the dingo.py runtime bootstrap. There is an introductory screencast available (less than 5 minutes long). Usage
reckoner reckoner

Komodo Edit- Free the dragon! - Dynamic Tools for Dynamic Languages - 0 views

    • reckoner reckoner
       
      vi-bindings available customizable keystroke shortcuts non-integrated command window editor supports folding
  •  
    vi-bindings available customizable keystroke shortcuts non-integrated command window editor supports folding
reckoner reckoner

unit step (heaviside) function in sympy? - sympy | Google Groups - 0 views

  • On Mon, May 5, 2008 at 8:22 PM, Reckoner <recko...@gmail.com> wrote: > is there a unit step (heaviside) function in sympy? > I need to work a conditional into a symbolic expression. We have sign which is basically the same thing:
reckoner reckoner

Charming Python: Using state machines - 0 views

  • Charming Python: Using state machinesAlgorithms and programming approaches in Python
reckoner reckoner

Basic Threading in Python - Open Source Web Development Tutorials - 0 views

  • You can "turn an ordinary function into a thread" using the Thread class: just pass the function as the value for the `target' argument: import threading threading.Thread(target=your_function).start()
reckoner reckoner

vimpdb - Google Code - 0 views

  • Tired of debugging Python using print statements? Don't like the cumbersome PDB (Python debugger) console? Prefer using Vim for coding your Python programs? VimPdb is the solution - allows debugging Python in an IDE-fashion, right within the Vim editor.
reckoner reckoner

Winpdb - A Platform Independent Python Debugger » Documentation - 0 views

  • Winpdb is a platform independent GPL Python debugger with support for multiple threads, namespace modification, embedded debugging, encrypted communication and is up to 20 times faster than pdb.
reckoner reckoner

ulipad - Google Code - 0 views

  • UliPad uses Mixin and Plugin technique as its architecture. Most of its classes can be extended via mixin and plugin components, and finally become an integrity class when creating the instance. So UliPad is very dynamic. You can write the new features in new files, and hardly need to modify the existing code. And if you want to extend the existing classes, you could write mixins and plugins, and this will be bound to the target class that I call "Slot Class". This technique will make the changes centralized and easily managed.
reckoner reckoner

dkbza - TeXmacs Python - 0 views

  • A 'Mathematica Notebook' styled interface to Python from within TeXmacs. Blocks of code can be run independently of their order, and full multiline blocks, i.e. function remain visible and easily modifiable.
reckoner reckoner

pyscripter - Using matplotlib with PyScripter - 0 views

  • interpreter:>>>import matplotlib>>>matplotlib.interactive(True)>>>matplotlib.use("WXAgg")>>>from matplotlib.pylab import *>>>plot([1,2,3])>>>xlabel('time (s)') 
reckoner reckoner

Cross platform way of finding number of processors on a machine? - comp.lang.python | G... - 0 views

  • > Is there a way to find the number of processors on a machine (on linux/ > windows/macos/cygwin) using python code (using the same code/cross > platform code)? From processing <http://cheeseshop.python.org/pypi/processing/0.34> : def cpuCount():     '''     Returns the number of CPUs in the system     '''     if sys.platform == 'win32':         try:             num = int(os.environ['NUMBER_OF_PROCESSORS'])         except (ValueError, KeyError):             pass     elif sys.platform == 'darwin':         try:             num = int(os.popen('sysctl -n hw.ncpu').read())         except ValueError:             pass     else:         try:             num = os.sysconf('SC_NPROCESSORS_ONLN')         except (ValueError, OSError, AttributeError):             pass     if num >= 1:         return num     else:         raise NotImplementedError --
reckoner reckoner

Debugging Python in VIM- Peter's Blog - 0 views

  • Following my thoughts yesterday, here are some VIM python scripts to add python breakpoint and debugging features to VIM. With this set up the F7 key will set a breakpoint on a line of code, Shift-F7 will remove all breakpoints and Shift-F12 will execute a script in the python debugger. This only runs on windows as far as I know, because it uses the 'start' command to launch the debugger in a seperate process without VIM waiting for it to finish. This allows you to look through the source code (and fix it) while the debugging is still in progress.
‹ Previous 21 - 40 of 49 Next ›
Showing 20 items per page