Hi Everyone,
I am relatively new to Python so please forgive me for what seems like
a basic question.
Assume that I have a list, a, composed of nested lists with string
representations of integers, such that
a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
I would like to convert this to a similar list, b, where the values
are represented by integers, such as
b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
I have unsuccessfully tried the following code:
n = []
for k in a:
n.append([int(v) for v in k])
print n
Does anyone know what I am doing wrong?
Thanks in advance.
Samir 12 13398
Samir wrote:
Hi Everyone,
I am relatively new to Python so please forgive me for what seems like
a basic question.
Assume that I have a list, a, composed of nested lists with string
representations of integers, such that
a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
I would like to convert this to a similar list, b, where the values
are represented by integers, such as
b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
I have unsuccessfully tried the following code:
n = []
for k in a:
n.append([int(v) for v in k])
print n
Does anyone know what I am doing wrong?
Thanks in advance.
Samir
-- http://mail.python.org/mailman/listinfo/python-list
You didn't tell us how it failed for you, so I can't guess what's wrong.
However, your code works for me:
>>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']] n = [] for k in a:
.... n.append([int(v) for v in k])
....
>>print n
[[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
(Although you seem to have confused variables b and n.)
Gary Herron
On Jul 21, 3:20*pm, Gary Herron <gher...@island training.comwro te:
Samir wrote:
Hi Everyone,
I am relatively new to Python so please forgive me for what seems like
a basic question.
Assume that I have a list, a, composed of nested lists with string
representations of integers, such that
a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
I would like to convert this to a similar list, b, where the values
are represented by integers, such as
b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
I have unsuccessfully tried the following code:
n = []
for k in a:
* * n.append([int(v) for v in k])
print n
Does anyone know what I am doing wrong?
Thanks in advance.
Samir
-- http://mail.python.org/mailman/listinfo/python-list
You didn't tell us how it failed for you, so I can't guess what's wrong.
However, your code works for me:
*>>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
*>>n = []
*>>for k in a:
... * *n.append([int(v) for v in k])
...
*>>print n
[[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
(Although you seem to have confused variables b and n.)
Gary Herron- Hide quoted text -
- Show quoted text -
Hi Gary,
Thanks for your quick response (and sorry about mixing up b and n).
For some reason, the logic I posted seems to work ok while I'm using
the Python shell, but when used in my code, the program just hangs.
It never outputs the results. Below is the code in its entirety. Is
there a problem with my indendentation?
a = n = []
t = """
1 2
3
4 5 6
7 8 9 0
"""
d = t.split("\n")
for x in range(1,len(d)-1):
a.append(d[x].split(" "))
print a
for k in a:
n.append([int(v) for v in k])
print n
Thanks again.
Samir
On Jul 22, 6:11 am, Samir <spytho...@gmai l.comwrote:
[snip]
For some reason, the logic I posted seems to work ok while I'm using
the Python shell, but when used in my code, the program just hangs.
It never outputs the results. Below is the code in its entirety. Is
there a problem with my indendentation?
a = n = []
t = """
1 2
3
4 5 6
7 8 9 0
"""
d = t.split("\n")
for x in range(1,len(d)-1):
a.append(d[x].split(" "))
print a
for k in a:
n.append([int(v) for v in k])
To see what is happening, insert some print statements, plus something
to slow it down e.g.
for k in a:
print id(a), a
print id(n), n
n.append([int(v) for v in k])
raw_input('Hit Enter to continue ->')
>
print n
Samir wrote:
On Jul 21, 3:20 pm, Gary Herron <gher...@island training.comwro te:
>Samir wrote:
>>Hi Everyone,
I am relatively new to Python so please forgive me for what seems like a basic question.
Assume that I have a list, a, composed of nested lists with string representatio ns of integers, such that
a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
I would like to convert this to a similar list, b, where the values are represented by integers, such as
b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
I have unsuccessfully tried the following code:
n = [] for k in a: n.append([int(v) for v in k]) print n
Does anyone know what I am doing wrong?
Thanks in advance.
Samir -- http://mail.python.org/mailman/listinfo/python-list
You didn't tell us how it failed for you, so I can't guess what's wrong.
However, your code works for me:
> >>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']] n = [] for k in a:
... n.append([int(v) for v in k]) ...
> >>print n
[[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
(Although you seem to have confused variables b and n.)
Gary Herron- Hide quoted text -
- Show quoted text -
Hi Gary,
Thanks for your quick response (and sorry about mixing up b and n).
For some reason, the logic I posted seems to work ok while I'm using
the Python shell, but when used in my code, the program just hangs.
It never outputs the results. Below is the code in its entirety. Is
there a problem with my indendentation?
Aha. There's the problem, right there in the first line.
a = n = []
This sets a and n to the *same* empty list. This line creates one
empty list and binds both n and a to that list. Note carefully, there
is only one empty list here, but it can be accessed under two names
Later in your code,
for k in a:
runs through that list, and
n.append(...)
append to the end of the same list. Thus the loop never get to the end of the (continually growing) list.
Solve it by creating two different empty lists:
a = []
n = []
Gary Herron
t = """
1 2
3
4 5 6
7 8 9 0
"""
d = t.split("\n")
for x in range(1,len(d)-1):
a.append(d[x].split(" "))
print a
for k in a:
n.append([int(v) for v in k])
print n
Thanks again.
Samir
-- http://mail.python.org/mailman/listinfo/python-list
On Jul 21, 4:44*pm, Gary Herron <gher...@island training.comwro te:
Samir wrote:
On Jul 21, 3:20 pm, Gary Herron <gher...@island training.comwro te:
Samir wrote:
>Hi Everyone,
>I am relatively new to Python so please forgive me for what seems like a basic question.
>Assume that I have a list, a, composed of nested lists with string representation s of integers, such that
>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
>I would like to convert this to a similar list, b, where the values are represented by integers, such as
>b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
>I have unsuccessfully tried the following code:
>n = [] for k in a: * * n.append([int(v) for v in k]) print n
>Does anyone know what I am doing wrong?
>Thanks in advance.
>Samir -- http://mail.python.org/mailman/listinfo/python-list
You didn't tell us how it failed for you, so I can't guess what's wrong.
However, your code works for me:
*>>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
*>>n = []
*>>for k in a:
... * *n.append([int(v) for v in k])
...
*>>print n
[[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
(Although you seem to have confused variables b and n.)
Gary Herron- Hide quoted text -
- Show quoted text -
Hi Gary,
Thanks for your quick response (and sorry about mixing up b and n).
For some reason, the logic I posted seems to work ok while I'm using
the Python shell, but when used in my code, the program just hangs.
It never outputs the results. *Below is the code in its entirety. *Is
there a problem with my indendentation?
Aha. *There's the problem, right there in the first line.
a = n = []
This sets a and n to the *same* empty list. * *This line creates one
empty list and binds both n and a to that list. *Note carefully, *there
is only one empty list here, but it can be accessed under two names
Later in your code,
* for k in a:
runs through that list, and
* n.append(...)
append to the end of the same list. *Thus the loop never get to the endof the (continually growing) list.
Solve it by creating two different empty lists:
* a = []
* n = []
Gary Herron
t = """
1 2
3
4 5 6
7 8 9 0
"""
d = t.split("\n")
for x in range(1,len(d)-1):
* * a.append(d[x].split(" "))
print a
for k in a:
* * n.append([int(v) for v in k])
print n
Thanks again.
Samir
-- http://mail.python.org/mailman/listinfo/python-list- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -
Gary,
That did the trick! I didn't realize that the way I initialized my
lists would lead to the behavior that I observed. After doing
something similar to what John had suggested I did indeed discover
that I created an endless loop. I'm glad I learned something today.
Thanks for your help.
Samir
Samir wrote:
On Jul 21, 3:20 pm, Gary Herron <gher...@island training.comwro te:
>Samir wrote:
>>Hi Everyone,
I am relatively new to Python so please forgive me for what seems like a basic question.
Assume that I have a list, a, composed of nested lists with string representatio ns of integers, such that
a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
I would like to convert this to a similar list, b, where the values are represented by integers, such as
b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
I have unsuccessfully tried the following code:
n = [] for k in a: n.append([int(v) for v in k]) print n
Does anyone know what I am doing wrong?
Thanks in advance.
Samir -- http://mail.python.org/mailman/listinfo/python-list
You didn't tell us how it failed for you, so I can't guess what's wrong.
However, your code works for me:
> >>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']] n = [] for k in a:
... n.append([int(v) for v in k]) ...
> >>print n
[[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
(Although you seem to have confused variables b and n.)
Gary Herron- Hide quoted text -
- Show quoted text -
Hi Gary,
Thanks for your quick response (and sorry about mixing up b and n).
For some reason, the logic I posted seems to work ok while I'm using
the Python shell, but when used in my code, the program just hangs.
It never outputs the results. Below is the code in its entirety. Is
there a problem with my indendentation?
a = n = []
t = """
1 2
3
4 5 6
7 8 9 0
"""
d = t.split("\n")
for x in range(1,len(d)-1):
a.append(d[x].split(" "))
print a
for k in a:
n.append([int(v) for v in k])
print n
Thanks again.
Samir
-- http://mail.python.org/mailman/listinfo/python-list
I think this will work better, a sub-list comprehension of sorts:
n = [[int(i) for i in k] for k in a]
here is an ipython interactive session using it:
In [1]: a = n = []
In [2]: t = """
...: 1 2
...: 3
...: 4 5 6
...: 7 8 9 0
...: """
In [3]:
In [4]: d = t.split("\n")
In [5]: for x in range(1,len(d)-1):
...: a.append(d[x].split(" "))
...:
...:
In [6]: a
Out[6]: [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
In [7]: n = [[int(i) for i in k] for k in a]
In [8]: n
Out[8]: [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
--
Andrew
On Jul 21, 6:15*pm, Andrew Freeman <alif...@gmail. comwrote:
Samir wrote:
On Jul 21, 3:20 pm, Gary Herron <gher...@island training.comwro te:
Samir wrote:
>Hi Everyone,
>I am relatively new to Python so please forgive me for what seems like a basic question.
>Assume that I have a list, a, composed of nested lists with string representation s of integers, such that
>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
>I would like to convert this to a similar list, b, where the values are represented by integers, such as
>b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
>I have unsuccessfully tried the following code:
>n = [] for k in a: * * n.append([int(v) for v in k]) print n
>Does anyone know what I am doing wrong?
>Thanks in advance.
>Samir -- http://mail.python.org/mailman/listinfo/python-list
You didn't tell us how it failed for you, so I can't guess what's wrong.
However, your code works for me:
*>>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
*>>n = []
*>>for k in a:
... * *n.append([int(v) for v in k])
...
*>>print n
[[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
(Although you seem to have confused variables b and n.)
Gary Herron- Hide quoted text -
- Show quoted text -
Hi Gary,
Thanks for your quick response (and sorry about mixing up b and n).
For some reason, the logic I posted seems to work ok while I'm using
the Python shell, but when used in my code, the program just hangs.
It never outputs the results. *Below is the code in its entirety. *Is
there a problem with my indendentation?
a = n = []
t = """
1 2
3
4 5 6
7 8 9 0
"""
d = t.split("\n")
for x in range(1,len(d)-1):
* * a.append(d[x].split(" "))
print a
for k in a:
* * n.append([int(v) for v in k])
print n
Thanks again.
Samir
-- http://mail.python.org/mailman/listinfo/python-list
I think this will work better, a sub-list comprehension of sorts:
n = [[int(i) for i in k] for k in a]
here is an ipython interactive session using it:
In [1]: a = n = []
In [2]: t = """
* *...: 1 2
* *...: 3
* *...: 4 5 6
* *...: 7 8 9 0
* *...: """
In [3]:
In [4]: d = t.split("\n")
In [5]: for x in range(1,len(d)-1):
* *...: * * a.append(d[x].split(" "))
* *...: * *
* *...: * *
In [6]: a
Out[6]: [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
In [7]: n = [[int(i) for i in k] for k in a]
In [8]: n
Out[8]: [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
--
Andrew- Hide quoted text -
- Show quoted text -
Andrew,
Thanks for the tip, though the syntax makes my head spin a bit in
trying to comprehend it. For my small list, I didn't notice a
discernible increase in speed, but I may have to try it with a larger
list size.
Incidentally, I had never heard of iPython but from their web site, it
looks like an interesting tool. I'll have to check it out.
Thanks.
Samir
Samir wrote:
On Jul 21, 6:15 pm, Andrew Freeman <alif...@gmail. comwrote:
>Samir wrote:
>>On Jul 21, 3:20 pm, Gary Herron <gher...@island training.comwro te:
Samir wrote:
Hi Everyone, > I am relatively new to Python so please forgive me for what seems like a basic question. > Assume that I have a list, a, composed of nested lists with string representat ions of integers, such that > a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']] > I would like to convert this to a similar list, b, where the values are represented by integers, such as > b = [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]] > I have unsuccessfully tried the following code: > n = [] for k in a: n.append([int(v) for v in k]) print n > Does anyone know what I am doing wrong? > Thanks in advance. > Samir -- http://mail.python.org/mailman/listinfo/python-list > You didn't tell us how it failed for you, so I can't guess what's wrong.
However, your code works for me:
>>a = [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']] >>n = [] >>for k in a: ... n.append([int(v) for v in k]) ... >>print n [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]]
(Although you seem to have confused variables b and n.)
Gary Herron- Hide quoted text -
- Show quoted text -
Hi Gary,
Thanks for your quick response (and sorry about mixing up b and n). For some reason, the logic I posted seems to work ok while I'm using the Python shell, but when used in my code, the program just hangs. It never outputs the results. Below is the code in its entirety. Is there a problem with my indendentation?
a = n = [] t = """ 1 2 3 4 5 6 7 8 9 0 """
d = t.split("\n")
for x in range(1,len(d)-1): a.append(d[x].split(" ")) print a
for k in a: n.append([int(v) for v in k])
print n
Thanks again.
Samir -- http://mail.python.org/mailman/listinfo/python-list
I think this will work better, a sub-list comprehension of sorts: n = [[int(i) for i in k] for k in a]
here is an ipython interactive session using it: In [1]: a = n = []
In [2]: t = """ ...: 1 2 ...: 3 ...: 4 5 6 ...: 7 8 9 0 ...: """
In [3]:
In [4]: d = t.split("\n")
In [5]: for x in range(1,len(d)-1): ...: a.append(d[x].split(" ")) ...: ...:
In [6]: a Out[6]: [['1', '2'], ['3'], ['4', '5', '6'], ['7', '8', '9', '0']]
In [7]: n = [[int(i) for i in k] for k in a]
In [8]: n Out[8]: [[1, 2], [3], [4, 5, 6], [7, 8, 9, 0]] -- Andrew- Hide quoted text -
- Show quoted text -
Andrew,
Thanks for the tip, though the syntax makes my head spin a bit in
trying to comprehend it. For my small list, I didn't notice a
discernible increase in speed, but I may have to try it with a larger
list size.
Incidentally, I had never heard of iPython but from their web site, it
looks like an interesting tool. I'll have to check it out.
Thanks.
Samir
-- http://mail.python.org/mailman/listinfo/python-list
If it helps look at this:
n = [[int(i) for i in k] for k in a]
like this:
n = []
for k in a:
for i in k:
n.append(int(i) )
It is more verbose and easier to read and they both do exactly the same
thing!
iPython is great, to install it you might try easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall
Then in a command line type:
easy_install ipython
Then, once it is complete, to use iPython type:
ipython
--
Andrew
Samir wrote:
For my small list, I didn't notice a
discernible increase in speed, but I may have to try it with a larger
list size.
About speed, and memory consumption:
List comprehensions
( http://docs.python.org/tut/node7.htm...00000000000000) are
just shortcuts for for-loops. I do not believe there is any speed
benefit. However, there are generators, they basically load one part of
an iterator (a list in this case) at a time, this can greatly reduce
memory usage.
Have a look at PEP 289: http://www.python.org/dev/peps/pep-0289/
Here is the list comprehension as a generator (actually 2):
n = ((int(i) for i in k) for k in a)
Note, you can't just print a generator, it only computes something when
needed:
>>print n
<generator object at 0xb7820e2c>
You can, however iterate over it:
In [2]: for k in n:
....: for i in k:
....: print i,
....:
....:
1 2 3 4 5 6 7 8 9 0
In [3]: n = ((int(i) for i in k) for k in a)
In [49]: list(n)
Out[49]:
[<generator object at 0xb77d03ec>,
<generator object at 0xb77d03cc>,
<generator object at 0xb77d046c>,
<generator object at 0xb77d04ac>]
Each sub-list is a generator too!
In [50]: n = ((int(i) for i in k) for k in a)
In [51]: for i in list(n): # list() converts the variable n to a list
....: list(i)
....:
....:
Out[51]: [1, 2]
Out[51]: [3]
Out[51]: [4, 5, 6]
Out[51]: [7, 8, 9, 0]
This is only going to make a difference if you were dealing with a
*very* large data set. I thought I would show you even if you never user
them, for learning purposes. Note: a generator is one way, redefine it
every time you use it.
--
Andrew This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nikola |
last post by:
Hi all,
I have a problem converting datetime to integer (and than back to
datetime).
Depending whether the time is AM or PM, same date is converted to two
different integer representations, which holds as true on reversal
back to datetime.
AM Example:
|
by: blrmaani |
last post by:
Here is what I want:
string s1 = "This is a list of string";
list<string> s2 = s1.some_method();
Now, I should be able to traverse list s2 and get each
member ( which is of type 'string' ).
I know that this can be achieved using strtok. But I was wondering
|
by: Peng Yu |
last post by:
I'm trying to define a list of integer poiinters. But the following
thing doesn't work. Do you know what's wrong with it?
list<int*> L;
Thanks!
Peng
|
by: news1.sympatico.ca |
last post by:
I have a single column list in the following format:
John Smith
123 Anystreet
Anytown, state
zip
Tel: 333-555-1212
Fax: 333-555-2121
Dave Jones
321 Main Street
|
by: John |
last post by:
Hi
I would like to convert a number to string but with a preceding zero if the
number is less than 10.
How can I accomplish this?
Thanks
Regards
| |
by: Richy |
last post by:
Hi,
I have a class that exposes the Microsoft.DirectX.Direct3D.Compare
property, which allows a drop-down list of values (such as Never,
Always etc) to be selected via the propertygrid. I write the string
value ("Never", "Always" etc) to an XML file, and when I read back the
XML file and set the property I want to be able to set it via the
string. This is my property:
<TypeConverter(GetType(Microsoft.DirectX.Direct3D.Compare))> _
|
by: Kevin S Gallagher |
last post by:
I found this code (pretty sure it was from a MVP) for converting a string
variable to a form object which works fine within a form. Take the code and
place it into a code module and it fails on the second line in regards to
Me.GetType.... any idea how to get this to work outside of a form?
Dim strClass As String =
Reflection.Assembly.GetExecutingAssembly.GetName.Name & ".frmChildOne"
Dim tyOfStringVariable As Type =...
|
by: rrp83 |
last post by:
Hi All
Can anyone fwd me the code for converting a string to bytes similar to the GetBytes function in C# and viceversa??
Regards,
RRP83
|
by: CoreyWhite |
last post by:
Problem:
You have numbers in string format, but you need to convert them to a
numeric type, such as an int or float.
Solution:
You can do this with the standard library functions. The functions
strtol, strtod, and strtoul, defined in <cstdlib>, convert a null-
terminated character string to a long int, double, or unsigned long.
You can use them to convert numeric strings of any base to a numeric
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |