This is the slide presenting about how to use Python programming language to create an desktop application at a very basic level.
Target: Non-IT background people who interested in programming.
Windows Script Host is the Host/Execution Environment for different types of scripting languages. WSH officially supports VBScripts JavaScripts through(WScript,CScript). Different types of scripts can execute within the Host Environment with the help of respective Script Engine.
This is the slide presenting about how to use Python programming language to create an desktop application at a very basic level.
Target: Non-IT background people who interested in programming.
Windows Script Host is the Host/Execution Environment for different types of scripting languages. WSH officially supports VBScripts JavaScripts through(WScript,CScript). Different types of scripts can execute within the Host Environment with the help of respective Script Engine.
Create a Bot with Delphi and Telegram - ITDevCon 2016Marco Breveglieri
Bots are virtual assistants and they are able to send messages and notifications, live updates and news to any user and also answering commands and do tasks. With their simplicity and ease of use, they are gaining popularity among local administrations, private companies and other business activities. In this session you will see how to use bots and create a new one from scratch with Delphi leveraging the Telegram Bot platform APIs.
(150324) Everything you ever wanted to know about Studio!Paul Filkin
The powerpoint presented as part of the workshop held in Warsaw in March 2015 during the Translation & Localisation Conference 2015.
I enhanced it a little with some a few extra slides covering some of the things we talked about in addition to the questions submitted beforehand.
Create a Bot with Delphi and Telegram - ITDevCon 2016Marco Breveglieri
Bots are virtual assistants and they are able to send messages and notifications, live updates and news to any user and also answering commands and do tasks. With their simplicity and ease of use, they are gaining popularity among local administrations, private companies and other business activities. In this session you will see how to use bots and create a new one from scratch with Delphi leveraging the Telegram Bot platform APIs.
(150324) Everything you ever wanted to know about Studio!Paul Filkin
The powerpoint presented as part of the workshop held in Warsaw in March 2015 during the Translation & Localisation Conference 2015.
I enhanced it a little with some a few extra slides covering some of the things we talked about in addition to the questions submitted beforehand.
Programming Without Coding Technology (PWCT) Getting Started - The Time MachineMahmoud Samir Fayed
Programming Without Coding Technology (PWCT)
Getting Started - The Time Machine
http://doublesvsoop.sourceforge.net
PWCT 1.9 (Art)
2006-2013 Mahmoud Samir Fayed
msfclipper@yahoo.com
Python online compiler lets you write, share, and compile Python code online – It’s the quickest and easiest Python’s online compiler for almost all versions.
It is not dependent on any installation on your device, so there is no compatibility issue when you run your Python code. It saves you time and money over installing software and buying licenses for incompatible tools.
Spend less time setting up a programming environment and more time writing code. Your code can be run instantly from any device. You can paste or type the Python code and click “Compile” to see your code output.
Python Online Compiler is one of the most convenient Python’s online compiler for anyone who is looking for a quick and easy way to create, share or compile Python code online – It can be a practical option for those who are just getting started with Python or those who don’t have Python installed on their computer.
Whether you are looking to test out code or debug an existing program, it is the ideal solution for students, professionals, and hobbyists.
Features:
Our compiler provides a wide range of features, such as syntax highlighting, auto-completion, and debugging tools. Writing and testing code is more accessible this way, as is identifying errors and fixing them faster.
Because no environment or dependencies have to be managed, testing code is streamlined and efficient.
Here are some of the key features of a Python online compiler:
Code editor
Python online compiler provides a code editor that allows you to write, edit, and format Python code online.
Python Online Compiler and editor include features such as :
Our editor includes a code formatting feature that helps ensure your code is properly indented and organized, making it easier to read and understand.
Different syntax elements in your code are highlighted by the editor, facilitating the identification of keywords, functions, and other language constructs.
Line numbering is available in the editor, helping you quickly locate specific lines of code and making it easier to identify errors.
A find and replace feature is included in the editor, enabling you to quickly search for specific code snippets and replace them with new ones.
Our editor includes a reset button that allows you to quickly load the initial code or clear the current code, making it easy to start over with a clean slate.
Our editor supports full-screen mode, which expands the editor to take up the entire screen, giving you more space to work with and reducing distractions.
Our editor also includes an execution history feature that allows you to view up to 5 previously executed code snippets. This is useful for quickly referring back to previous code or for debugging purposes.
Our editor provides the option to adjust the font size of the code editor, making it easier to read and write code, especially for users who prefer larger or smaller text sizes.
]
Python is a high-level, object-oriented, interpreted programming language, which has garnered worldwide attention. Stack Overflow found out that 38.8% of its users mainly use Python for their projects. According to the website’s survey, Python’s popularity surpassed that of C# in 2018 – just like it surpassed PHP in 2017. On the GitHub platform, Python surpassed Java as the second-most used programming language, with 40% more pull requests opened in 2017 than in 2016. This makes Python certification one of the most sought-after programming certifications.
If you're referring to acquisitions made by companies prior to the implementation of the Goods and Services Tax (GST), here are some acquisitions that occurred before GST was introduced:
Facebook (Meta Platforms, Inc.):
Instagram (Acquired in 2012)
WhatsApp (Acquired in 2014)
Oculus VR (Acquired in 2014)
Alphabet Inc. (Google):
YouTube (Acquired in 2006)
DoubleClick (Acquired in 2008)
Nest Labs (Acquired in 2014)
Amazon:
Zappos (Acquired in 2009)
Twitch (Acquired in 2014)
Microsoft Corporation:
LinkedIn (Acquired in 2016)
Skype (Acquired in 2011)
Apple Inc.:
Beats Electronics (Acquired in 2014)
Shazam (Acquisition announced in 2017, completed in 2018)
Oracle Corporation:
Sun Microsystems (Acquired in 2010)
Siebel Systems (Acquired in 2006)
IBM (International Business Machines Corporation):
Cognos (Acquired in 2007)
SPSS (Acquired in 2009)
Salesforce:
Tableau Software (Acquired in 2019)
MuleSoft (Acquired in 2018)
Cisco Systems:
WebEx (Acquired in 2007)
Meraki (Acquired in 2012)
Intel Corporation:
McAfee (Acquired in 2011)
Altera Corporation (Acquired in 2015)
These are just a few examples of acquisitions made by companies prior to the implementation of GST. These acquisitions have played significant roles in shaping the strategies and offerings of these tech giants.
If you're referring to acquisitions made by companies prior to the implementation of the Goods and Services Tax (GST), here are some acquisitions that occurred before GST was introduced:
Facebook (Meta Platforms, Inc.):
Instagram (Acquired in 2012)
WhatsApp (Acquired in 2014)
Oculus VR (Acquired in 2014)
Alphabet Inc. (Google):
YouTube (Acquired in 2006)
DoubleClick (Acquired in 2008)
Nest Labs (Acquired in 2014)
Amazon:
Zappos (Acquired in 2009)
Twitch (Acquired in 2014)
Microsoft Corporation:
LinkedIn (Acquired in 2016)
Skype (Acquired in 2011)
Apple Inc.:
Beats Electronics (Acquired in 2014)
Shazam (Acquisition announced in 2017, completed in 2018)
Oracle Corporation:
Sun Microsystems (Acquired in 2010)
Siebel Systems (Acquired in 2006)
IBM (International Business Machines Corporation):
Cognos (Acquired in 2007)
SPSS (Acquired in 2009)
Salesforce:
Tableau Software (Acquired in 2019)
MuleSoft (Acquired in 2018)
Cisco Systems:
WebEx (Acquired in 2007)
Meraki (Acquired in 2012)
Intel Corporation:
McAfee (Acquired in 2011)
Altera Corporation (Acquired in 2015)
These are just a few examples of acquisitions made by companies prior to the implementation of GST. These acquisitions have played significant roles in shaping the strategies and offerings of these tech giants.
If you're referring to acquisitions made by companies prior to the implementation of the Goods and Services Tax (GST), here are some acquisitions that occurred before GST was introduced:
Facebook (Meta Platforms, Inc.):
Instagram (Acquired in 2012)
WhatsApp (Acquired in 2014)
Oculus VR (Acquired in 2014)
Alphabet Inc. (Google):
YouTube (Acquired in 2006)
DoubleClick (Acquired in 2008)
Nest Labs (Acquired in 2014
wxFormBuilder - Tutorial on “A GUI for making GUIs” for PythonUmar Yusuf
wxFormBuilder - Tutorial on “A GUI for making GUIs” for Python
Graphical User Interfaces (GUIs) in Python are commonly created using Tk via the Tkinter package. However, at the moment of writing this post, designing GUI via the Tkinter package is done purely in code (python syntax) which means that a simple dialog window may consist of approximately 100+ lines of code.
Wouldn’t it be pleasant if we had a visual tool for making GUIs? That is “A GUI for making GUIs”. Creating GUI with code (WxPython) is too tedious work and it requires lots of attention and time. With WXFormBuilder, you create GUI much faster and efficiently in less time. In most cases this is faster than writing this code by hand.
That is what ‘wxFormBuilder’ is set to realize. WxFormBuilder is a Rapid Application Development (RAD) tool for wxWidgets GUI design. It is an open source GUI designer application for wxWidgets toolkit, which allows creating cross-platform applications.
WxFormBuilder allows you to design your GUIs visually and save them in a wxFormBuilder Project File - *.fbp file (which is just an XML file listing every component in your GUI and defining each component’s properties). Then, the *.fbp file can be converted automatically into a Python *.py file ready to be imported into your Python program. It also serves as Source code generation other programming languages are supported such as: C++, PHP, Lua and XRC.
Tutorial objective:
I will guide you through the basics of wxFormBuilder as used with wxPython generated code. The goal is for you to build a usable First GUI in Python.
UNIT-1 : 20ACS04 – PROBLEM SOLVING AND PROGRAMMING USING PYTHON Nandakumar P
Unit 1 : INTRODUCTION TO PROBLEM SOLVING, EXPRESSION AND DATA TYPES
Fundamentals: what is computer science - Computer Algorithms - Computer Hardware - Computer software - Computational problem solving using the Python programming language - Overview of Python, Environmental Setup, First program in Python, Python I/O Statement. Expressions and Data Types: Literals, Identifiers and Variables, Operators, Expressions. Data types, Numbers, Type Conversion, Random Number.
Problem solving: Restaurant Tab calculation and Age in seconds.
E-commerce Application Development Company.pdfHornet Dynamics
Your business can reach new heights with our assistance as we design solutions that are specifically appropriate for your goals and vision. Our eCommerce application solutions can digitally coordinate all retail operations processes to meet the demands of the marketplace while maintaining business continuity.
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteGoogle
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-pilot-review/
AI Pilot Review: Key Features
✅Deploy AI expert bots in Any Niche With Just A Click
✅With one keyword, generate complete funnels, websites, landing pages, and more.
✅More than 85 AI features are included in the AI pilot.
✅No setup or configuration; use your voice (like Siri) to do whatever you want.
✅You Can Use AI Pilot To Create your version of AI Pilot And Charge People For It…
✅ZERO Manual Work With AI Pilot. Never write, Design, Or Code Again.
✅ZERO Limits On Features Or Usages
✅Use Our AI-powered Traffic To Get Hundreds Of Customers
✅No Complicated Setup: Get Up And Running In 2 Minutes
✅99.99% Up-Time Guaranteed
✅30 Days Money-Back Guarantee
✅ZERO Upfront Cost
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Mobile App Development Company In Noida | Drona InfotechDrona Infotech
Looking for a reliable mobile app development company in Noida? Look no further than Drona Infotech. We specialize in creating customized apps for your business needs.
Visit Us For : https://www.dronainfotech.com/mobile-application-development/
May Marketo Masterclass, London MUG May 22 2024.pdfAdele Miller
Can't make Adobe Summit in Vegas? No sweat because the EMEA Marketo Engage Champions are coming to London to share their Summit sessions, insights and more!
This is a MUG with a twist you don't want to miss.
Transform Your Communication with Cloud-Based IVR SolutionsTheSMSPoint
Discover the power of Cloud-Based IVR Solutions to streamline communication processes. Embrace scalability and cost-efficiency while enhancing customer experiences with features like automated call routing and voice recognition. Accessible from anywhere, these solutions integrate seamlessly with existing systems, providing real-time analytics for continuous improvement. Revolutionize your communication strategy today with Cloud-Based IVR Solutions. Learn more at: https://thesmspoint.com/channel/cloud-telephony
Zoom is a comprehensive platform designed to connect individuals and teams efficiently. With its user-friendly interface and powerful features, Zoom has become a go-to solution for virtual communication and collaboration. It offers a range of tools, including virtual meetings, team chat, VoIP phone systems, online whiteboards, and AI companions, to streamline workflows and enhance productivity.
Artificia Intellicence and XPath Extension FunctionsOctavian Nadolu
The purpose of this presentation is to provide an overview of how you can use AI from XSLT, XQuery, Schematron, or XML Refactoring operations, the potential benefits of using AI, and some of the challenges we face.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxrickgrimesss22
Discover the essential features to incorporate in your Winzo clone app to boost business growth, enhance user engagement, and drive revenue. Learn how to create a compelling gaming experience that stands out in the competitive market.
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Crescat
Crescat is industry-trusted event management software, built by event professionals for event professionals. Founded in 2017, we have three key products tailored for the live event industry.
Crescat Event for concert promoters and event agencies. Crescat Venue for music venues, conference centers, wedding venues, concert halls and more. And Crescat Festival for festivals, conferences and complex events.
With a wide range of popular features such as event scheduling, shift management, volunteer and crew coordination, artist booking and much more, Crescat is designed for customisation and ease-of-use.
Over 125,000 events have been planned in Crescat and with hundreds of customers of all shapes and sizes, from boutique event agencies through to international concert promoters, Crescat is rigged for success. What's more, we highly value feedback from our users and we are constantly improving our software with updates, new features and improvements.
If you plan events, run a venue or produce festivals and you're looking for ways to make your life easier, then we have a solution for you. Try our software for free or schedule a no-obligation demo with one of our product specialists today at crescat.io
Graspan: A Big Data System for Big Code AnalysisAftab Hussain
We built a disk-based parallel graph system, Graspan, that uses a novel edge-pair centric computation model to compute dynamic transitive closures on very large program graphs.
We implement context-sensitive pointer/alias and dataflow analyses on Graspan. An evaluation of these analyses on large codebases such as Linux shows that their Graspan implementations scale to millions of lines of code and are much simpler than their original implementations.
These analyses were used to augment the existing checkers; these augmented checkers found 132 new NULL pointer bugs and 1308 unnecessary NULL tests in Linux 4.4.0-rc5, PostgreSQL 8.3.9, and Apache httpd 2.2.18.
- Accepted in ASPLOS ‘17, Xi’an, China.
- Featured in the tutorial, Systemized Program Analyses: A Big Data Perspective on Static Analysis Scalability, ASPLOS ‘17.
- Invited for presentation at SoCal PLS ‘16.
- Invited for poster presentation at PLDI SRC ‘16.
AI Genie Review: World’s First Open AI WordPress Website CreatorGoogle
AI Genie Review: World’s First Open AI WordPress Website Creator
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-genie-review
AI Genie Review: Key Features
✅Creates Limitless Real-Time Unique Content, auto-publishing Posts, Pages & Images directly from Chat GPT & Open AI on WordPress in any Niche
✅First & Only Google Bard Approved Software That Publishes 100% Original, SEO Friendly Content using Open AI
✅Publish Automated Posts and Pages using AI Genie directly on Your website
✅50 DFY Websites Included Without Adding Any Images, Content Or Doing Anything Yourself
✅Integrated Chat GPT Bot gives Instant Answers on Your Website to Visitors
✅Just Enter the title, and your Content for Pages and Posts will be ready on your website
✅Automatically insert visually appealing images into posts based on keywords and titles.
✅Choose the temperature of the content and control its randomness.
✅Control the length of the content to be generated.
✅Never Worry About Paying Huge Money Monthly To Top Content Creation Platforms
✅100% Easy-to-Use, Newbie-Friendly Technology
✅30-Days Money-Back Guarantee
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIGenieApp #AIGenieBonus #AIGenieBonuses #AIGenieDemo #AIGenieDownload #AIGenieLegit #AIGenieLiveDemo #AIGenieOTO #AIGeniePreview #AIGenieReview #AIGenieReviewandBonus #AIGenieScamorLegit #AIGenieSoftware #AIGenieUpgrades #AIGenieUpsells #HowDoesAlGenie #HowtoBuyAIGenie #HowtoMakeMoneywithAIGenie #MakeMoneyOnline #MakeMoneywithAIGenie
Atelier - Innover avec l’IA Générative et les graphes de connaissancesNeo4j
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Allez au-delà du battage médiatique autour de l’IA et découvrez des techniques pratiques pour utiliser l’IA de manière responsable à travers les données de votre organisation. Explorez comment utiliser les graphes de connaissances pour augmenter la précision, la transparence et la capacité d’explication dans les systèmes d’IA générative. Vous partirez avec une expérience pratique combinant les relations entre les données et les LLM pour apporter du contexte spécifique à votre domaine et améliorer votre raisonnement.
Amenez votre ordinateur portable et nous vous guiderons sur la mise en place de votre propre pile d’IA générative, en vous fournissant des exemples pratiques et codés pour démarrer en quelques minutes.
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Using Python inside Programming Without Coding Technology (PWCT) Environment
1. Using Python inside Programming Without Coding Technology (PWCT) environment Author : Mahmoud Samir Fayed (msfclipper@yahoo.com) – Last update (2013/12/09) Introduction In this article we are going to learn how to use Python inside Programming Without Coding Technology (PWCT) environment through PythonPWCT. Python is a free open source general purpose scripting language (known and widely used by many programmers and software developers). Python is a text based programming language where the programmer type text based instructions using the language syntax to determine the function of the program and get the required results. Python is known as easy to learn scripting language with powerful features like Multi-paradigm (Imperative, Object-Oriented, Functional, etc), rich standard library and extension system using the C programming language. There are many tools and libraries for Python that can be used based on the application domain to get the task done in short time, for example we can use a GUI framework like wxPython, PyQt, PySide or PyGTK to create rich GUI applications, We can use a web framework like Django, TurboGears, Zope2, or web2py to create web applications. What ever the domain you may find python frameworks to help you in your task. Programming Without Coding Technology is a free open source general purpose visual programming system. Inside PWCT we can create programs using visual programming without typing text based source code. This seems to be an attractive feature for novice programmers, but PWCT is designed to take in mind some of the expert programmer needs (Productivity and Customization). When we create applications using PWCT we can see/edit the generated source code (optional). PWCT system contains more than one visual programming language (HarbourPWCT, PythonPWCT, C#PWCT, SupernovaPWCT & CPWCT). from the name of the visual language we can guess the text based language that are used in the code generation process. PythonPWCT is a visual programming language that generate the source code in the Python programming language. We will learn how to create our first application using PythonPWCT, how to see/edit the generated source code and how to play with the environment to get more productivity and
2. get advantages from customization. Background You can get a quick background about PWCT from this article Using the code The next code is a very simple program written in Python. The first line print "Hello World" message on the screen, then we have a For loop start from 0 to 9 using range(10), inside this loop we print the loop variable (x) and before printing the variable value we check if the variable value equal three, if this happens (must happen) we print the message "this is number three". print "Hello World" for x in range ( 10 ): if x == 3 : print "This is number three" print x The program is just a test for the print command, for loop and if statement. This program is text based (As we said before Python is a text based programming language). Using PythonPWCT, the program representation (after create it using visual programming step by step) will be as in the next figure
3. We see that inside the PWCT visual programming environment, the program representation is done using a tree of steps, each node inside this tree have properties (Type, Text & Color). When we write Python code directly, we have only the Text and this text must follow the Python Syntax rules but using the steps tree, the visual representation is a layer between the programmer and the text based code. this layer gives as the ability to customize the program representation without restriction from the Python language syntax. We have the freedom to change the step text, we can write it using a natural language (English, French, Arabic etc). we can keep it very short or too long or something in the middle based on what we prefer, we can change the order and put keywords first or the data first. You will see that the steps tree contains steps like (End of if statement) and (End of for loop) and we know that the Python language don't use keywords to end a block. Using the steps tree we can get this feature, also we can avoid it and remove these steps. This decision is left for the programmer. One of the ideas behind PWCT is to let the programmer control the process, the programmer decide how the program representation looks, select the keywords that will be used to create the program, control the generated source code, work with a team on the same project where each programmer see the program in his own language without confusing other programmers. Now we will create this program step by step to see how we can do this at the practical side [1] Download PWCT, we will work using PWCT 1.9 (Art) Rev. 2013.10.15 , you don't need to have Python, PWCT comes with Python 2.7 PWCT is a MS-Windows product, when you download the software you can install it using the Setup program, you can determine the path of the installation, the default path is C:PWCT19 After installing PWCT, you will find Python in C:PWCT19SSBUILSPython27 , but we will not use Python directly, we will work through PWCT environment. [2] After installing PWCT, we will get the environment shortcut, use it to run the PWCT environment
4. [3] The PWCT environment looks as in the next figure, the default visual programming language is HarbourPWCT, this visual language generate the source code in the Harbour programming language, we will switch to PythonPWCT to generate the source code in the Python programming language. To change the active visual programming language, from the toolbar we have a combobox where we can select the visual language. When you install PWCT you will find HarbourPWCT, CPWCT, C#PWCT, PythonPWCT and SupernovaPWCT (WebPWCT still under development ). [4] When we select PythonPWCT, we can start developing our application, from the file menu select new, then select the template "PWCT Application - Main Goal" then
5. determine the project file name, for example ( Lesson1.ssf ) and you can put the project file in a folder to see the project files in one place. In the start, when we create Lesson1.ssf we will have two files inside the application folder (Lesson1.ssf & Lesson1.fpt) these files will be used for storing information about the visual source of the program When we run the program we will get Lesson1.py (the Python program file). Inside PWCT environment, the default active window is the "Goal Designer" window, inside the visual programming world of PWCT, you can conside the Goal Designer as the tool that will replace your code editor when you write the code directly. You can call the Goal Designer as the Visual Editor of the program. This visual editor can work in two modes, The first mode is "Syntax Directed Editor" mode, where you create the program and the editor put restrictions about what you can do to avoid the errors (Syntax Errors, here in visual programming a syntax error is an error that happens when you put a component in an incorrect location). The second mode is "Free Editor + VPL Compiler" where the Syntax Directed Editor is off and you have the freedom to make errors then you can use the VPL (Visual Programming Language) compiler to discover these errors. The default mode is the first mode "Syntax Directed Editor is ON". [5] The active step in the step tree is called "The First Step", the step type is a comment, we have two types of steps inside the step tree, the first is a comment and the other step is instruction where each step of type instruction hide a block of the generated code. The step text "The First Step" can be changed by the programmer using the edit button
6. [6] Now we will go forward towards creating our program, at first we want to print "Hello World" message on the screen, to do this we will generate a new step inside the step tree. The process of adding new generated steps in the steps tree is called "Interaction", to start new interaction process, we click on the interact button, or we can press CTRL+T Another method instead of clicking on the button or pressing CTRL+T we can start the interaction process by typing the required component name. for example we want to generate a step that print text on the screen. the component that can be used to do this is called "Print Text", we can start the interaction processing by typing the first letter in the component name, in this situation the first letter is "P" so we can just press "P". [7] When we start new interaction process, we get the components browser window. You can consider the components browser as a "Toolbox". We have the Domain Tree and each item in the Domain Tree contains list of components. We can explore the components using the mouse and we can quickly select a component using the keyboard through the interactive search process. Now we have the domain "Console" and we are going to use the component "Print Text in New Line".
7. When we select a component we can click Ok to use it, or we can press "ENTER" We can press "ESC" or click on Cancel to end the interaction process without doing anything. [8] When we select a component using the components browser, we will get the "Interaction Using Transporter" window. this window is a date-entry form where we enter the data to the component. the name "Transporter" is just another name replacement for "component" inside PWCT. this name comes because the component get data from the programmer then transport this data two times, one time for the visual representation of the program "steps tree" and another time for the generated source code. In the interaction page we will type the text "Hello World" then we can click on the Ok button or we can press CTRL+W. We can use the same component more than one time by clicking on the Again button or by pressing CTRL+A. This component is very simple, the component do one function (print text) and contains one interaction page, other components may do more than one function and may contails more than one interaction page.
8. [9] When we enter the required data to the component then click on OK, we come back to the Goal Designer window, but this time we see a new step is generated in the steps tree To run the program use the button "!" from the toolbar or press CTRL+R To see the generated source code after running the program, see the file Lesson1.py in the application folder. To see the generated source code behind a step, select the step then click on the "Step Code" button
9. [10] Now we will continue creating our program, select the first step then start new interaction process, at this time we will select the "For Loop" component. In the interaction page, we will see that the component contains default values, these values are the values that we need in our program so we will not change anything We will get the next steps tree, and the active step will be the step "Start Here", from this
10. step we can start new interaction process. [11] We will use the "IF Statement" component to check the for loop variable value. The if statement component will ask us to enter the conditon, we wil type x==3 After using the IF Statement component, we will get the next steps tree
11. [12] We can use the component "Print Text" from the step "Start Here" inside the IF Step and from the Step "Start Here" inside the For step to get the final steps tree of our program Now we can run the program (CTRL+R) and we can look at the generated source code (Lesson1.py) The next figure is a screen shot for the program during the runtime.
12. In the next figure we see the file Lesson1.py opened using Python IDE. Now we will create another application, this time we will create a GUI application At first we will create new project (Lesson2.SSF) From the first step we will start new interaction process, select the domain "Window" then the component "Window", we can do this quickly by typing "w" from the steps tree.
13. When we use the window component, we will get the next interaction page, enter the window title "PythonPWCT" then press CTRL+W In this interaction page we see more options, we can determine the window properties, window name and window type. We can select the window type from the listbox After entering the data to the component, we get the next steps tree
14. We can open the Form Designer, using the form designer button or by pressinf CRTL+F Using the form designer window we can quickly design the user interface We can add new controls, select one or more of controls, set the position, font and colors To add new controls to the window, you can add it using interaction process from the steps tree or using "Add control" button from the form designer. To change the backcolor of the window, you can use the "Back color" button. We will add a Label control to our window, then we will set the font size of this control
15. using the Font dialog From the interaction page, set the label caption to "Welcome"
16. After adding the label control to the window, click on the Font button to set the font size We will add a button to our window, when the user click on this button, the application will be closed. We will set the checkbox Comman status to be True (ON) and we will type the command function to be master.quit
17. Using the form designer we will set the position of the label and the button. we will set the label color and the button color and backcolor The next figure presents the final steps tree of our program
18. We can press CTRL+R to run the program, and we can see the generated source code in the file Lesson2.py The next figure is a screen shot for the application during the runtime. The next figure is a screen shot for the generated source code (Lesson2.py) opened using Python IDE
19. Points of Interest We learned how to see the generated source code (written in Python) behind the program or behind one step, you will notice that when you see the generated code behind a step that the generated code is read only (you can't modify it). this is just be cause the Syntax Directed Editor is ON, if you want to modify the generated code just set the Syntax Direct Editor OFF and you can do that but this is not a good practice unless you want to do quick somthing for test. When you create a step as comment, you can (if you want) add a block of code behind this step. The advantage from using PWCT environment is Productivity and Customization, you can work faster using the keyboard shorutcuts and you can use the mouse to explore the environment when you forget somthing, and you can use customization to set the environment options that let you be more productive. In this section of our article i will talk about some of PWCT features that let you customize the environment [1] You can change the component name To change a component name, from the menubar select "Domain Tree" then "Reinstall component" You will get the next window from the "Reinstall component" window, you can select any component and change the component name in the domain tree. Using this feature you can rename components names then you can quickly find these
20. components using the components browser by typing the component name in the search line. [2] You can change the generated steps names and the generated source code When you reinstall a component, you can open this component by clicking on the button "Open" This will move you to the transporter designer window. inside this window the component is created and can be modifed From the transporter designer, you will see the interaction pages that are used by the component You can open the interaction page using the interaction designer, you can modify the data-entry forms You can set the default values, resize controls and set colors
21. Using the transporter designer, in the Code Mask section, you can modify the script that controls the steps generation process and the code generation process PWCT environment contains a scripting language (domain-specific) for writing the code mask script. this language contains simple commands that can be use to control the process of generating steps and code. [3] You can select steps colors, Show/Hide steps based on what you are doing From the goal designer window, you can click on the Steps Colors button to get a window to select the steps colors
22. An important feature in this window is that you can hide some steps based on the step type, for example you can hide steps of type Generated (Leaf), you can do this by selecting "Read Mode" from the styles or by setting the font color as the back color to the White color. Doing this with PythonPWCT will hide steps like (End of IF Statement) and (End of For Loop) When we apply this feature to the first application created in this article, we will get the next steps tree [4] The Time Dimension One of the advantages of PWCT environment is that you can use the time dimension. In the Goal Designer environment you have the time slider where you can move along the application constuction process, move to a point in the past then you can run the program at this point Also you can play the program as movie (step by step) to learn how to create the program. During playing the program as movie you can ask PWCT to document the program, this way the documentation of PWCT samples is generated and avaiable online
23. (documentation is written by PWCT). For more information about this point, you can read this article History PWCT started as a research project in Dec. 2005, the first version released in 2008, the latest release released in 2013. Unlike many visual programming languages that are developed for novice programmers, PWCT is designed for novice and expert programmer who is looking for productivity and customization. As any programming tool you need to try PWCT then decide for yourself if it is useful or not. I hope that some Python programmers will find that PythonPWCT is useful for them and they will like this article as an introduction to PythonPWCT.