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,933
» Latest member: tobey12
» Forum threads: 38,722
» Forum posts: 175,502

Full Statistics

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

Latest Threads
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
16 minutes ago
» Replies: 0
» Views: 4
Expert Guidance Made Easy...
Forum: General Coding Help
Last Post: Alex12
1 hour ago
» Replies: 0
» Views: 14
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
4 hours ago
» Replies: 1
» Views: 345
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,346
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,461
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 287
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 94
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,806
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,059
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 747

 
  Code doesn't seem to write anything
Posted by: PickyBiker - May-10-2017, 06:24 PM - Forum: General Coding Help - Replies (13)

Please help me understand why this doesn't write the count to the status.json file.

[python]import json
import os
import time
import datetime
..... More

Print this item

  Using 3rd party QT widgets in Python
Posted by: Standard_user - May-10-2017, 05:53 PM - Forum: GUI - Replies (4)

Good day,
I'm studying PyQt, so I decided to try adding some external widget to Qt Designer.  Let's say I have this gauge widget: https://github.com/..... More

Print this item

  Pearson InformIT Book sale
Posted by: Larz60+ - May-10-2017, 01:05 PM - Forum: News and Discussions - Replies (1)

Up to 45% off major titles
Promotion code: OPENSALE
URL: http://www.informit.com/promotions/
Sale Ends May 21

Included in the new edition of Dou..... More

Print this item

  make self compiled package available
Posted by: juerg - May-10-2017, 09:43 AM - Forum: General Coding Help - Replies (1)

I am using MS VS 2015 for my pyhton projects.
I am trying to make aruco functions available to my python environment. I have found an aruco library h..... More

Print this item

  dictionary comprehension
Posted by: Skaperen - May-10-2017, 07:18 AM - Forum: General Coding Help - Replies (1)

how can i make a dictionary comprehension for the dictionary being built in this code snippet?

[python]aws_regions = [
    ('us-east-1',      'use..... More

Print this item

  pygame.init help
Posted by: raichu4vuhs - May-10-2017, 07:01 AM - Forum: Game Development - Replies (2)

pygame.init() the internet tells me this is initializing a module. What does that mean?

Print this item

  Best construct? Array, class, other?
Posted by: PappaBear - May-10-2017, 06:08 AM - Forum: General Coding Help - Replies (1)

So as I recently modified my script to now take input from Vendor-A (asa) to Vendor-C (palo alto), I'm seeing that I may be better off using a CLASS...... More

Print this item

  OS Independent way to get network mask
Posted by: AussieSusan - May-10-2017, 02:55 AM - Forum: Networking - Replies (8)

I have an application that needs to send a broadcast message on the same network as my computer. Therefore I (think I) want to read the network mask f..... More

Print this item

  net neutrality
Posted by: metulburr - May-10-2017, 02:06 AM - Forum: Bar - Replies (45)

Im sure you guys have all heard about this.
https://www.theguardian.com/technology/2...rs?CMP=sha..... More

Print this item

  __getitem__ is readonly problem
Posted by: harun2525 - May-10-2017, 12:11 AM - Forum: General Coding Help - Replies (4)

my question here

how can i change readonly variable. this soo nonsense ):

my code
[python] 
example = {"book": "Guliver", "game": "Age of Empi..... More

Print this item

  Does anyone here use Learning Python by Mark Lutz 5th Edition?
Posted by: Luke_Drillbrain - May-10-2017, 12:02 AM - Forum: General Coding Help - Replies (3)

I'm considering buying Learning Python, 5th Edition by Mark Lutz (https://www.amazon.com/dp/1449355730/ref...F8&colid=1..... More

Print this item

  Yaml File escape characters in multiline string
Posted by: harun2525 - May-09-2017, 10:59 PM - Forum: General Coding Help - No Replies

[color=#242729][size=small][font=Arial,]i want use \n character in multiline string but yaml don't allow me to use \n character how can i use \n chara..... More

Print this item

  Subtract Minutes from Datetime.Time
Posted by: tkj80 - May-09-2017, 10:58 PM - Forum: General Coding Help - Replies (2)

Hi, I have a datetime.time object such as:

update_Dt.time()
Output:
datetime.time(21, 30)
How do I subtract 5 minut..... More

Print this item

  Question about how python being interpreted.
Posted by: Nirelg - May-09-2017, 08:33 PM - Forum: General Coding Help - Replies (2)

Hi all,

My question is a bit general, but for some reason I couldn't find any answer for it online.
I know that python is mostly an interpreted la..... More

Print this item

  Embedding Args in external program call
Posted by: brizflysdrones - May-09-2017, 07:40 PM - Forum: General Coding Help - Replies (5)

Needing to make a this os call happen stuck on how to do it.
print fname+ " %d Plants Detected" % len(keypoints)
need to preform the following
exiftoo..... More

Print this item

  Python 3.9/3.8 and pip installation under Windows
Posted by: snippsat - May-09-2017, 04:27 PM - Forum: Python Installation and Execution - Replies (4)

Python 3.9.1
Installer is the same as before,here some points
[UR..... More

Print this item

  Improve the velocity of the minimization
Posted by: Felipe - May-09-2017, 12:06 PM - Forum: General Coding Help - No Replies

Hi guys,

I'm using Python to do the inversion of a problem with many variables. The number of variables changes with the desired model, in some cas..... More

Print this item

  Python3 Django Socket IO Issue
Posted by: charlesprince - May-09-2017, 11:18 AM - Forum: Web Scraping & Web Development - Replies (1)

is there any socket io pakage for django python3, For chat application.

Print this item

  how does importing work in django framewok ?
Posted by: mohsen11071 - May-09-2017, 09:18 AM - Forum: Web Scraping & Web Development - Replies (1)

I am new to python . Im learning django web framework . 

I dont understand how these lines of code works ?

at urls.py these two lines of code : ..... More

Print this item

  WebScrape: Tabular Input, CSV Output
Posted by: vetabz - May-09-2017, 05:41 AM - Forum: Web Scraping & Web Development - Replies (2)

Patience for a noob please, thank you.

Trying to scrape this information https://drive.google.com/file/d/0Bw37apQ...w?usp=shar..... More

Print this item

  clipboard module in python3.6
Posted by: bmohanraj91 - May-09-2017, 05:03 AM - Forum: General Coding Help - Replies (1)

my question here
I would like to know how to find built in modules in a particular python version.

I am trying to import pyperclip or clipboard m..... More

Print this item

  Can't get pip to work
Posted by: KBingo - May-09-2017, 01:58 AM - Forum: General Coding Help - Replies (13)

I just started teaching myself how to program, and I'm using Python 3.6 and Windows 10.  I want to use pip to install the pyperclip module.  I know I ..... More

Print this item

  Passing Variables up and down through classes
Posted by: DavidC - May-08-2017, 10:27 PM - Forum: General Coding Help - Replies (2)

Hello,  I have two problems I would love to have help with.  First up,  My problem is knowing the right Pythonic terminology to use to search for the ..... More

Print this item

  How can I get print function output ?
Posted by: harun2525 - May-08-2017, 07:49 PM - Forum: General Coding Help - Replies (5)

i want to save print function output to my var without printing console. (sprintf function in C)

[python]

var = specific_print("hello", "my dear..... More

Print this item

  How to make a subtraction within a range of numbers?
Posted by: Alberto - May-08-2017, 06:54 PM - Forum: General Coding Help - Replies (3)

Dear Python Users,

I am pretty new to python, please help me with the following issue. I need to subtract every 10th squared number within a range ..... More

Print this item

  File access confusion python windows
Posted by: PickyBiker - May-08-2017, 05:36 PM - Forum: General Coding Help - No Replies

This problem is difficult to explain, I hope I get the idea across ok. 

There is a json file on a Raspberry Pi. I have a continuously running progr..... More

Print this item

  10 Reasons to use Python 3
Posted by: ichabod801 - May-08-2017, 12:31 PM - Forum: Web Scraping & Web Development - Replies (20)

http://www.asmeurer.com/python3-presenta...des.html#1

Print this item

  Windows/DOS python script cannot create a directory name beginning an @ at-sign
Posted by: LucRhan - May-08-2017, 10:34 AM - Forum: General Coding Help - Replies (6)

Dear forum readers,

DOS refuses the creation of a directory which name begins with an "@" (at-sign / at sign).

Unfortunately, I have to create a..... More

Print this item

  unexpected output
Posted by: Alberto - May-08-2017, 10:05 AM - Forum: General Coding Help - Replies (2)

Dear Python Experts,

I am pretty new to programming, thus please help me with the following code:


[python]
import math

def quadratic_formu..... More

Print this item

  HTTP request inside a for loop.
Posted by: ayanda83 - May-08-2017, 09:46 AM - Forum: General Coding Help - Replies (1)

I am writing a web scraping script where I have a list of urls to scrap and I iterate through these urls using a for loop. These urls will return the ..... More

Print this item

  is it considered good practice to ...
Posted by: Skaperen - May-08-2017, 08:48 AM - Forum: News and Discussions - Replies (9)

is it considered good practice to return a reference to a function defined inside a function for the caller (or code it pass the reference along to) t..... More

Print this item

  Sending Hex Code to Machine from Laptop using TCP/IP Protocal
Posted by: Brian_Cheong - May-08-2017, 07:48 AM - Forum: General Coding Help - Replies (2)

Hi all, I am a newbie in Python Programming, I am trying to send this hex code " ABBA05B80000AF11"
to reset the Machine through Tcp/ IP Protocol

D..... More

Print this item

  Incorrect code
Posted by: janek30 - May-08-2017, 04:07 AM - Forum: Homework - Replies (11)

I have a Incorrect  code ,and I need to find the faults and fix them.
Code:..... More

Print this item

  get only additions in difflib.unified_diff
Posted by: metulburr - May-08-2017, 01:08 AM - Forum: General Coding Help - Replies (3)

Im using difflib to mimic git diff between two files in python. It works as expected and as git diff does it. Howeve..... More

Print this item

  Compiler fault or some kind of weird referencing bug?
Posted by: Joseph_f2 - May-08-2017, 12:07 AM - Forum: General Coding Help - Replies (11)

So below is my Python code. I'm just messing around with what I was going to use as base for a new project. But after only 2 minutes of writing, I hit..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Reliable Is Assignmen... 16 minutes ago tobey12 tobey12 News and Disc...
  Expert Guidance Made Easy... 1 hour ago Alex12 Alex12 General Codin...
  Another app idea - intera... 4 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575788
  Tutorial Requ... 497026
  Web Scraping ... 439798
  Newbie with P... 383487
  New Users Int... 365274
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 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
tobey12 Today
Alex12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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