Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,577
» Latest member: DavidZergo
» Forum threads: 38,632
» Forum posts: 175,026

Full Statistics

Online Users
There are currently 558 online users.
» 0 Member(s) | 553 Guest(s)
Google, Yandex, Baidu, AOL

Latest Threads
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 3
» Views: 132
[split] Simple webbot for...
Forum: Code Review
Last Post: Larz60+
8 hours ago
» Replies: 2
» Views: 86
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 03:37 AM
» Replies: 2
» Views: 122
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 220
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-18-2025, 03:52 PM
» Replies: 7
» Views: 281
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 990
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Jun-18-2025, 04:47 AM
» Replies: 1
» Views: 101
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 128
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 143
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Jun-17-2025, 02:20 AM
» Replies: 1
» Views: 113

 
  Python time
Posted by: marciokoko - Oct-17-2016, 01:28 AM - Forum: General Coding Help - Replies (8)

Imi trying to compare two times, but the result comes back backwards.  Here is my code

[code]
import time, datetime
while True:
   now_time = da..... More

Print this item

  student tag
Posted by: metulburr - Oct-17-2016, 12:43 AM - Forum: Board - Replies (2)

I was wondering if people wanted to tag students that posted in Homework section as "Student". And example would be ...

   


The st..... More

Print this item

  Seeking Advice: Multiple workstations for one project
Posted by: mfayler - Oct-16-2016, 07:09 PM - Forum: News and Discussions - Replies (6)

Hi everyone,



A bit of background. I'm new to python and I've started doing the Kaggle.com "competitions" (only the ones for knowledge/learning)..... More

Print this item

  random.shuffle(list) produces empty list - why?
Posted by: HeRo - Oct-16-2016, 05:15 PM - Forum: General Coding Help - Replies (7)

Hi

In the sample program I have attached below I first use

SelectedTargets = random.sample(TargetPool, NoOfTargetsToSelect)
to dra..... More

Print this item

  User Interface to Python
Posted by: Raures - Oct-16-2016, 01:21 PM - Forum: GUI - Replies (11)

Hi. For all the users that use Qt to make GUI, I've created a simple converter to help them convert the *.ui files to *.py files...... More

Print this item

  how to remove brackets within a list
Posted by: A3G - Oct-16-2016, 10:39 AM - Forum: General Coding Help - Replies (17)

Hello,

I would like to know how to get rid of brackets within a list. Ex. ['1', 'r', (2, '5')]. The r..... More

Print this item

  want to make a shell?
Posted by: Skaperen - Oct-16-2016, 07:51 AM - Forum: Bar - Replies (1)

which shell would you want to make?

[spoiler=plush](P)ython (L)uxury (U)ser (SH)ell :..... More

Print this item

  anyone interested in a project of making python versions of various POSIX commands
Posted by: Skaperen - Oct-16-2016, 06:47 AM - Forum: Bar - Replies (10)

anyone interested in a project of making python versions of various POSIX commands like cat, cp, diff, grep, head, ..... More

Print this item

  python code box copy/paste fail
Posted by: Skaperen - Oct-16-2016, 05:50 AM - Forum: Board - Replies (7)

the python code box is not working right for copy and paste.  double clicking it does highlight the whole thing.  but, pasting only gets the word the ..... More

Print this item

  modified: docstrings
Posted by: Skaperen - Oct-16-2016, 05:30 AM - Forum: Code sharing - Replies (2)

i have rewritten one of my module files to use docstrings for the function documentation, instead of comments i had in a past posting.  they ar..... More

Print this item

  Code that generates MD5 hashes from IPv6 addresses giving differant answers?
Posted by: PyMD5 - Oct-16-2016, 02:12 AM - Forum: General Coding Help - Replies (4)

I have some code that generates MD5 hashes from IPv6 addresses, then checks them against a list of known MD5 hashes. In trying to speed it up, I profi..... More

Print this item

  A List of Free Python Resources
Posted by: metulburr - Oct-16-2016, 01:00 AM - Forum: Tutorials - Replies (12)

The following is a list of free resources by numerous methods. We strive to keep these updated, so let us know if one becomes outdated or moved.

[..... More

Print this item

  general pywinusb help
Posted by: kiyoshi7 - Oct-15-2016, 08:27 PM - Forum: General Coding Help - Replies (2)

hey I'm trying to get pywinusb to work with a usb device that i've created and i'm having a hard time understanding some things. first off I saw an ex..... More

Print this item

  whats with the archive tut requests in gen tutorials?
Posted by: metulburr - Oct-15-2016, 06:07 PM - Forum: Board - Replies (7)

What is with the archive prefixes? And why are these threads in the general tutorials forum?
http://python-forum.io/Thread-Archive-Su...ons-for-th..... More

Print this item

  Python help with module function return dictionary
Posted by: tebirkes - Oct-15-2016, 12:43 PM - Forum: General Coding Help - Replies (14)

I dont know what is wrong with my script, it only returns the last line from a file with some E coli data. 
It should return a dictionary where the k..... More

Print this item

  Pycharm project desktop deployment - advices?
Posted by: majstorv - Oct-15-2016, 11:41 AM - Forum: Data Science - Replies (4)

Hello,
[size=medium]I am Pycharm user (commercial version) since September. I have made a Pycharm project involving several .py f..... More

Print this item

  more profile options
Posted by: metulburr - Oct-15-2016, 02:02 AM - Forum: Board - Replies (2)

I added another plugin. I was actually looking to fix something else and i got sidetracked. 

This allows comments on profile, profile views, buddy ..... More

Print this item

  Should Learn Python The Hard Way's be in the forums list of books
Posted by: Yoriz - Oct-14-2016, 11:55 PM - Forum: News and Discussions - Replies (16)

With the problems Learn Python The Hard Way seems to cause new people to python, and it happens to be the first book in A List of Free Python Resource..... More

Print this item

  calling a variable by name
Posted by: sunhear - Oct-14-2016, 08:49 PM - Forum: General Coding Help - Replies (7)

my code is: 

[python]
class char(object):
    'chactors'
 
    def __init__(self,name,d,i):
        self.name = name
        self.d = int(d)..... More

Print this item

  Python can't find module installed in anaconda
Posted by: iFunKtion - Oct-14-2016, 08:33 PM - Forum: General Coding Help - Replies (12)

Hi there,

I used pip to install couchdb, yet

import couchdb
returns
No module named 'couchdb'
.

Yet if I try an..... More

Print this item

  [Flask]Trow away JS function and use a Python function
Posted by: snippsat - Oct-14-2016, 05:57 PM - Forum: Web Tutorials - Replies (1)

So will trow away a JavaScript function and use a Python function to do the same.
JavaScript work on client side and Python dos not(not gone talk abo..... More

Print this item

  How to correct the error?
Posted by: Ponomarenko Pavlo - Oct-14-2016, 05:07 PM - Forum: General Coding Help - Replies (3)

z = '346 + 324 - 368'
z.split('+', '-')
[error]Traceback (most recent call last):
  File "<pyshell#17>", line 1, in <module>
    ..... More

Print this item

  Looking for Linux system logging daemon
Posted by: j.crater - Oct-14-2016, 11:20 AM - Forum: Bar - Replies (3)

Hello all,
I'd like to ask you for suggestions on system logging to use on a minimalistic Linux. I would like to have a program (best if it's a daemo..... More

Print this item

  Help with passing value
Posted by: dullboy - Oct-14-2016, 10:22 AM - Forum: General Coding Help - Replies (1)

Here is my code,
[code]
#mycode.py
import click
import json

def read_config(ctx, param, value):
   d = json.load(value)

   #ctx.default_map..... More

Print this item

  how to use pyexcel to read ods
Posted by: verb - Oct-14-2016, 10:16 AM - Forum: Data Science - Replies (6)

Hello everyone

I have posted this on the previous forum but didn't resolve this issue. I  have big ods file ( ..... More

Print this item

  converting backslash codes
Posted by: Skaperen - Oct-14-2016, 04:49 AM - Forum: General Coding Help - Replies (4)

i know python has such a thing but cannot remember the terms or names for this.  my guesses are not helping my search.

[b][font=Courier New]foo('\\..... More

Print this item

  suggestion: Spoiler
Posted by: Skaperen - Oct-13-2016, 11:53 PM - Forum: Board - Replies (2)

i like the spoiler, but it would be nice to have the ability to change the text there, use an image, smilie, etc.

Print this item

  Logic to convert an integer to YEAR / MONTH
Posted by: hugobaur - Oct-13-2016, 06:58 PM - Forum: General Coding Help - Replies (9)

Lógica para converter um número inteiro para ANO/MÊS

[color=#272a34][size=small][font='Helvetica Neue', Helvetica, Arial, sans-serif]Pessoal, Boa ..... More

Print this item

  GTK main window calling a main window
Posted by: DennisT - Oct-13-2016, 06:25 PM - Forum: GUI - Replies (4)

I've been googling all day and can't find how to do this. 

I have my main Python 3 Gtk+3 window.  I want to create a overlay window (smaller than ..... More

Print this item

  What is the best book about Python?
Posted by: Ponomarenko Pavlo - Oct-13-2016, 05:28 PM - Forum: News and Discussions - Replies (2)

I learn Python.
I had read some books about it but I don't know what is the best book about Python. 
Please write your comments on the following ite..... More

Print this item

  How to insert local (my computer) image as spoiler
Posted by: Larz60+ - Oct-13-2016, 04:06 PM - Forum: Board - Replies (15)

Hello, what is the BBcode to insert a local image? I have [attachment=31] as image

Print this item

  subprocess return of stdout after running Linux command
Posted by: ivanachukapawn - Oct-13-2016, 03:55 PM - Forum: General Coding Help - Replies (7)

I wrote a function which accepts an argument (a Linux command) and then runs subprocess.check_output

[python] 
#!/usr/local/bin/python3.5
#
#
..... More

Print this item

  Super/subscript copied to word
Posted by: lk89 - Oct-13-2016, 02:32 PM - Forum: General Coding Help - Replies (4)

Hiya! 
I'm making a code from which the output I want to be able to copy into word. A few of the letters/numbers need to be super/sub scripted and I ..... More

Print this item

  Convert script into an exe file
Posted by: badteacher - Oct-13-2016, 10:52 AM - Forum: General Coding Help - Replies (10)

Hey guys!

[color=#333333][size=s..... More

Print this item

  Adding attachment to existing post
Posted by: Larz60+ - Oct-13-2016, 10:24 AM - Forum: Board - Replies (4)

I added an attachment to the 'grid layout' thread under gui http://python-forum.io/Thread-Tkinter-grid-layout #5
Everything appeared to work fine, bu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Dynamic Module Import Err... 4 hours ago DaddyMAN Pedroski55 General Codin...
  [split] Simple webbot for... 8 hours ago AB073 Larz60+ Code Review
  What Are the Most Overloo... Yesterday, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  How do select this table ... 06-18, 15:52 MarkMan snippsat Web Scraping ...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question 06-18, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... 06-18, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... 06-16, 14:06 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572256
  Tutorial Requ... 484753
  Web Scraping ... 436800
  Newbie with P... 379625
  Thread remain... 351215
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7337
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
DavidZergo Today
Dnfsdd8hfn2 Today
Zefin7 Today
Donaldabani Yesterday
linnchinnn Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020