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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 54 online users.
» 1 Member(s) | 44 Guest(s)
Google, Bing, Facebook, Applebot, AOL, kshahzad1985

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
11 hours ago
» Replies: 1
» Views: 55
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Today, 09:52 AM
» Replies: 11
» Views: 266
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 09:41 AM
» Replies: 3
» Views: 106
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Today, 05:07 AM
» Replies: 5
» Views: 233
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 92
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,602
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 190
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 174
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,902
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,409

 
  Bubble sort on randomized integers
Posted by: bellevie - May-11-2017, 06:12 PM - Forum: General Coding Help - Replies (4)

Hi all,

Apologies in advance - I've just started to learn python and am struggling to grasp it so my question will be at a very "noobish" level.
..... More

Print this item

  How to plot a Graph
Posted by: Kamo - May-11-2017, 05:27 PM - Forum: Homework - Replies (2)

Hello, I have an equation and need to plot a graph using the Euler method, the code looks like this:

[python]h = 0.01
x = [0.0]
y = [0]
n = int(..... More

Print this item

  Getting remote addresses from database
Posted by: desudesu - May-11-2017, 05:02 PM - Forum: General Coding Help - Replies (3)

Hi, im looking to make a program that connects to 20+ remote machines and runs some commands on them and also downloads some files from them.

Becau..... More

Print this item

  the rs232 printer is not working
Posted by: gray - May-11-2017, 04:23 PM - Forum: GUI - Replies (10)

[color=#242729][size=small][font=Arial,]
[size=small]i have a rs232 thermal printer(avasys)...i put a max232cpe on the path of rs232 cable from print..... More

Print this item

  Python In Lunix
Posted by: Wizard - May-11-2017, 03:38 PM - Forum: Homework - Replies (8)

Hello World!

I am in dire need of assistance on a current assignment in my IT class. We are using Linux terminals from our schools system to write ..... More

Print this item

  How to concatenate horizontally
Posted by: SriRajesh - May-11-2017, 01:41 PM - Forum: Homework - Replies (2)

Hi,
I have below two matrices:
a=2
b=4
I want to concatenate them horizontally:

my desired  output:
2
4

Many thanks in advance,

Print this item

  How to extract the matching rows
Posted by: SriRajesh - May-11-2017, 01:10 PM - Forum: Homework - Replies (2)

Hi,

I have below matrix

column1   column2       column3

Mak         2                  3
Lak          4                  5
Nahl        7   ..... More

Print this item

  How can i convert a string to an array with elements type float 64
Posted by: zoya2385 - May-11-2017, 01:08 PM - Forum: Data Science - Replies (3)

Hello,

I have to convert the variable input to an array with dtype float64.

[color..... More

Print this item

  Names and codes
Posted by: janek30 - May-11-2017, 12:27 PM - Forum: Homework - Replies (3)

I have a dictionary to people's names and codes,like this:
[python]  Names_and_codes = {"Emily":30623,
                  'Ethan':21298,
           ..... More

Print this item

  Executing single unittest over a sequence
Posted by: volcano63 - May-11-2017, 09:55 AM - Forum: General Coding Help - Replies (1)

Hi folks,
I have the unittest that may run over some sequence, failing occasionally on some elements.

So, instead of writing
[python]
class MyTe..... More

Print this item

  Simple TCP Server
Posted by: shift838 - May-11-2017, 02:58 AM - Forum: Networking - Replies (4)

I am very new to Python scripting.

I want to create a simple TCP server that will listen on a specified port and as soon as a connection is made it..... More

Print this item

  screen size when editing python
Posted by: Skaperen - May-11-2017, 12:54 AM - Forum: News and Discussions - Replies (12)

what screen size do coders here have?  i have increased my size by moving to a smaller font to better accommodate some cloud facility output.  my 2-wi..... More

Print this item

  How to sum elements of same position in n dimensional array
Posted by: Felipe - May-11-2017, 12:09 AM - Forum: Data Science - Replies (2)

Hi, guys,

I have a numpy array of (2,100,2) dimensions, that I want to sum elements of the same position. In order to clarify my doubts, I wrote th..... More

Print this item

  Amount of letters in a inputted string?
Posted by: CyanSupreme - May-10-2017, 08:16 PM - Forum: General Coding Help - Replies (3)

I'm not sure how to make it so that if the password has less than 5 letters, it says Please select a longer password!


[python]password = input("Plea..... More

Print this item

  How to make it a website?
Posted by: CyanSupreme - May-10-2017, 07:48 PM - Forum: General Coding Help - Replies (3)

How can I make my code appear in a webpage? I once found the code yet I can't find it again.

Print this item

  Why doesn't this WORK?
Posted by: CyanSupreme - May-10-2017, 07:31 PM - Forum: General Coding Help - Replies (1)

Please help me find the problem. Once I verify the password nothing appears.

[python]print("Hello, welcome to WxW's website.")
import time
time.s..... More

Print this item

  How to Print Function Prototype ?
Posted by: harun2525 - May-10-2017, 07:16 PM - Forum: General Coding Help - Replies (7)

i want print function prototype. 

example
[python]
def foo(arg, kwarg = "py3.6", os = "Fedora"):
    pass

get_func_prototype(foo)

# output..... More

Print this item

  How to parallelize an 2D array?
Posted by: Felipe - May-10-2017, 07:03 PM - Forum: Data Science - Replies (8)

Hi guys,

I need to parallelize my code to improve it's velocity. I tried to understand how to do it reading some internet tutorials, but without succ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 11 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Today, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Today, 09:41 racingsubby Larz60+ General Codin...
  Backward compatibility qu... Today, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578801
  Tutorial Requ... 509756
  Web Scraping ... 441907
  Newbie with P... 385898
  New Users Int... 375902
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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