- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
20 Posted Topics
Hello, I stupidly terminated 'Windows Logon Application' using TuneUp Process Manager. And as expected, I cannot login using any account. I already tried Startup Recovery, rebooting in safe mode. etc But still, error message appears in login screen I opened the registry files, went to ProfileList and I noticed only … | |
I am unable to proceed any further than [B]loading bar[/B] after turning on my laptop. It's Samsung; Vista, Dual Core. F2 and F12 doesn't work Also, [B]F8 doesn't work[/B]. I already tried pressing all possible key for safe mode so I could load previous configuration but failed. PLEASE HELP. | |
Re: are you using div layers?? try putting your table inside another table | |
Any suggestion what's the best tab to use in loading external pages(html). Im also thinking of adding multiple subtabs within parent tab. I really need expert's opinion on this matter. Thank you | |
anybody knows the limitation of lp in terminal printing. i have noticed that 3rd party applications are not supported, am i right? can anybody gimme a list of applications supported in lp terminal (printing) like .rtf, .png, or TextEdit, Preview. thanks | |
someone knows how to launch an app in mac?? [CODE] import os class LaunchApp: def launch(self): os.startfile("/Applications/QuickTime Player.app") s = LaunchApp() s.launch()[/CODE] this code works on windows and [CODE]os.system('gnome-open ' + /path)[/CODE] on linux but in mac, it returns this error "AttributeError: 'module' object has no attribute 'startfile'" | |
Is it possible in python to open all files in a directory? this only opens a particular file: [CODE]import os path = "/Desktop/directory/file.odt" temp = os.system("open " + path)[/CODE] how about this? am i doing it right? [CODE]import os mypath = "/Desktop/directory" temp = os.listdir(mypath) temp = [os.path.join(mypath, i) for … | |
[CODE]import os from appscript import * this = app(u'System Events').application_processes[param1].windows[param2].exists() while True: this1 = app(u'System Events').application_processes[param1].windows[param2].count(each=k.radio_button) if count == (this1): this2 = app(u'System Events').application_processes[param1].windows[param2].radio_buttons[param3].click() try: os.makedirs(param1) except OSError: if os.path.exists(param1): this3 = os.system('screencapture -C '+ param1 +'/'+ param2) while True: self.param2 = os.path.join(param1, 'win%s_%s_img_%s' % (param1, param2)) return param2 + … | |
f i opened a document in terminal through this [CODE]os.system("open " + pathName)[/CODE] how should i close it? is there something like [CODE]os.system("exit")[/CODE] or something Thanks | |
helo! can anyone help me in automatically saving files with fixed filename in python? the OUTPUT would be like this: FILE- A01.txt FILE- A02.txt FILE- B01.txt File- B02.txt i was hoping that i could save a file automatically after making some changes in the older version. Thank you, Gene | |
Re: cant understand the problem, but maybe the ff could help >> make sure you have sliced the images with the same height and width. >> check your alignment -> center, align left or right >> much better if you put your sliced images on a table inside a div layer | |
hello! i've been trying to create an automated task which it should: 1. open Print 2. choose Printer 3. change Paper Size ( i want to print my doc in all paper size) but i find my code too long and oh i dont know, and i want to simplify … | |
| |
Re: running python code on mac: path = /Users/yourCompName/Desktop/nameOfProjectFolder try this in terminal: cd cd /path python filename.py | |
help! dunno how to convert this in python.. 'contains == ???' in python [CODE]if (basket contains "fruits") then try tell application "Document" to tell application "System Events" to tell application process "Document" to click button "Cancel" of sheet 1 of window "Untitled" tell application "Document" to quit saving no end … | |
[CODE]from Tkinter import * class ButtonHandler: def __init__(self): self.root = Tk() self.root.geometry('600x500+200+200') self.label = Label(self.root, text=str(self.mousedown)) self.can = Canvas(self.root, width='500', height='400', bg='white') self.can.bind("<Motion>",lambda x:self.handler(x,'motion')) self.can.bind("<Button-1>",lambda x:self.handler(x,'press')) self.can.bind("<ButtonRelease-1>",lambda x:self.handler(x,'release')) self.label.pack() self.can.pack() self.root.mainloop() def mouseDown(self, event ): return 1 def handler(self,event,x): if x == 'press': self.mousedown = 1 elif x == 'release': … | |
i need help in controlling mouse click in python. Example would be 'clicking File menu --> Save Us--> Save' on its own. I have this code for launching an app, for example a textfile. but i dont know how to control its mouse click. Advice please. [CODE]import os class LaunchApp: … | |
i want explore the use of PIL but my first try got me this error : ImportError: " No module named ImageGrab " i tried it in terminal by typing 'python -v', 'import Image' but im broke. please help! thanks[CODE] import ImageGrab capture=ImageGrab.grab() capture.save('screen.png')[/CODE] | |
anyone knows how to launch an application, for example, a .exe, in mac?? this code works for me in ubuntu, i tried it in mac but its not working: [CODE]os.system('gnome-open ' + path)[/CODE] | |
im a newbie to python, still learning as of today. as a part of my 'self-training' i listed some topics to practice every week but i was not able to run it successfully and im stuck. what i wanted with my activity is for it to read a .txt file … |
The End.