Skip to content
This repository was archived by the owner on Aug 28, 2021. It is now read-only.

Commit ba7704c

Browse files
authored
Merge pull request #2 from EliazBobadilla/main
Main
2 parents 9ffe63d + 171715a commit ba7704c

File tree

1 file changed

+26
-129
lines changed

1 file changed

+26
-129
lines changed

README.md

Lines changed: 26 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This extension will contains a lot of Python Snippets for VSCode.
2222
| pyenum | Enum |
2323
| pyinum | Int Enum |
2424

25+
2526
| built-in methods code snippets | Description |
2627
| --- | --- |
2728
| abs | Returns the absolute value of a number |
@@ -83,10 +84,7 @@ This extension will contains a lot of Python Snippets for VSCode.
8384
| type | Returns the type of an object |
8485
| unichr | Return the Unicode string of one character whose Unicode code is the integer i. |
8586
| vars | Returns the __dict__ property of an object |
86-
| zip                                                                     | Returns an iterator, from two or more iterators |
87-
88-
     
89-
     
87+
| zip | Returns an iterator, from two or more iterators |
9088

9189
| built-in methods code examples | Description |
9290
| --- | --- |
@@ -185,10 +183,7 @@ This extension will contains a lot of Python Snippets for VSCode.
185183
| built_in.type=> | An example for using type |
186184
| built_in.vars=> | An example for using vars |
187185
| built_in.zip=>_1 | An example for using zip |
188-
| built_in.zip=>_2                                                 | An example for using zip |
189-
190-
     
191-
     
186+
| built_in.zip=>_2 | An example for using zip |
192187

193188
| string methods code snippets | Description |
194189
| --- | --- |
@@ -232,11 +227,7 @@ This extension will contains a lot of Python Snippets for VSCode.
232227
| .title | Converts the first character of each word to upper case |
233228
| .translate | Returns a translated string |
234229
| .upper | Converts a string into upper case |
235-
| .zfill                                                                    | Fills the string with a specified number of 0 values at the beginning |
236-
237-
     
238-
     
239-
230+
| .zfill| Fills the string with a specified number of 0 values at the beginning |
240231

241232
| string methods code examples | Description |
242233
| --- | --- |
@@ -291,13 +282,7 @@ This extension will contains a lot of Python Snippets for VSCode.
291282
| string.title=> | An example for using title |
292283
| string.translate=> | An example for using translate |
293284
| string.upper=> | An example for using upper |
294-
| string.zfill=>                                                       | An example for using zfill |
295-
296-
297-
     
298-
     
299-
300-
285+
| string.zfill=>| An example for using zfill |
301286

302287
| list methods code snippets | Description |
303288
| --- | --- |
@@ -311,12 +296,7 @@ This extension will contains a lot of Python Snippets for VSCode.
311296
| .pop | Removes the element at the specified position |
312297
| .remove | Removes the first item with the specified value |
313298
| .reverse | Reverses the order of the list |
314-
| .sort                                                                   | Sorts the list |
315-
316-
317-
     
318-
     
319-
299+
| .sort | Sorts the list |
320300

321301
| list methods code examples | Description |
322302
| --- | --- |
@@ -335,13 +315,7 @@ This extension will contains a lot of Python Snippets for VSCode.
335315
| list.comp=>_2 | An example for using list comprehension |
336316
| list.comp=>_3 | An example for using list comprehension |
337317
| list.comp=>_4 | An example for using list comprehension |
338-
| list.comp=>_5                                                 | An example for using list comprehension |
339-
340-
341-
342-
343-
     
344-
     
318+
| list.comp=>_5 | An example for using list comprehension |
345319

346320
| sets methods code snippets | Description |
347321
| --- | --- |
@@ -361,11 +335,7 @@ This extension will contains a lot of Python Snippets for VSCode.
361335
| .symmetric_difference | Returns a set with the symmetric differences of two sets |
362336
| .symmetric_difference_update | inserts the symmetric differences from this set and another |
363337
| .union | Return a set containing the union of sets |
364-
| .update                                                           | Update the set with the union of this set and others |
365-
366-
367-
     
368-
     
338+
| .update | Update the set with the union of this set and others |
369339

370340
| sets methods code examples | Description |
371341
| --- | --- |
@@ -392,11 +362,7 @@ This extension will contains a lot of Python Snippets for VSCode.
392362
| sets.symmetric_difference_update=> | An example for using symmetric_difference_update |
393363
| sets.union=>_1 | An example for using union |
394364
| sets.union=>_2 | An example for using union |
395-
| sets.update=>                                               | An example for using update |
396-
397-
398-
     
399-
     
365+
| sets.update=> | An example for using update |
400366

401367
| dictionary methods code snippets | Description |
402368
| --- | --- |
@@ -410,9 +376,7 @@ This extension will contains a lot of Python Snippets for VSCode.
410376
| .popitem | Removes the last inserted key-value pai |
411377
| .setdefault | Returns the value of the specified key. If the key does not exist: insert the key, with the specified value |
412378
| .update | Updates the dictionary with the specified key-value pairs |
413-
| .values                                                          | Returns a list of all the values in the dictionary |
414-
     
415-
     
379+
| .values | Returns a list of all the values in the dictionary |
416380

417381
| dictionary methods code examples | Description |
418382
| --- | --- |
@@ -426,38 +390,17 @@ This extension will contains a lot of Python Snippets for VSCode.
426390
| dictionary.popitem=> | An example for using popitem |
427391
| dictionary.setdefault=> | An example for using setdefault |
428392
| dictionary.update=> | An example for using update |
429-
| dictionary.values=>                                     | An example for using values |
430-
431-
     
432-
     
433-
434-
393+
| dictionary.values=> | An example for using values |
435394

436395
| tuple methods code snippets | Description |
437396
| --- | --- |
438397
| .count | Returns the number of times a specified value occurs in a tuple |
439-
| .index                                                            | Searches the tuple for a specified value and returns the position of where it was found |
440-
     
441-
     
442-
443-
398+
| .index | Searches the tuple for a specified value and returns the position of where it was found |
444399

445400
| tuple methods code examples | Description |
446401
| --- | --- |
447402
| tuple.count=> | An example for using count |
448-
| tuple.index=>                                             | An example for using index |
449-
450-
451-
     
452-
     
453-
454-
455-
| for loop code snippets | Description |
456-
| --- | --- |
457-
| for                                                                 | for Statements |
458-
     
459-
     
460-
403+
| tuple.index=>| An example for using index |
461404

462405
| for loop code examples | |
463406
| --- | --- |
@@ -469,29 +412,20 @@ This extension will contains a lot of Python Snippets for VSCode.
469412
| for=>range_function_2 | An example for using for |
470413
| for=>range_function_3 | An example for using for |
471414
| for=>for_else | An example for using for |
472-
| for=>for_else                                             | An example for using for |
473-
474-
     
475-
     
476-
477-
478-
415+
| for=>for_else | An example for using for |
479416

480417
| while loop code snippets | Description |
481418
| --- | --- |
482419
| while | while Statements |
483-
| while_else                                                     | while Statements |
484-
     
485-
     
420+
| while_els| while Statements |
421+
486422

487423
| while loop code examples | Description |
488424
| --- | --- |
489425
| while=> | while Statements |
490426
| while=>break_statement | while Statements |
491-
| while=>continue_statement                     | while Statements |
427+
| while=>continue_statement | while Statements |
492428

493-
     
494-
     
495429

496430
| if/else statement code snippets | Description |
497431
| --- | --- |
@@ -500,19 +434,14 @@ This extension will contains a lot of Python Snippets for VSCode.
500434
| ifelifelse | if/else if/else Statements |
501435
| ifelse | if/else Statements |
502436
| ifshort | ifshort Statements |
503-
| else                                                             | else Statements |
504-
505-
     
506-
     
437+
| else | else Statements |
507438

508439
| class code snippets | Description |
509440
| --- | --- |
510441
| class=> | python class |
511442
| __init__=> | class __init__ method |
512443
| __iter__=> | class __iter__ method |
513-
| __next__=>                                                       | class __next__ method |
514-
     
515-
     
444+
| __next__=> | class __next__ method |
516445

517446
| class code examples | Description |
518447
| --- | --- |
@@ -525,28 +454,15 @@ This extension will contains a lot of Python Snippets for VSCode.
525454
| class=>with_method_1 | class with method example |
526455
| class=>with_method_2 | class with method example |
527456
| class=>encapsulation | class encapsulation example |
528-
| class=>polymorphism                             | class polymorphism example |
529-
530-
     
531-
     
532-
533-
457+
| class=>polymorphism | class polymorphism example |
534458

535459
| import code snippets | Description |
536460
| --- | --- |
537-
| import=>                                                   | import module |
538-
539-
     
540-
     
541-
461+
| import=>| import module |
542462

543463
| List Comprehensions code snippets | Description |
544464
| --- | --- |
545-
| comp=>                                                 |List Comprehensions |
546-
547-
548-
     
549-
     
465+
| comp=> |List Comprehensions |
550466

551467
| List Comprehensions code examples | Description |
552468
| --- | --- |
@@ -556,27 +472,15 @@ This extension will contains a lot of Python Snippets for VSCode.
556472
| list.comp=>_4 | An example for using list comprehension |
557473
| list.comp=>_5 | An example for using list comprehension |
558474

559-
560-
561-
     
562-
     
563-
564475
| lambda code examples | Description |
565476
| --- | --- |
566-
| lambda                                                  | A lambda function can take any number of arguments, but can only have one expression.|
567-
568-
     
569-
     
477+
| lambda | A lambda function can take any number of arguments, but can only have one expression.|
570478

571479
| function code snippets | Description |
572480
| --- | --- |
573481
| def=> | Defining Function |
574482
| def=>with_default_value | Defining Function wqith default values |
575-
| function=>                                           | Defining Function |
576-
577-
578-
     
579-
     
483+
| function=> | Defining Function |
580484

581485
| file code examples | Description |
582486
| --- | --- |
@@ -586,16 +490,9 @@ This extension will contains a lot of Python Snippets for VSCode.
586490
| file=>writeOwerWrite | Open a file and overwrite the content |
587491
| file=>createFileIfDoesNotExist | Create a new file if it does not exist |
588492
| file=>createFile | Create a new file |
589-
| file=>deleteFile                                     | delete a file |
590-
591-
592-
     
593-
     
493+
| file=>deleteFile| delete a file |
594494

595495
## License
596-
597496
This project is published under MIT License. Read more [here](./LICENSE)
598-
599497
## Issues
600-
601-
If you find any issues, please create them [here](https://github.com/EliazBobadilla/Python-UltiSnippets-VSCode-Extension/issues).
498+
If you find any issues, please create them [here](https://github.com/EliazBobadilla/Python-UltiSnippets-VSCode-Extension/issues)

0 commit comments

Comments
 (0)