This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tkinter import * | |
from tkinter import filedialog | |
from tkinter import * | |
from tkinter import ttk | |
from tkinter.filedialog import askopenfilename | |
root = Tk() | |
name = "" | |
def OpenFile(): | |
name = askopenfilename(initialdir="C:/Users/Batman/Documents/Programming/tkinter/", filetypes =(("Text File", "*.txt"),("All Files","*.*")), title = "Choose a file." ) | |
print (name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! Python 3.4 | |
""" | |
Open a file dialog window in tkinter using the filedialog method. | |
Tkinter has a prebuilt dialog window to access files. | |
This example is designed to show how you might use a file dialog askopenfilename | |
and use it in a program. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"io/ioutil" | |
"strconv" | |
"flag" | |
"github.com/DavidBelicza/TextRank" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"io/ioutil" | |
"flag" | |
"github.com/DavidBelicza/TextRank" | |
"github.com/DavidBelicza/TextRank/rank" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
// "io" | |
// "bufio" | |
// "strings" | |
// "strconv" | |
// "github.com/alixaxel/pagerank" | |
// "github.com/boltdb/bolt" | |
"fmt" | |
"io/ioutil" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
// "bufio" | |
"io/ioutil" | |
"flag" | |
"github.com/pressure679/rake" | |
"math" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"strings" | |
"flag" | |
"os" | |
"bufio" | |
"time" | |
"image/png" | |
"math/rand" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"bufio" | |
// "io/ioutil" | |
"os" | |
"flag" | |
"strings" | |
"github.com/ahmdrz/goinsta" |
NewerOlder