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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,924

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 36 Guest(s)
Bing, Applebot, Mojeek, Google, AOL

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 12
» Views: 342
Python compiler
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:50 AM
» Replies: 1
» Views: 84
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Nov-29-2025, 07:34 PM
» Replies: 5
» Views: 96
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Nov-29-2025, 05:51 PM
» Replies: 0
» Views: 59
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Nov-29-2025, 07:39 AM
» Replies: 3
» Views: 11,145
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 223
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 752
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,850
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 224
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 177

 
  Pillow or PIL not sure which to download?.
Posted by: Fox_cutter12 - Apr-18-2018, 02:45 PM - Forum: General Coding Help - Replies (6)

The version of python I am using 3.5.1 but this was made in 2015 and so I don't know which version of PIL to download.

Print this item

  Basic log-in system
Posted by: kiere234 - Apr-18-2018, 01:39 PM - Forum: Homework - No Replies

i am needing some help on a few things:
1 - how to load new data into a text file for a new user
2 - I need to have a function called change passwo..... More

Print this item

  Somethings not quite right
Posted by: beljim7419 - Apr-18-2018, 01:32 PM - Forum: General Coding Help - Replies (4)

Hi, Having no coding experience I have come here for some advise.

I currently use this scri[url=https://python-forum.io/thread-9604.html]..... More

Print this item

  How to render xml with extended xslt
Posted by: SencerH - Apr-18-2018, 12:57 PM - Forum: Web Scraping & Web Development - No Replies

Hello everyone,

I'm new to playing with XML files

I'm trying to render XML file with XSL stylesheet file via code below in python3:
[python]from lxm..... More

Print this item

  Typeerror: Qgscoordinatetransform
Posted by: sekkdk - Apr-18-2018, 12:51 PM - Forum: General Coding Help - Replies (1)

Hi,
Im having trouble with a program called Qgis and a plugin for that thats called Posttelemac. Im getting a error code.

TypeError: QgsCoordinat..... More

Print this item

  Redirecting all Flask logs
Posted by: georgelza - Apr-18-2018, 12:48 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all

Is it possible to redirect all FLASK logs to syslog (or a normal text log file) aka when run_server(debug=true) is specified

G

Print this item

  struct.error: unpack requires a buffer of 14 bytes
Posted by: upasana - Apr-18-2018, 11:06 AM - Forum: Networking - No Replies

Hi,
I am trying to read data from a socket and unpack it. But I get this error while running the code.

[python]import socket as socket_mod
import..... More

Print this item

  Senior Python Developer/Architect - Guildford
Posted by: mgrimes - Apr-18-2018, 10:43 AM - Forum: Jobs - Replies (1)

ROLE: Senior Software Developer/Architect (Python)

LOCATION: Guildford

SALARY: £55-75k + Stock Options

This is a genuinely exciting opportuni..... More

Print this item

  SSL error
Posted by: raag - Apr-18-2018, 10:38 AM - Forum: Data Science - No Replies

[python]

import csv
from collections import defaultdict
from Bio import Entrez
from Bio import Medline
import requests
import datetime
import..... More

Print this item

  ciao.py exceeds 100% VSZ
Posted by: hakan24 - Apr-18-2018, 09:21 AM - Forum: General Coding Help - Replies (2)

Hi all,

I'm having a very strange problem. I have an Arduino Tian that is programmed to send out sensor data to a server every x seconds.
My progr..... More

Print this item

  I'm trying to create a simple yes/no dialog box
Posted by: RedSkeleton007 - Apr-18-2018, 07:21 AM - Forum: GUI - Replies (15)

NOTE: I'm not doing anything illegal. I'm just working with my own two computers.

I'm working on a remote access computer hacking program for a sch..... More

Print this item

  Passing data between functions, got it working, but need clarification please
Posted by: digitalmatic7 - Apr-18-2018, 06:52 AM - Forum: Data Science - Replies (4)

I made a basic script that passes a dataframe between 2 functions.

I understand how it works, except for the meaning of the last line.

[python..... More

Print this item

  DataFrame.astype('category') duplicates column
Posted by: garikhgh0 - Apr-18-2018, 05:31 AM - Forum: Data Science - Replies (3)

Hi. I have a problem on convesion of object type into category.
My data shape is (1000000, 6)[Date, object,object, object, int64, [color=#2ECC71]colu..... More

Print this item

  command line progam wanted: clock
Posted by: Skaperen - Apr-18-2018, 03:44 AM - Forum: Bar - Replies (2)

i would like to have a command line program that displays the time in large text using text (will be run in a shell in a terminal). it should just ke..... More

Print this item

  Writing to a .py file
Posted by: J0k3r - Apr-18-2018, 12:07 AM - Forum: Homework - Replies (3)

[python]import time
import sys
from dictionary import spanishDict as x
from dictionary import frenchDict as y

""" Once you go through the menu a..... More

Print this item

  The Collatz Sequence
Posted by: Truman - Apr-17-2018, 10:54 PM - Forum: Homework - Replies (11)

Write a function named collatz() that has one parameter named number. If number is even, then collatz() should print number // 2 and return this value..... More

Print this item

  Convert Vba Primes to Python Primes
Posted by: jackhj - Apr-17-2018, 09:49 PM - Forum: General Coding Help - Replies (1)

[Python]codeNUMBEROFPRIMES = 100
NUMBEROFPRIMESPERLINE = 10
count = 0
number = 2
while (count < NUMBEROFPRIMES):
isPrime = True
divisor ..... More

Print this item

  Convert Vba to Python
Posted by: jackhj - Apr-17-2018, 09:03 PM - Forum: General Coding Help - Replies (2)

How would this statement in Vba For divisor = 2 to number /2
Next Divisor be converted to Python?

Print this item

  Help creating a histogram using an array
Posted by: rubadub - Apr-17-2018, 08:57 PM - Forum: Data Science - No Replies

Hey, so I'm currently struggling on a piece of code. I'm not very proficient at Python so bear with me. What I have is a numpy array of baseball stati..... More

Print this item

  Switching Characters
Posted by: SteampunkMaverick12 - Apr-17-2018, 08:04 PM - Forum: General Coding Help - Replies (2)

I am making a latin to runic translator and i want to know how to switch characters in a user inputted string into its corresponding characters in ano..... More

Print this item

  EXPORT FROM SQL SERVER TO CSV
Posted by: PYTHONDUDE - Apr-17-2018, 04:23 PM - Forum: General Coding Help - Replies (2)

The below code works however, whenever it gets exported, the headers for each column is missing. I need it to include all headers please advise

im..... More

Print this item

  xml "creation date"; different time reported for same file
Posted by: pixeliation - Apr-17-2018, 03:39 PM - Forum: News and Discussions - Replies (4)

I'm up against something I can't explain:
the xml "creation date/time" has different values depending what utility is viewing it. For example the Mac..... More

Print this item

  [Plot a stacked bar graph using plotly offline mode]
Posted by: niks250891 - Apr-17-2018, 02:31 PM - Forum: Data Science - Replies (1)

I am following this link to study https://plot.ly/python/bar-charts/ plot graphs in python using plot..... More

Print this item

  Matplotlib Colorbar Ticks (Increase number)
Posted by: BennyS - Apr-17-2018, 01:12 PM - Forum: General Coding Help - Replies (1)

Hi together!:)
I've got a problem concerning the ticks on a colorbar for a contourf plot.
Let's say I've got 20 Levels in the contourf plot. (plt.co..... More

Print this item

  How much multi-threading should be done?
Posted by: IAMK - Apr-17-2018, 12:00 PM - Forum: Data Science - Replies (7)

Question 1: Without using trial and error, is there a general rule to how deep multi-threading should be done?

Let's say I have 5 nested for loops, a..... More

Print this item

  talk about semaphores
Posted by: elizabethreeder - Apr-17-2018, 09:35 AM - Forum: General Coding Help - No Replies

I want to have a cli scripted pair in Python3, where one script will be run for a name and it will wait for a semaphore of that name. A second scenari..... More

Print this item

  error conditional
Posted by: yesterday - Apr-17-2018, 08:06 AM - Forum: Homework - Replies (1)

Hello I want to write the file's content in only one but It doesn't work. I have two types of files: .txt and .doc. If not exist in a1 and a2, the fil..... More

Print this item

  New user/beginner needing help
Posted by: oldDog - Apr-17-2018, 07:57 AM - Forum: General Coding Help - Replies (3)

I have only just started to learn Python programming
and hope someone can help me out here please.

I have created the following but can't understa..... More

Print this item

  analyzing a text and copy lines
Posted by: marta - Apr-17-2018, 05:22 AM - Forum: General Coding Help - Replies (7)

Hello, I am beginner in Python and I have a text (its content: https:[url=https://python-forum.io/thread-9574.html]..... More

Print this item

  AttributeError: 'Calculator' object has no attribute 'buttons'
Posted by: Gomez2021 - Apr-17-2018, 04:56 AM - Forum: General Coding Help - Replies (5)

Hello everyone,
First off this is my first post on this community, I apologize in advance for any mistakes my post may have. Aside from that I am re..... More

Print this item

  New PyPi(Python packaging index) site
Posted by: snippsat - Apr-16-2018, 10:25 PM - Forum: News and Discussions - Replies (1)

The new site is now up(out of beta).
Python Package Index (PyPI)
There are improvement in many areas.

Print this item

  Does == check the address or value?
Posted by: IAMK - Apr-16-2018, 10:20 PM - Forum: General Coding Help - Replies (3)

I watched Ned's video and now have a question. (Refer to the picture at 3:30)

I had originally..... More

Print this item

  Sample weights using XGBClassifier
Posted by: MagnusOlsen - Apr-16-2018, 07:19 PM - Forum: General Coding Help - No Replies

Hi, totally new here (and quite new in the kingdom of ML) and this is my first question;

I am using XGBClassifier (latest version) in python traini..... More

Print this item

  How to rewrite image file name based on ocr data.txt
Posted by: kevinchr - Apr-16-2018, 07:09 PM - Forum: General Coding Help - No Replies

Hey,

I'm pretty new to python and still learning everyday. I'm kind of stuck for what i want to accomplish with my python script.

What i'm tryin..... More

Print this item

  ip addresses to hostnames
Posted by: paulkt - Apr-16-2018, 06:36 PM - Forum: Networking - Replies (1)

Does anyone have a short script to read IP addresses from a txt file and resolve them to hostnames?

Thank you,
paulkt


I'm new to Python and w..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 8 hours ago Lou Pedroski55 General Codin...
  Python compiler Yesterday, 09:50 NeoQuant noisefloor General Codin...
  Trading Risk management s... 11-29, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... 11-29, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler 11-29, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579520
  Tutorial Requ... 513065
  Web Scraping ... 442384
  Newbie with P... 386415
  New Users Int... 381831
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Yesterday
StepanVoronin Yesterday
QABOB Yesterday
adityaN Yesterday
NeoQuant 11-29

User Panel Messages

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