Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Python what should be name of the module for managing data of users ?
Post: RE: Python what should be name of the module for m...
(Dec-05-2017, 08:08 PM)nilamo Wrote: user_management?
thanks for answer. which name do you use for this ? do you use user_management ?
I decided to use datamng is it good ? |
|
harun2525 |
General Coding Help |
3 |
3,378 |
Dec-05-2017, 08:55 PM |
|
|
Thread: Python what should be name of the module for managing data of users ?
Post: Python what should be name of the module for manag...
Hi, I'm working a project and I want to create a package for using to manage user's data, but what should be name of this package? I created a data directory for storing data of users. and I can't use... |
|
harun2525 |
General Coding Help |
3 |
3,378 |
Dec-05-2017, 04:54 PM |
|
|
Thread: Python3x running only with one instance (how can I prevent too many running instance)
Post: RE: Python3x running only with one instance (how c...
(Jul-21-2017, 09:58 AM)DeaD_EyE Wrote: The example is also using a lockfile inside a temporary directory.
A stupid solution can be to seek for all processes with the name 'python.exe' and look if t... |
|
harun2525 |
General Coding Help |
5 |
18,048 |
Jul-21-2017, 07:20 PM |
|
|
Thread: Python3x running only with one instance (how can I prevent too many running instance)
Post: Python, Single Instance Application
(Jul-19-2017, 07:59 PM)nilamo Wrote: A lockfile. Or, if you like very easy things, tendo.singleton.SingleInstance() https://github.com/pycontribs/tendo/blob...ngleton.py
i cant' trust lockfile bec... |
|
harun2525 |
General Coding Help |
5 |
18,048 |
Jul-20-2017, 04:10 PM |
|
|
Thread: Python3x running only with one instance (how can I prevent too many running instance)
Post: Python3x running only with one instance (how can I...
i tried to solve this problem with socket module but I couldn't. do you know useful efficent solution to solve this problem ? thanks.
example: when users reopened my program, it will give "program ha... |
|
harun2525 |
General Coding Help |
5 |
18,048 |
Jul-19-2017, 06:38 PM |
|
|
Thread: how to make class and instance method (multiple decorator) ?
Post: RE: how to make class and instance method (multipl...
|
harun2525 |
General Coding Help |
7 |
5,947 |
May-29-2017, 04:56 PM |
|
|
Thread: how to make class and instance method (multiple decorator) ?
Post: RE: how to make class and instance method (multipl...
@micseydel,
import os, sys
import langauge.main
__filepath__ = os.path.realpath(__file__)
__directory__ = os.path.dirname(__filepath__)
__progdir__ = os.path.dirname(__directory__)
class main():
... |
|
harun2525 |
General Coding Help |
7 |
5,947 |
May-29-2017, 04:08 PM |
|
|
Thread: how to make class and instance method (multiple decorator) ?
Post: RE: how to make class and instance method (multipl...
|
harun2525 |
General Coding Help |
7 |
5,947 |
May-28-2017, 01:52 AM |
|
|
Thread: how to make class and instance method (multiple decorator) ?
Post: how to make class and instance method (multiple de...
I want make a method like in the following example
class foo():
@classmethod
@instancemethod # problem:NameError: name 'instancemethod' is not defined
def method(cls, self):
prin... |
|
harun2525 |
General Coding Help |
7 |
5,947 |
May-27-2017, 10:32 PM |
|
|
Thread: python import module or namespace from namepsace variable ?
Post: RE: python import module or namespace from namepsa...
@volcano63
can you write a function like function (get_module_from_name_psace) in my first reply |
|
harun2525 |
General Coding Help |
11 |
8,517 |
May-23-2017, 01:45 PM |
|
|
Thread: python import module or namespace from namepsace variable ?
Post: RE: python import module or namespace from namepsa...
the python import system soooooooooooooooo bad, |
|
harun2525 |
General Coding Help |
11 |
8,517 |
May-23-2017, 01:28 PM |
|
|
Thread: python import module or namespace from namepsace variable ?
Post: RE: python import module or namespace from namepsa...
@sparkz_alot
I tried too many times with importlib module |
|
harun2525 |
General Coding Help |
11 |
8,517 |
May-23-2017, 01:22 PM |
|
|
Thread: python import module or namespace from namepsace variable ?
Post: RE: python import module or namespace from namepsa...
@Larz60+,
sorry, i couldn't find the function I am looking for in your HarryHelp.py file
can you post this function to here ? |
|
harun2525 |
General Coding Help |
11 |
8,517 |
May-23-2017, 12:47 PM |
|
|
Thread: python import module or namespace from namepsace variable ?
Post: python import module or namespace from namepsace v...
this is very important to me, i want import a module or package (namespace) from another namespace variable.
example
import mydir # imports namepace
module_foo = get_module_from_name_space("foo", n... |
|
harun2525 |
General Coding Help |
11 |
8,517 |
May-23-2017, 12:30 PM |
|
|
Thread: python How to import All modules from namespace
Post: python How to import All modules from namespace
i tried to import all modules of namespaces but no modules imported. how can I import all ?
example
# myfolder
# | mymodule1.py
# | mymodule2.py
# | mymodule3.py
# | subfolder
import myfolder #... |
|
harun2525 |
General Coding Help |
1 |
8,327 |
May-20-2017, 09:57 AM |
|
|
Thread: PyGtk3, No Module Named gi, on python3.5 on Windows
Post: RE: PyGtk3, No Module Named gi, on python3.5 on Wi...
@snippsat,
thanks for answer yes perhaps it works but this solution requires disk space too much,
I'll try.
I can't install python3.5 to msys2 |
|
harun2525 |
GUI |
8 |
34,326 |
May-19-2017, 08:56 AM |
|
|
Thread: PyGtk3, No Module Named gi, on python3.5 on Windows
Post: RE: PyGtk3, No Module Named gi, on python3.5 on Wi...
@metulburr,
yes.
i didn't understand, python3.5 on fedora can contain pygtk3 module but python3.5 on windows can't contain pygtk3. why same version do this on different os ? |
|
harun2525 |
GUI |
8 |
34,326 |
May-17-2017, 01:28 AM |
|
|
Thread: PyGtk3, No Module Named gi, on python3.5 on Windows
Post: RE: PyGtk3, No Module Named gi, on python3.5 on Wi...
i met new problem, i installed pygtk3 on python3.5 and pygtk3 gave new error:
>>> import gi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Pr... |
|
harun2525 |
GUI |
8 |
34,326 |
May-16-2017, 09:04 PM |
|
|
Thread: PyGtk3, No Module Named gi, on python3.5 on Windows
Post: RE: PyGtk3, No Module Named gi, on python3.5 on Wi...
@metulburr,
yes, python3.5 allows {**ab, **bc} expression and this is important to me
in my pc there are two os, first: windows, second: fedora, there is no any error with gtk3 in fedora on python3.... |
|
harun2525 |
GUI |
8 |
34,326 |
May-15-2017, 11:03 PM |
|
|
Thread: PyGtk3, No Module Named gi, on python3.5 on Windows
Post: PyGtk3, No Module Named gi, on python3.5 on Window...
hi i have a great problem I insalled python3.5 and deleted python3.4 and installed pygobject3.18.2 on python3.5 64 bit but after installation, when I import gi module, python give no module named erro... |
|
harun2525 |
GUI |
8 |
34,326 |
May-15-2017, 10:34 PM |