Hi all.
I try to make the python script with the macro.
As you know, the funtion of macro manager can record the every acticvity in python script. But this script work on the macro manager only. I want to make this script work on the run script menu.
The error message was done when I try to run the macro script.
Message says "C:/Temp/abaqusMacros.py :56: SyntaxWarning: import * only...
Search Result
Collapse
27 results in 0.0045 seconds.
Keywords
Members
Tags
-
I want to make python script in abaqus 6.10
-
Shell script for file content manipulation
Hello there, i'm a newbie for linux and need some help with a script. Basically what i need to do is;
Below are links for pdfs to be opened and the links change dynamically as new content gets in
ORIGINAL FILE CONTENT FORMAT
---------------------
test1.pdf?123xy z
test2.pdf?345xy z
test3.pdf?456xy z
FILE CONTENT FORMAT I NEED
--------------------
test1.pdf
... -
real time updating of subprocess.Popen()
Hii I am new to python and I would like to know how to update the output using the subprocess.Pope n() process. My problem is similar to real time updating of popen, bufsize=0 problems ... but the only variation is that, I would like to get the print statements from the python file like...
Ex:
File_Name.py
Code:i=0 while i <= 1000 : time.sleep(1) print "waiting for 1 second for the %s time"%i
-
Any one have a powershell script to prune DB2 Logfiles?
I am looking for a PowerShell routine that will prune logfiles based on the date of my oldest backup. I keep a week of daily backups and wish to run this routine weekly. Also, as I am brand new to Powershell, how can you schedule it to run from the Windows Scheduler? -
How can I output data in different frame ?
I have 2 frames. One frame has form with text field. What I want is that when I submit form it should call script and post output in diffrent frames. I have in all 5 frames. -
Question about how to solve this problem (Change char)
Hey all,
I am a beginner, and I would like to code a Python script which it will change the string to lower if the string is upper and change the upper to lower if the string is upper.
I've been trying to write this way (it might look horrible)
Code:import re def changeCharacters(stringToChange): string = ''.join(stringToChange).split(' ') regex_uppers
-
PHP script dies after while loop
So I have this while loop in a function that is called in the middle of a page:
Code:while(count($showarray) <= $show_link){ $randindex = rand(0, count($newlinks)); if(!in_array($newlinks[$randindex], $showarray) && $newlinks[$randindex] != "") { $showarray[$showindex] = $newlinks[$randindex]; //print_r($showarray); $showindex++; } }
-
Order of filenames which robocopy works
Hello All
i have a question. i am using Robocopy with AD script to do backup of users local files to network location.
Does anybody knows in what order the Robocopy copies the files? Is it Alphabeticaly by Directory?
thx in advance -
ilya Kraft started a topic How to replace image form folder by another (NEW) image uploaded by user?in PHPHow to replace image form folder by another (NEW) image uploaded by user?
Hello,
Alright, so I came across the following problem. I have system where users can upload their profile images. Images get stored in folders with member id's. The issue is: When user uploads image it get's set as their profile image, but when they upload new image it get's stored in the folder with old image, so now they have 2 profile images. And this causes trouble. I need to automatically delete old image when user uploads new... -
ilya Kraft started a topic How to make php parsing script to insert "<option> from <select>" into database?in PHPHow to make php parsing script to insert "<option> from <select>" into database?
Hello,
Alright so I have had this problem for a while. I have a page on a website where members write their articles and they select a category that is relevant to that article. I have made a following <select> form with <options>
Code:<SELECT NAME="Categories"> <OPTION VALUE="option 1">option 1 <OPTION VALUE="option 2">option 2 <OPTION
-
How can I grant "deny access" to all but 4 tables in a schema?
I have a user that I only want to grant select on 4 tables that are used for his view in his schema. I want to deny him access to all other objects on that schema. Is there a quick way to script this so I don't have to manually specify each table/view etc.? This user is going to make a call to the database directly on the backend, so I can't put security on the GUI.
Any advice would be greatly appreciated.
Ana -
DOS xcopy command, copy only newew than 90d
Hello all,
i am usign with GPO a batch file at logon and logoff of the computers which copies a specific location to a network location for backup reasons.
The data has become big and i need to add to the batch file ONLY the files which were CREATED the last 90 days.
anybody can help?
the batch file command is:
c:
c:\users\%usern ame%\DATA\
xcopy *.* /s /r /e /d /h /y /exclude:\\192.1 68.1.10\nonback upfiles.txt... -
Sithu Thwin started a topic How to detect a textarea and insert onKeyPress into that textarea using javascript?in JavascriptHow to detect a textarea and insert onKeyPress into that textarea using javascript?
I would like to detect a textarea in a form using javascript. And insert onkeypress into that textarea.
I do no want to change original html code for textarea.
I just want to add <script> tag in header section of a page and that <script> tag detect textarea in that page and insert onkeypress event into textarea
Thanks. -
How to add SRC and event Script in same <Script>?
Hi please anybody help me..
Code:<script language="java" type="text/javascript" src="datetimepicker.js">
For combo box also i put some scripting for generating dynamic combo box. so i put the event script
after this
Code:<script language="java" type="text/javascript" src="datetimepicker.js">
-
How do I launch a custom script during updates?
I am using VB.Net Express 2008, and would like to update a local Access database file I'm referencing in my application (i.e. "C:\[Path]...\AppDatabase .mdb")
How can I add to the update process (in addition to setup.exe) a way to automatically copy over the latest mdb file from where the application setup is saved on the network?
I'd basically like to run a simple VBScript to update this file before the application...