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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,022

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, AOL, AOL

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 3
» Views: 102
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 120
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 266
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,083
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,922
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 158
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 93
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 163
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,302
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 123

 
  Need help converting some code from python 2.7 to 3.5
Posted by: Blue Dog - Oct-17-2016, 09:21 PM - Forum: General Coding Help - Replies (3)

This works great in 2.7, does not work in 3.5. I hope some one can tell me why?



[python]import socket   #for sockets
import sys  #for exit
 ..... More

Print this item

  [WinError 193] %1 is not a valid Win32 application
Posted by: Zest - Oct-17-2016, 08:55 PM - Forum: Homework - Replies (15)

Hello people,

I am pretty new at working with python and I am encoutering the error as stated in the subject. Full error:
[error]Traceback (most r..... More

Print this item

  [split] can't find '__main__' module
Posted by: Blue Dog - Oct-17-2016, 07:33 PM - Forum: General Coding Help - Replies (1)

I tryed to use tour script and got this error.
http://python-forum.io/Thread-sending-email-with-python

[error]C:\Users\renny and kite\AppData\Loca..... More

Print this item

  [Book] Python 201 - Free for 48 Hrs [Expired]
Posted by: Yoriz - Oct-17-2016, 06:22 PM - Forum: News and Discussions - Replies (2)

Book free for 48 Hrs
Python 201 - from learnpub
or
Python 201 [url=https://python-forum.io/thread-535.html]..... More

Print this item

  'str' object is not callable
Posted by: peterkl - Oct-17-2016, 05:32 PM - Forum: Networking - Replies (10)

Hello guys, I'm trying to build a simple port scanner, but I constantly got this error : ''str' object is not callable"

I really don't know why I'm..... More

Print this item

  Complete Python Programming Course 2016: Code using Python 3 free udemy course
Posted by: Yoriz - Oct-17-2016, 05:21 PM - Forum: News and Discussions - No Replies

Free udemy course ..... More

Print this item

  Data science with Pandas in Python 3 - free udemy course
Posted by: Yoriz - Oct-17-2016, 05:12 PM - Forum: News and Discussions - No Replies

Free udemy course Data science with Pandas in Python 3

Print this item

  PyDev 5.3.0
Posted by: snippsat - Oct-17-2016, 02:19 PM - Forum: News and Discussions - No Replies

[color=#222222][size=large][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif]..... More

Print this item

  createing a tkinter photoimage from array in python3
Posted by: pootle - Oct-17-2016, 12:00 PM - Forum: GUI - Replies (2)

I started with this post and have tried t..... More

Print this item

  debian/ubuntu apt program
Posted by: jtmtman - Oct-17-2016, 05:29 AM - Forum: Web Scraping & Web Development - Replies (1)

I've been able to copy/paste my way to a semi completed program. It helps with with the apt command, displays descriptions of the packages, download p..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 5 hours ago braillescribe Pedroski55 General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
Most views
  The best Prog... 580389
  Tutorial Requ... 519325
  Web Scraping ... 442776
  Newbie with P... 386970
  New Users Int... 386412
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday
desy845 Yesterday

User Panel Messages

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