If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-04-23
Hi,
Previously, I was running using page.py but the command prompt window always appear because i cannot run from the shortcut. (Page-6.1 python3.9.4 windows10)
Now, i just did this (use "pythonw" in page.bat) by NoNaNy.
Many thanks NoNaNy!
Now Page runs from the desktop shortcut! I'm back to studying python.
Thanks to Greg too for wonderful work Learning Page Tutorial!
Thank you to the creator of PAGE Mr. Don Rozenberg !
-joseph
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2023-02-10
It actually worked for me too. Thanks a lot.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have found that sometimes, Windows 10 doesn't update the paths that PAGE sets.
Have you tried to reboot your Windows machine and then trying to double click the icon?
You can also try opening a command prompt and typing :
winpage.bat
You might have to include the path to the PAGE installation. Since I don't know if you used the default path, you can try this :
c:\page\winpage.bat
Please let me know if any of these things worked for you. If not, please provide the command line that the icon uses.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-02-09
no they didn't work.. what is command line??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-02-09
I opened the folder of the app and double clicked the python file and it worked
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, you have two options as far as I can see.
1) edit the information in the shortcut icon
2) use the command prompt.
You can use the Windows Explorer to navigate to the folder you will use for development then press {Ctrl} + L to edit the address bar. In the address bar, type "cmd". This will open a command prompt window in that folder. Then type "python c:\page\page.py".
This is actually the best way to open PAGE, since you will already be in the development folder. You will have access to any assets that you have already put there (like images, databases, etc).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Either open page.py directly from cmd using "python page.py" or edit the bat launcher file to do it for you.
For me, this was the default one : @start /min python3 "%~dp0page.py" %1 %2 %3
it didn't run (running python3 on cmd opens Microsoft store's python page, which is a terrible way to install python in my opinion as of right now) so i removed the 3 from python and it ran okay.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please I downloaded version 6.0.1 and installed it but it doesn't open
Hi, In Windows 10 I use pythonw in page.bat
@start /min pythonw "%~dp0page.py" %1 %2 %3
Hi,
Previously, I was running using page.py but the command prompt window always appear because i cannot run from the shortcut. (Page-6.1 python3.9.4 windows10)
Now, i just did this (use "pythonw" in page.bat) by NoNaNy.
Many thanks NoNaNy!
Now Page runs from the desktop shortcut! I'm back to studying python.
Thanks to Greg too for wonderful work Learning Page Tutorial!
Thank you to the creator of PAGE Mr. Don Rozenberg !
-joseph
It actually worked for me too. Thanks a lot.
We'll need more information in order to help you.
What operating system are you using? Windows, Linux, Mac, Raspberry Pi?
What version of Python are you running?
How are you trying to run the program?
Greg
Last edit: Greg Walters 2021-02-09
windows 10 \ python 3.9
run it by double click the desktop icon
I have found that sometimes, Windows 10 doesn't update the paths that PAGE sets.
Have you tried to reboot your Windows machine and then trying to double click the icon?
You can also try opening a command prompt and typing :
winpage.bat
You might have to include the path to the PAGE installation. Since I don't know if you used the default path, you can try this :
c:\page\winpage.bat
Please let me know if any of these things worked for you. If not, please provide the command line that the icon uses.
Greg
no they didn't work.. what is command line??
I opened the folder of the app and double clicked the python file and it worked
and what is the name of the folder? The complete name.
C:\page
Try opening up a command prompt and try typing:
python c:\page\page.py
yes it works
Well, you have two options as far as I can see.
1) edit the information in the shortcut icon
2) use the command prompt.
You can use the Windows Explorer to navigate to the folder you will use for development then press {Ctrl} + L to edit the address bar. In the address bar, type "cmd". This will open a command prompt window in that folder. Then type "python c:\page\page.py".
This is actually the best way to open PAGE, since you will already be in the development folder. You will have access to any assets that you have already put there (like images, databases, etc).
Either open page.py directly from cmd using "python page.py" or edit the bat launcher file to do it for you.
For me, this was the default one : @start /min python3 "%~dp0page.py" %1 %2 %3
it didn't run (running python3 on cmd opens Microsoft store's python page, which is a terrible way to install python in my opinion as of right now) so i removed the 3 from python and it ran okay.
@start /min python "%~dp0page.py" %1 %2 %3
works!
@start /min python "%~dp0page.py" %1 %2 %3
Better to use...
@start /min py "%~dp0page.py" %1 %2 %3