473,287 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Python web development that resembles PHP or classic ASP

Hi All,

I have been developing websites in classic asp using VB script for a
long while now. Due to the fact that I also took a detour to
developing ColdFusion, and the fact the companies I work(ed) for never
had time or money for courses, I am now in the awkward position that I
am -still- developing classic ASP.

In it, I have become quite resourceful, I wrote a framework using WSC
(windows scripting components) to separate logic from presentation,
and my display pages use almost no logic, except for the loops and
variables I need to build my pages. I have a three-tier setup and all
business logic is in separate WSC files. The framework even uses an
ORM for access to the tables of my database. This works like a charm.
It makes classic ASP code maintainable, it makes working in classic
ASP very pleasant actually and it makes our customers very happy.

The problem is that classic asp is now a dead language, I need to
modernize and fast! Although the arguments some people make against it
are not valid for me (spaghetti code, unmaintainable, slow), I still
see that there is little to no support for it anymore.

The most logical way to "update" my knowledge to something more
modern, would be to dive into ASP.NET. I considered that for a long
time, but there are some problems with this:

1. I love the control I have over my html using inline, template-based
vbscript. ASP.NET's web forms really sound like a very bad idea, also
the approach Microsoft takes in trying to make a stateless web-app
seem like a statefull application is IMHO a burden. I think webapps
are inherently different than desktop apps, and should be programmed
as such.

2. Who says Microsoft isn't going to pull the plug on VB.NET in a
while or make a drastic change like they did from asp to asp.net
again, some time in the future?

3. I like the rapid development I can do in a dynamic, loosely typed
language like vbscript. The performance-bottleneck of a site is mostly
in the database-access and the http-calls and I think writing all of
the declarations and types for a strong-typed language is overkill for
a webapp.

So that's when I started looking at other dynamic languages for
webdevelopment. I looked at Ruby on Rails and at the different web-
frameworks that are available for Python. The biggest problem there
for me is that the MVC type frameworks that are currently very popular
are also not what I'm looking for.

I like having my directory tree conform to the structure of my
website, so the "Controller" part of the MVC style of development is
something I wouldn't want. What I -would- like is a separation of code
and display logic (so being able to include libraries in a page) and
being able to intermix code directly into the HTML.

As Python would be the language I prefer over Ruby, I thought I'd ask
here to see if anyone in the Python community knows if such a
development-framework exists in Python. For example, does IronPython
also use the same web forms approach as asp.net using VB? The
frameworks I looked at (Django, Pylons) seem to be able to use
different templating engines, does that mean it's just a question of
finding the right one?

Also, for Python there is also the problem of meaningful indentation.
I'm not even sure if it's possible to use Python directly inside HTML,
because indentation would be at the very least tricky to maintain. I'm
kind of hoping here that there are some solutions to these problems
available in Python.

Any help would be greatly appreciated.

Kind regards,

Erik
Jun 27 '08 #1
15 2326
er*************@gmail.com skrev:
Hi All,
So that's when I started looking at other dynamic languages for
webdevelopment. I looked at Ruby on Rails and at the different web-
frameworks that are available for Python. The biggest problem there
for me is that the MVC type frameworks that are currently very popular
are also not what I'm looking for.
Hi Erik,

I am an experienced Python developer working mostly in Plone. Before
that I came from asp like you.
If you want something that is most like what you are used to, you should
check out Django. I have not worked in it, but it get high praises from
developers I trust.

http://www.djangoproject.com/
If you want a more "modern" approach you should check out Grok. It has
been built on all the experiences made with Zope 2, CMF and Plone. It is
based on Zope 3.

http://grok.zope.org/

It is the one I would choose if starting from fresh today.
--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

Jun 27 '08 #2
[ Max M <ma**@mxm.dk]
er*************@gmail.com skrev:
>Hi All,
>So that's when I started looking at other dynamic languages for
webdevelopment. I looked at Ruby on Rails and at the different web-
frameworks that are available for Python. The biggest problem there
for me is that the MVC type frameworks that are currently very popular
are also not what I'm looking for.

Hi Erik,

I am an experienced Python developer working mostly in Plone. Before
that I came from asp like you.
If you want something that is most like what you are used to, you should
check out Django. I have not worked in it, but it get high praises from
developers I trust.

http://www.djangoproject.com/
Django is one of these "MFC type frameworks" the OP was excatly _not_
looking for ;)
If you want a more "modern" approach you should check out Grok. It has
been built on all the experiences made with Zope 2, CMF and Plone. It is
based on Zope 3.

http://grok.zope.org/

It is the one I would choose if starting from fresh today.
Grok too is very different from classic asp programming, it even abstracts
much more from HTTP than Django does.

--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
Jun 27 '08 #3
[ er*************@gmail.com <er*************@gmail.com]
1. I love the control I have over my html using inline, template-based
vbscript. ASP.NET's web forms really sound like a very bad idea, also
the approach Microsoft takes in trying to make a stateless web-app
seem like a statefull application is IMHO a burden. I think webapps
are inherently different than desktop apps, and should be programmed
as such.
[...]
3. I like the rapid development I can do in a dynamic, loosely typed
language like vbscript. The performance-bottleneck of a site is mostly
in the database-access and the http-calls and I think writing all of
the declarations and types for a strong-typed language is overkill for
a webapp.

So that's when I started looking at other dynamic languages for
webdevelopment. I looked at Ruby on Rails and at the different web-
frameworks that are available for Python. The biggest problem there
for me is that the MVC type frameworks that are currently very popular
are also not what I'm looking for.

I like having my directory tree conform to the structure of my
website, so the "Controller" part of the MVC style of development is
something I wouldn't want. What I -would- like is a separation of code
and display logic (so being able to include libraries in a page) and
being able to intermix code directly into the HTML.
Summarising, you are searching for a framework, which allows you to embed
much code in templates, follows the directory structure of a classic
conventional website and has ORM features, but does not resemble desktop
programming or use the MVC pattern.

In this case I feel like have to disappoint you, I don't know any such thing
for python. You will have to put this together from different components.

I guess, using a simple WSGI wrapper as Werkzeug or Paste, and combining it
with a powerful ORM like SQLAlchemy and a templating engine, which allows
you to embed full python code in the templates (e.g. Mako), will best suite
your needs, as it gives you the freedom to design the application following
your ideas.

Modern frameworks like Django or Grok require a somewhat great adaption,
since they strongly restrict the programmer's freedom. I doubt, that you
would get Django or Grok working like your asp framework.

--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
Jun 27 '08 #4
Sebastian 'lunar' Wiesner a écrit :
(snip)
Django is one of these "MFC type frameworks"
Actually it's "MVC", not "MFC" !-)

Jun 27 '08 #5
er*************@gmail.com a écrit :
Hi All,
(snip history and reasons to switch from old-style ASP).
>
So that's when I started looking at other dynamic languages for
webdevelopment. I looked at Ruby on Rails and at the different web-
frameworks that are available for Python. The biggest problem there
for me is that the MVC type frameworks that are currently very popular
are also not what I'm looking for.

I like having my directory tree conform to the structure of my
website, so the "Controller" part of the MVC style of development is
something I wouldn't want. What I -would- like is a separation of code
and display logic (so being able to include libraries in a page) and
being able to intermix code directly into the HTML.
There are a couple points I don't get here. Mostly: how is your
application logic separated from the presentation logic if you "intermix
code directly into the HTML" ? Or are you pages including the libs,
getting the appropriate data out of the DB, and then including another
file acting as a template ? If so, then how are you're "pages" different
from MVC frameworks controllers ?
As Python would be the language I prefer over Ruby, I thought I'd ask
here to see if anyone in the Python community knows if such a
development-framework exists in Python.
mod_python + PSP would come to mind - it's probably the closer thing to
ASP/PHP you'll get in Python - but I don't know if PSP is still
maintained, and I would by no mean consider such a "framework" for new
projects (and FWIW, PSP is a bit ugly IMHO).

Mako is a templating engine that let you have quite a lot of Python code
inside your templates, but you'll still need a separate controller for
most things.

Writing a wsgi-compatible framework that uses Mako as template engine
and dispatch to controllers based on the filesystem might not be a very
difficult task, but even then, I don't see the point of such an
arrangement - specially when we already have more web frameworks than
keywords...
For example, does IronPython
also use the same web forms approach as asp.net using VB? The
frameworks I looked at (Django, Pylons) seem to be able to use
different templating engines, does that mean it's just a question of
finding the right one?
Django and Pylons both impose a distinct controller.
Also, for Python there is also the problem of meaningful indentation.
I'm not even sure if it's possible to use Python directly inside HTML,
because indentation would be at the very least tricky to maintain.
It's indeed one of the ugly parts of PSP.
I'm
kind of hoping here that there are some solutions to these problems
available in Python.

Any help would be greatly appreciated.
I sincerely think you'd be better trying to get up and running with one
of the existing MVC solutions like Django or Pylons. Now there are quite
a couple other web frameworks in Python, you know - so perhaps you
should have a closer look at them ?

My 2 cents...
Jun 27 '08 #6
On Mon, 26 May 2008 17:49:01 +0200, Sebastian 'lunar' Wiesner wrote:

[...]
Modern frameworks like Django or Grok require a somewhat great adaption,
since they strongly restrict the programmer's freedom. I doubt, that
you would get Django or Grok working like your asp framework.
Actually, mordern frameworks (at least Djagno) does not "restrict the
programmer's freedom", they only encourage clean design.

It's perfectly possible to write Django app with only one view and url
pattern that redirects everything to different template engine like
Cheetah or Mako and all the logic could be put inside those templates.

But, IMHO, writing PHP-style Python webapp is silly.

Ivan
Jun 27 '08 #7
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[ Ivan Illarionov <iv*************@gmail.com]
On Mon, 26 May 2008 17:49:01 +0200, Sebastian 'lunar' Wiesner wrote:

[...]
>Modern frameworks like Django or Grok require a somewhat great adaption,
since they strongly restrict the programmer's freedom. I doubt, that
you would get Django or Grok working like your asp framework.

Actually, mordern frameworks (at least Djagno) does not "restrict the
programmer's freedom", they only encourage clean design.
Can we agree on the fact, that Django _encourages clean design_ by
_restricting the programmers freedom to some degree_? This comprise would
avoid an endless war about framework philosophy ;) (and isn't so far from
the truth, btw)
It's perfectly possible to write Django app with only one view and url
pattern that redirects everything to different template engine like
Cheetah or Mako and all the logic could be put inside those templates.
Absolutely, but that's not what Django is about. If you don't follow
Django's conventions and don't make use of Djangos facilities like its ORM
or its admin interface, Django just doesn't make sense anymore.

An application such as you outlined would depend on a big, heavy framework
to do a task, that could easily be done with plain WSGI or a WSGI wrapper
like Werkzeug.
But, IMHO, writing PHP-style Python webapp is silly.
I completely agree here, but that's not, what the OP asked for ;)

- --
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg69CIACgkQn3IEGILecb5vyACeLCLF2WfvKS Ue466HeUqZYXj8
AC8An1+sUvbyWiIu9mBixQ9ME0j1Ts+j
=6lQT
-----END PGP SIGNATURE-----
Jun 27 '08 #8
Sebastian 'lunar' Wiesner wrote:
>>Modern frameworks like Django or Grok require a somewhat great
adaption, since they strongly restrict the programmer's freedom. I
doubt, that you would get Django or Grok working like your asp
framework.

Actually, modern frameworks (at least Djagno) does not "restrict the
programmer's freedom", they only encourage clean design.

Can we agree on the fact, that Django _encourages clean design_ by
_restricting the programmers freedom to some degree_? This comprise
would avoid an endless war about framework philosophy ;) (and isn't so
far from the truth, btw)
Yes, it makes very little sense to not follow conventions in Django. I
have no problem with some people call it "some degree of restriction" ;)

If the OP wants PHP-style programming he will get better results with PHP
because PHP was designed this way. Any Pythonic solution will be an
overkill.

Ivan
Jun 27 '08 #9
[ Ivan Illarionov <iv*************@gmail.com]
If the OP wants PHP-style programming he will get better results with PHP
because PHP was designed this way. Any Pythonic solution will be an
overkill.
Better shoot yourself in the foot with a PHP-like Python-thing, than
committing suicide by shooting yourself into the head with PHP ...

--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
Jun 27 '08 #10
On Mon, 26 May 2008 21:26:55 +0200, Sebastian 'lunar' Wiesner wrote:
[ Ivan Illarionov <iv*************@gmail.com]
>If the OP wants PHP-style programming he will get better results with
PHP because PHP was designed this way. Any Pythonic solution will be an
overkill.

Better shoot yourself in the foot with a PHP-like Python-thing, than
committing suicide by shooting yourself into the head with PHP ...
:) I can't imagine anything uglier than Python with its significant
whitespace wrapped inside HTML. I guess it could be more damaging than
PHP which was written exactly for this purpose.
Jun 27 '08 #11
There are a couple points I don't get here. Mostly: how is your
application logic separated from the presentation logic if you "intermix
code directly into the HTML" ? Or are you pages including the libs,
getting the appropriate data out of the DB, and then including another
file acting as a template ? If so, then how are you're "pages" different
from MVC frameworks controllers ?
I have the WSC files as "libraries" I can open in a standard ASP page,
So for example, to get a recordset in one of my ASP pages, I would use
something like

Dim objUsers, Recordset_of_users
Set objUsers= GetObject("script:" & Server.MapPath("/~components/
users.wsc"))
objUsers.open()
Set Recordset_of_users =
objUsers.getUsersByGroup(request.queryString("grou p_id"))
objUsers.close()
Set objUsers= Nothing

I put code like this at the top of my ASP pages, and inside the HTML
code I can use "Recordset_of_users" and loop through it (for example).
All code in the asp pages is getting and setting information, or
looping through it. All real (business) logic is inside the WSC files.

The only real difference is that I don't use the "C" of MVC. I dislike
a controller that calls and routes functionality based on the URL. The
M (model) functionality is covered by the WSC files. The V (view) are
the asp pages themselves. The controller part is handled by the asp
pages aswell, just using regular links, GETs and POSTs in forms.
But, IMHO, writing PHP-style Python webapp is silly.
:) Maybe I need to pick up a new style of programming as well, on top
of just a new language...
Better shoot yourself in the foot with a PHP-like Python-thing, than
committing suicide by shooting yourself into the head with PHP ...
LOL, point taken.

So to summarize: it should be possible to get exactly what I want, but
it's not advisable, because the frameworks aren't designed to work
like this. That makes sense.
I want to thank you guys for all the advice, I have a lot of
frameworks and template-engines to look into now, I'll have a look at
all that you mentioned to see which one suits me best. Judging from
the quick and thorough support from the Python community, I think I
will stick with a proven framework and/or style, so I can ask a
question once in a while.
There is probably less sense in trying to pick up a new language while
at the same time trying to stick to the methods I used in an old
language. But hey, I thought, maybe a thing like this already exists
exactly like I want it... Ah well.

Thanks again all, take care!

Erik

Jun 27 '08 #12
Ivan Illarionov a écrit :
On Mon, 26 May 2008 21:26:55 +0200, Sebastian 'lunar' Wiesner wrote:
>[ Ivan Illarionov <iv*************@gmail.com]
>>If the OP wants PHP-style programming he will get better results with
PHP because PHP was designed this way. Any Pythonic solution will be an
overkill.
Better shoot yourself in the foot with a PHP-like Python-thing, than
committing suicide by shooting yourself into the head with PHP ...

:) I can't imagine anything uglier than Python with its significant
whitespace wrapped inside HTML. I guess it could be more damaging than
PHP which was written exactly for this purpose.
Mako template's syntax looks not so ugly to me:

<%inherit file="base.html"/>
<% rows = [[v for v in range(0,10)] for row in range(0,10)] %>
<table>
% for row in rows:
${makerow(row)}
% endfor
</table>

<%def name="makerow(row)">
<tr>
% for name in row:
<td>${name}</td>\
% endfor
</tr>
</%def>
Jun 27 '08 #13
On Tue, 27 May 2008 09:10:40 +0200, Bruno Desthuilliers wrote:
Ivan Illarionov a écrit :
>On Mon, 26 May 2008 21:26:55 +0200, Sebastian 'lunar' Wiesner wrote:
>>[ Ivan Illarionov <iv*************@gmail.com]

If the OP wants PHP-style programming he will get better results with
PHP because PHP was designed this way. Any Pythonic solution will be
an overkill.
Better shoot yourself in the foot with a PHP-like Python-thing, than
committing suicide by shooting yourself into the head with PHP ...

:) I can't imagine anything uglier than Python with its significant
whitespace wrapped inside HTML. I guess it could be more damaging than
PHP which was written exactly for this purpose.

Mako template's syntax looks not so ugly to me:

<%inherit file="base.html"/>
<% rows = [[v for v in range(0,10)] for row in range(0,10)] %<table>
% for row in rows:
${makerow(row)}
% endfor
</table>

<%def name="makerow(row)">
<tr>
% for name in row:
<td>${name}</td>\
% endfor
</tr>
</%def>
Mako templates are alright. I like them more than Django templates.
Jun 27 '08 #14
er*************@gmail.com a écrit :
>There are a couple points I don't get here. Mostly: how is your
application logic separated from the presentation logic if you "intermix
code directly into the HTML" ? Or are you pages including the libs,
getting the appropriate data out of the DB, and then including another
file acting as a template ? If so, then how are you're "pages" different
from MVC frameworks controllers ?

I have the WSC files as "libraries" I can open in a standard ASP page,
So for example, to get a recordset in one of my ASP pages, I would use
something like

Dim objUsers, Recordset_of_users
Set objUsers= GetObject("script:" & Server.MapPath("/~components/
users.wsc"))
objUsers.open()
Set Recordset_of_users =
objUsers.getUsersByGroup(request.queryString("grou p_id"))
objUsers.close()
Set objUsers= Nothing

I put code like this at the top of my ASP pages, and inside the HTML
code I can use "Recordset_of_users" and loop through it (for example).
All code in the asp pages is getting and setting information, or
looping through it. All real (business) logic is inside the WSC files.
The only real difference is that I don't use the "C" of MVC.
Yes you do. It's exactly what your code snippet above is : a controller.
Or at least the same part of the controller that we identify as such
in web MVC frameworks (the web server and request to handlers mechanism
being the other, less visible but still present part). Having the
controller's code mixed up with the view is pretty common in GUI
toolkits, and not so uncommon in "server pages" frameworks.

I dislike
a controller that calls and routes functionality based on the URL.
Oh yes ? And how is it so different from having the web server routing
to requests to .asp files calls based on a url-filesystem mapping ?-)
Except, of course, that getting rid of the filesystem mapping decouples
the app's urls scheme from the source code inner organisation ?
The
M (model) functionality is covered by the WSC files. The V (view) are
the asp pages themselves. The controller part is handled by the asp
pages aswell, just using regular links, GETs and POSTs in forms.
>But, IMHO, writing PHP-style Python webapp is silly.

:) Maybe I need to pick up a new style of programming as well, on top
of just a new language...
Given your above explanations, I don't think going the "full" MVC route
would require that much changes to your current habits. That is mostly:
splitting the controller part from the view part, and learn to declare
your url mapping instead of physically structuring your source depending
on the url scheme.
>Better shoot yourself in the foot with a PHP-like Python-thing, than
committing suicide by shooting yourself into the head with PHP ...

LOL, point taken.

So to summarize: it should be possible to get exactly what I want, but
it's not advisable, because the frameworks aren't designed to work
like this. That makes sense.
I want to thank you guys for all the advice, I have a lot of
frameworks and template-engines to look into now, I'll have a look at
all that you mentioned to see which one suits me best. Judging from
the quick and thorough support from the Python community, I think I
will stick with a proven framework and/or style, so I can ask a
question once in a while.
May I suggest Pylons ? It's not yet the more stable and finished option,
but from what I know of 'classic' ASP and how you explained to usually
work, I think you might be confortable with it.
There is probably less sense in trying to pick up a new language while
at the same time trying to stick to the methods I used in an old
language.
Hear hear !-)
But hey, I thought, maybe a thing like this already exists
exactly like I want it... Ah well.

Thanks again all, take care!

Erik
Jun 27 '08 #15
On 25 mai, 18:58, erik.oosterw...@gmail.com wrote:
Hi All,

I have been developing websites in classic asp using VB script for a
long while now. Due to the fact that I also took a detour to
developing ColdFusion, and the fact the companies I work(ed) for never
had time or money for courses, I am now in the awkward position that I
am -still- developing classic ASP.

In it, I have become quite resourceful, I wrote a framework using WSC
(windows scripting components) to separate logic from presentation,
and my display pages use almost no logic, except for the loops and
variables I need to build my pages. I have a three-tier setup and all
business logic is in separate WSC files. The framework even uses an
ORM for access to the tables of my database. This works like a charm.
It makes classic ASP code maintainable, it makes working in classic
ASP very pleasant actually and it makes our customers very happy.

The problem is that classic asp is now a dead language, I need to
modernize and fast! Although the arguments some people make against it
are not valid for me (spaghetti code, unmaintainable, slow), I still
see that there is little to no support for it anymore.

The most logical way to "update" my knowledge to something more
modern, would be to dive into ASP.NET. I considered that for a long
time, but there are some problems with this:

1. I love the control I have over my html using inline, template-based
vbscript. ASP.NET's web forms really sound like a very bad idea, also
the approach Microsoft takes in trying to make a stateless web-app
seem like a statefull application is IMHO a burden. I think webapps
are inherently different than desktop apps, and should be programmed
as such.

2. Who says Microsoft isn't going to pull the plug on VB.NET in a
while or make a drastic change like they did from asp to asp.net
again, some time in the future?

3. I like the rapid development I can do in a dynamic, loosely typed
language like vbscript. The performance-bottleneck of a site is mostly
in the database-access and the http-calls and I think writing all of
the declarations and types for a strong-typed language is overkill for
a webapp.

So that's when I started looking at other dynamic languages for
webdevelopment. I looked at Ruby on Rails and at the different web-
frameworks that are available for Python. The biggest problem there
for me is that the MVC type frameworks that are currently very popular
are also not what I'm looking for.

I like having my directory tree conform to the structure of my
website, so the "Controller" part of the MVC style of development is
something I wouldn't want. What I -would- like is a separation of code
and display logic (so being able to include libraries in a page) and
being able to intermix code directly into the HTML.

As Python would be the language I prefer over Ruby, I thought I'd ask
here to see if anyone in the Python community knows if such a
development-framework exists in Python. For example, does IronPython
also use the same web forms approach as asp.net using VB? The
frameworks I looked at (Django, Pylons) seem to be able to use
different templating engines, does that mean it's just a question of
finding the right one?

Also, for Python there is also the problem of meaningful indentation.
I'm not even sure if it's possible to use Python directly inside HTML,
because indentation would be at the very least tricky to maintain. I'm
kind of hoping here that there are some solutions to these problems
available in Python.

*Any help would be greatly appreciated.

Kind regards,

Erik
Hi,

You can take a look at Karrigell (http://karrigell.sourceforge.net).
It's very simple to install, stable (the first version was published
in 2002) and among the programming styles provided you will find
"Python Inside HTML" which is as close as you can get to PHP or ASP

===================
<h1>Squares</h1>
<%
for i in range(10):
print "%s :<b>%s</b>" %(i,i*i)
%>
===================

Regards,
Pierre
Jun 27 '08 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Don Bruder | last post by:
A week or two ago, I asked here about porting Python to C. Got some good answers (Note 1) but now I've got another question. Actually, more a request for clarification of a topic that both the...
36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
9
by: corey.coughlin | last post by:
Alright, so I've been following some of the arguments about enhancing parallelism in python, and I've kind of been struck by how hard things still are. It seems like what we really need is a more...
19
by: Chris Brat | last post by:
I've seen a few posts, columns and articles which state that one of the advantages of Python is that code can be developed x times faster than languages such as <<Insert popular language name...
122
by: C.L. | last post by:
I was looking for a function or method that would return the index to the first matching element in a list. Coming from a C++ STL background, I thought it might be called "find". My first stop was...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.