View Active Threads
View Today's Posts
Home
Forums
View New Posts
View Today's Posts
My Discussions
Unanswered Posts
Unread Posts
Active Threads
Mark all forums read
Staff List
Member List
Help
Calendar
Search
Statistics
Interpreter
IRC
importing a config file prefixed with a dot
Python Forum
Python Coding
General Coding Help
Thread Rating:
3 Vote(s) - 3 Average
1
2
3
4
5
Thread Modes
importing a config file prefixed with a dot
wavic
So-and-so of the Yard
Posts:
2,955
Threads:
48
Joined:
Sep 2016
Reputation:
90
#4
Mar-25-2017, 06:48 AM
(This post was last modified: Mar-25-2017, 06:48 AM by
wavic
.)
Then you need some serializing method. Like
pickle
or
dill
. Dumping a class object with all its data and methods is perhaps what you need.
I've seen that you may not want to install additional modules. And I found
this
.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
Find
Reply
Messages In This Thread
importing a config file prefixed with a dot
- by
Skaperen
- Mar-25-2017, 03:23 AM
RE: importing a config file prefixed with a dot
- by
wavic
- Mar-25-2017, 03:46 AM
RE: importing a config file prefixed with a dot
- by
Skaperen
- Mar-25-2017, 05:23 AM
RE: importing a config file prefixed with a dot
- by
wavic
- Mar-25-2017, 06:48 AM
RE: importing a config file prefixed with a dot
- by
Skaperen
- Mar-25-2017, 09:34 AM
RE: importing a config file prefixed with a dot
- by
zivoni
- Mar-25-2017, 10:14 AM
RE: importing a config file prefixed with a dot
- by
ichabod801
- Mar-25-2017, 10:29 AM
RE: importing a config file prefixed with a dot
- by
wavic
- Mar-25-2017, 11:09 AM
RE: importing a config file prefixed with a dot
- by
nilamo
- Mar-25-2017, 06:52 PM
RE: importing a config file prefixed with a dot
- by
Skaperen
- Mar-26-2017, 01:50 AM
RE: importing a config file prefixed with a dot
- by
wavic
- Mar-26-2017, 04:40 AM
RE: importing a config file prefixed with a dot
- by
Skaperen
- Mar-26-2017, 09:51 AM
RE: importing a config file prefixed with a dot
- by
ichabod801
- Mar-26-2017, 10:39 AM
RE: importing a config file prefixed with a dot
- by
Skaperen
- Mar-27-2017, 06:24 AM
RE: importing a config file prefixed with a dot
- by
Skaperen
- Mar-27-2017, 07:42 AM
RE: importing a config file prefixed with a dot
- by
zivoni
- Mar-27-2017, 08:48 AM
RE: importing a config file prefixed with a dot
- by
Skaperen
- Mar-28-2017, 04:59 AM
Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
New2Python: Help with Importing/Mapping Image Src to Image Code in File
CluelessITguy
0
782
Nov-17-2022, 04:46 PM
Last Post
:
CluelessITguy
Problem with importing Python file in Visual Studio Code
DXav
7
5,530
Jun-15-2022, 12:54 PM
Last Post
:
snippsat
importing functions from a separate python file in a separate directory
Scordomaniac
3
1,485
May-17-2022, 07:49 AM
Last Post
:
Pedroski55
Updating a config file [solved]
ebolisa
8
2,730
Nov-04-2021, 10:20 AM
Last Post
:
Gribouillis
Importing a function from another file runs the old lines also
dedesssse
6
2,703
Jul-06-2021, 07:04 PM
Last Post
:
deanhystad
Is there a library for recursive object creation using config objects
johsmi96
0
1,909
May-03-2021, 08:09 PM
Last Post
:
johsmi96
help with pytesseract.image_to_string(savedImage, config='--psm 11')iamge to string
korenron
0
2,775
Apr-29-2021, 10:08 AM
Last Post
:
korenron
Importing text file into excel spreadsheet with formatting
david_dsmn
1
3,725
Apr-05-2021, 10:21 PM
Last Post
:
david_dsmn
Config file update
Olivier74
0
1,537
Aug-18-2020, 03:36 PM
Last Post
:
Olivier74
importing a CSV file into Python
russoj5
1
3,010
Aug-02-2020, 12:03 AM
Last Post
:
scidam
Users browsing this thread: 1 Guest(s)
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Python Coding
-- General Coding Help
-- Data Science
-- Homework
-- GUI
-- Game Development
-- Networking
-- Web Scraping & Web Development
General
-- News and Discussions
-- Tutorials
---- Tutorial Requests and Submissions
---- Python Installation and Execution
---- Fundamentals
---- Common pitfalls and what to do
---- Web Scraping
---- Web Tutorials
---- GUI tutorials
---- Game Tutorials
---- Networking Tutorials
-- Code sharing
-- Code Review
-- Jobs
Forum & Off Topic
-- Board
---- Weekly Top Picks
-- Bar
User Panel
Messages
Log Out
My Profile
Pay your profile a visit
User Control Panel
Do some changes on your profile
My Messages
View private messages
unread
Avatar
Change avatar
Signature
Change signature
Announcements
Announcement #1
8/1/2020
Announcement #2
8/2/2020
Announcement #3
8/6/2020
Login to Python Forum
Enter your details to login to your account:
Remember me
Lost Password?
Login
Don't have an account yet?
Sign Up!
Linear Mode
Threaded Mode