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,941
» Latest member: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 72 online users.
» 1 Member(s) | 65 Guest(s)
Apple, Bing, Google, AOL, AOL, pllrdvalery

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
11 hours ago
» Replies: 1
» Views: 304
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Today, 04:48 AM
» Replies: 8
» Views: 436
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,644
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,003
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,355
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,906
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,678
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,776
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,926
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,479

 
  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

  Nested Conditionals
Posted by: Elero - Apr-16-2018, 05:19 PM - Forum: Homework - Replies (3)

Hello Forum!

I am new here and also at Python. I am currently learning Python through archived material on edx (a Microsoft Learning Platform). My ..... More

Print this item

  Help solving Python problem
Posted by: WHelped - Apr-16-2018, 05:07 PM - Forum: Homework - Replies (4)

I am not writing and spiking English good, do not be so angry, please
There is a list of int and natural numbers k,m. Print the min i that is true a[..... More

Print this item

  Python Developers Available for Immediate Hiring
Posted by: nishantsah - Apr-16-2018, 05:04 PM - Forum: Jobs - Replies (2)

Python developer available for immediate hiring.
Good experience of working remotely.

Contact - support@poogloo.me

[u]PooGloo Technologies[/u..... More

Print this item

  making a basic tree help
Posted by: IIINIKONIII - Apr-16-2018, 03:51 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm new to python and trying to make a basic tree, I have made this code to draw the triangles on top of each other but I am unable to work out..... More

Print this item

  mkdtemp spontaneously stopped working reliably last night
Posted by: saporta98 - Apr-16-2018, 01:58 PM - Forum: General Coding Help - Replies (1)

I have multiple production workloads running on multiple servers. All using Python 2.7.12. This morning I arrived at work to find lots of errors in my..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 11 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... Today, 04:48 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576626
  Tutorial Requ... 498673
  Web Scraping ... 440471
  Newbie with P... 384393
  New Users Int... 367715
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
pllrdvalery Today
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday

User Panel Messages

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