Arrange this ppt into presentable form to present in conference

Reading File
Reading File
Browsing Directory

~/

Searching the Web

conference presentation design best practices slide readability guidelines

Browsing Directory

~/attachments

Running Command

mkdir -p "/tmp/workspace/conference_presentation/src" "/tmp/workspace/conference_presentation/output" && python - <<'PY' from pptx import Presentation from pptx.util import Emu p='/tmp/workspace/attachments/0e43bdea-eadf-40d2-8715-11a9d87201bc/Aps temp 1 edit.pptx' prs=Presentation(p) print('SLIDES',len(prs.slides),'SIZE',prs.slide_width,prs.slide_height) for i,s in enumerate(prs.slides,1): print('\n---SLIDE',i,'layout',s.slide_layout.name,'---') for j,sh in enumerate(s.shapes,1): typ=str(sh.shape_type) print(j,typ,sh.name, 'xytwh', round(Emu(sh.left).inches,2),round(Emu(sh.top).inches,2),round(Emu(sh.width).inches,2),round(Emu(sh.height).inches,2)) if getattr(sh,'has_text_frame',False) and sh.text_frame.text.strip(): print('TEXT:',repr(sh.text_frame.text[:1000])) PY

Reading File
Searching PubMed

appendiceal mucinous neoplasm AND management

Running Command

python - <<'PY' import zipfile, os p='/tmp/workspace/attachments/0e43bdea-eadf-40d2-8715-11a9d87201bc/Aps temp 1 edit.pptx' out='/tmp/workspace/conference_presentation/assets' os.makedirs(out,exist_ok=True) with zipfile.ZipFile(p) as z: for n in z.namelist(): if n.startswith('ppt/media/'): fn=os.path.join(out,os.path.basename(n)) open(fn,'wb').write(z.read(n)) print(fn) PY

Finding Sources
Running Command

python - <<'PY' from PIL import Image,ImageDraw import os,glob fs=glob.glob('/tmp/workspace/conference_presentation/assets/*') ims=[] for f in fs: try: im=Image.open(f).convert('RGB'); im.thumbnail((260,180)); ims.append((f,im.copy(),Image.open(f).size)) except Exception as e: print('bad',f,e) print([(os.path.basename(f),sz) for f,im,sz in ims]) out=Image.new('RGB',(600, ((len(ims)+1)//2)*240),'white'); d=ImageDraw.Draw(out) for i,(f,im,sz) in enumerate(ims): x=(i%2)*300+20;y=(i//2)*240+10;out.paste(im,(x,y+30));d.text((x,y),os.path.basename(f)+' '+str(sz),fill='black') out.save('/tmp/workspace/conference_presentation/assets/contact_sheet.jpg') PY

Reading File
!

Error code: 400 - {'error': {'message': 'Your input image may contain content that is not allowed by our content safety system.', 'type': 'invalid_request_error', 'param': None, 'code': 'content_policy_violation'}}

We encountered an error while processing your request. Please try again or reach out to us for help.

โœ‰๏ธhi@orris.care

Arrange this ppt into presentable form to present in conference

!

Error code: 400 - {'error': {'message': 'Your input image may contain content that is not allowed by our content safety system.', 'type': 'invalid_request_error', 'param': None, 'code': 'content_policy_violation'}}

We encountered an error while processing your request. Please try again or reach out to us for help.

โœ‰๏ธhi@orris.care
This is a shared conversation. Sign in to Orris to start your own chat.