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,308
» Latest member: NeoQuant
» Forum threads: 38,801
» Forum posts: 175,919

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 39 Guest(s)
Bing, Facebook Dev, Google, Applebot, AOL

Latest Threads
Python compiler
Forum: General Coding Help
Last Post: NeoQuant
3 hours ago
» Replies: 0
» Views: 20
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
4 hours ago
» Replies: 5
» Views: 58
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
5 hours ago
» Replies: 0
» Views: 29
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
11 hours ago
» Replies: 8
» Views: 231
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Today, 07:39 AM
» Replies: 3
» Views: 11,107
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 189
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 714
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,832
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 180
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 154

 
  pymqi user/password
Posted by: ThomasT - Sep-24-2018, 09:36 PM - Forum: Networking - Replies (1)

Hello

while connecting to a Websphere MQ Queuemanager I get reason code 2035 ("not authorized").
It works in Java with IBM-MQ-Java-classes.

py..... More

Print this item

  HOMEWORK HELP
Posted by: abdullahali - Sep-24-2018, 08:55 PM - Forum: Homework - Replies (1)

Hey guys, I have been given a list of questions to answer using this code. Ive answered some of them but some I have no answer for and would appreciat..... More

Print this item

  text file processing
Posted by: nzcan - Sep-24-2018, 07:16 PM - Forum: Homework - Replies (5)

hello,

i have a 'one.txt'-file. 'one.txt' contains 11 sentences - plain text - utf-8 characters.
i want to write a py-script that process 'one.tx..... More

Print this item

  Arcs
Posted by: eduardoforo - Sep-24-2018, 06:51 PM - Forum: Game Development - Replies (2)

I'm drawing in Pygame a soccer field.
With this code I have managed to draw the arc of the lower left corner of the field.

pygame.draw.arc (pantal..... More

Print this item

  Nested looping issue
Posted by: smk90 - Sep-24-2018, 06:42 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi,
I am a Python newbie, I am trying to use Python recursively loop through a list and provide a cumulative value of a metric for each 'match' in a ..... More

Print this item

  How to find particular text from td tag using bs4
Posted by: Prince_Bhatia - Sep-24-2018, 06:02 PM - Forum: Web Scraping & Web Development - Replies (7)

hi,

I have some html links and i want to find some particular text and it's next text also. I am using regex but receiving lost of empty lists.

..... More

Print this item

  Representation of recursive list
Posted by: DeaD_EyE - Sep-24-2018, 05:20 PM - Forum: Bar - Replies (1)

Guess you have following code:

x = [1, 2, 3]
x.append(x)
print(x)
The output:
[spoiler]
Output:
[1, 2, 3, [...]]
[/spoi..... More

Print this item

  Spyder: Module Not Found
Posted by: jmair - Sep-24-2018, 04:57 PM - Forum: General Coding Help - Replies (2)

Is there a location in Spyder that I can add another directory of Modules? from CMD line I can import a module (such as pygame) but from Spyder it's a..... More

Print this item

  Traceback error
Posted by: tjnichols - Sep-24-2018, 04:44 PM - Forum: Homework - Replies (3)

This runs, as in it appends the file. The problem is I get this traceback error and I don't know why.

[python]employee_file = open("Employees.txt",..... More

Print this item

  Is it possible to trun local internet access off programmatically?
Posted by: Larz60+ - Sep-24-2018, 02:34 PM - Forum: Networking - Replies (4)

Is there a way to enable or disable local internet access programmatically ?

Print this item

  Python equivalent to sed [solved]
Posted by: cygnus_X1 - Sep-24-2018, 02:32 PM - Forum: General Coding Help - Replies (2)

I'm trying to create a program guide for BBC Radio 4 Extra.
I'm using python3.4 and Debian linux on Raspberry Pi

In linux the stream editor (sed) ..... More

Print this item

  instant update of graph within selected time range
Posted by: brecht83 - Sep-24-2018, 01:34 PM - Forum: Web Scraping & Web Development - No Replies

I’m developing a project where I have a large .csv file (>3 000 000 lines) with multiple columns. Depending on the input of the user I want to display..... More

Print this item

  Mail
Posted by: Faiyaz - Sep-24-2018, 12:29 PM - Forum: General Coding Help - Replies (1)

Dear people,

I have searched how i can send mails from Python, but al the tutorials and posts are confusing, because the in every tutorial and post..... More

Print this item

  Extract Specific Pattern
Posted by: rlinux57 - Sep-24-2018, 12:20 PM - Forum: General Coding Help - Replies (4)

Hi Team,

How do I extract specific pattern in below code. As I have tried to get expected output through regex and use Python Dictionary in or..... More

Print this item

  Pick Value from Json
Posted by: dataonmyview - Sep-24-2018, 11:53 AM - Forum: General Coding Help - Replies (3)

Hi

I have a below JSON output. I want to pick the value of "Id" from the JSON result.

[
{
"Attributes": {
"accessories": [],
"age..... More

Print this item

  Simple question - ERROR
Posted by: UnitedK - Sep-24-2018, 10:51 AM - Forum: General Coding Help - Replies (1)

Hi guys, i'm just learning how to program in Python and i'm have some problems...

I'm testing the functions and this is my code:

##I want a simp..... More

Print this item

  A remote firewall Python library that I'm working on
Posted by: Ripolak - Sep-24-2018, 10:33 AM - Forum: Code sharing - No Replies

Hi there!

For the past few days I've been working on a small library that I personally have the need for, and I'm sure that there are some sysadmin..... More

Print this item

  How do I put a variable inside a String in Python?
Posted by: evilcode1 - Sep-24-2018, 09:59 AM - Forum: General Coding Help - Replies (8)

hello all ...

im trying to add a variable inside a String ...
this is my code :

[python]import os
import sys

cmd2 = """powershell -com..... More

Print this item

  How to print a File Path ?
Posted by: Astrikor - Sep-24-2018, 09:39 AM - Forum: General Coding Help - Replies (3)

Hello

I am sure I must have a misunderstanding about Python codec formats,
so I am looking for advice here.

I want to print a file path:

[py..... More

Print this item

  Newbie Ubuntu script problem
Posted by: Kloontor - Sep-24-2018, 01:56 AM - Forum: General Coding Help - Replies (6)

I decided for my first Python project I would make a program that broke up a text file into individual passwords that would be attempted on a rar file..... More

Print this item

  select one item from row with sqlite3
Posted by: mcmxl22 - Sep-24-2018, 12:32 AM - Forum: General Coding Help - Replies (1)

I have a database consisting of 3 columns. I want to match just one item from one column.

[python]
def interface():
'''Create interface allowing ..... More

Print this item

  numpy subtraction of two arrays
Posted by: devenuro - Sep-24-2018, 12:30 AM - Forum: Data Science - Replies (1)

Hi there

So I want to subtract two numpy arrays a and b:

a=[[ 1. 0.85979163 0. 0.11766047 0.19353699]
[ 0.8589698 1. ..... More

Print this item

  Populating a list with Dictionaries....
Posted by: SteenRudberg - Sep-23-2018, 11:12 PM - Forum: Homework - Replies (4)

HI

I have a .adi file that looks like this:
<PROGRAMID:15>WWFFlog by 5p0o
<PROGRAMVERSION:4>5.04

<EOH>

***************** START OF NEW CALL:..... More

Print this item

  pi3 serial communication
Posted by: tony1812 - Sep-23-2018, 10:29 PM - Forum: General Coding Help - No Replies

Hello, I have this two pieces of codes, It is used to communicate between pi 3 and Arduno via HC-0% bluetooth. It was work about a year ago but now I..... More

Print this item

  pathlib hanging
Posted by: bluefrog - Sep-23-2018, 08:56 PM - Forum: General Coding Help - Replies (2)

Its the first time I'm using pathlib. Any reference to it seems to hang. Is it something to so with permissions ?
I'm working under my home directory..... More

Print this item

  concatenating list with tuple
Posted by: Skaperen - Sep-23-2018, 08:34 PM - Forum: General Coding Help - Replies (7)

i can do mylist+=mytuple but i cannot do mylist=mylist+mytuple. why is that?

[code]lt1/forums /home/forums 1> py3
P..... More

Print this item

  Linux user folder names (if translated)
Posted by: Axel_Erfurt - Sep-23-2018, 05:55 PM - Forum: Code sharing - Replies (1)

[python]
from gi.repository import GLib

docs = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DOCUMENTS)
desktop = GLib.get_user_special_dir(GLib...... More

Print this item

  Help with def, try, except
Posted by: dflick - Sep-23-2018, 05:00 PM - Forum: General Coding Help - Replies (1)

Environment CentOS 7 fully patched. Python 3.6.

I have the following bit of code that is failing validation. The validation script runs all of my ..... More

Print this item

  Why can't I merge pandas dataframes
Posted by: learnpython2018 - Sep-23-2018, 04:53 PM - Forum: Data Science - Replies (2)

I'm just trying to learn python and started with the imdb database files. (the headers and the data files can be seen here: https://www.imdb.com/inter..... More

Print this item

  Create simple live plot of stock data
Posted by: dram - Sep-23-2018, 04:00 PM - Forum: General Coding Help - Replies (2)

The below code us just some start of learning python quicker by using a real world example and trying out different things. It's nothing that will be ..... More

Print this item

  Webscraping homework
Posted by: Ghigo1995 - Sep-23-2018, 03:47 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all, I really need some help with a Python assigment. The assignment consists in writing a Python code to web scrape data and assemble a dataset.
..... More

Print this item

  Run Error
Posted by: jacobdadoun - Sep-23-2018, 03:04 PM - Forum: Bar - Replies (3)

Hello community!
I'm very new to PyCharm.

Every time I save a project and I close it, and then reopen the project to run it, I get an error equals=2 ..... More

Print this item

  AES encryption - does not match between arduino and python 3 crypto
Posted by: guillaume55 - Sep-23-2018, 11:14 AM - Forum: General Coding Help - No Replies

Hi,
I'm trying to send encrypted data from python3 to an esp8266 via mqtt.
Currently mqtt with no encryption works but i'm stuck on the encryption..... More

Print this item

  Wasted hour
Posted by: pcsailor - Sep-23-2018, 10:37 AM - Forum: Bar - Replies (5)

Hi,

I just spent an hour solving a problem for the second time, one that I solved last week, but forgot I solved the problem last week.

And the ..... More

Print this item

  GET Request and JSON response
Posted by: montyonthebonty - Sep-23-2018, 10:08 AM - Forum: Networking - Replies (9)

Good morning

I'm trying to use Python to connect to a MySQL Database, so I'm trying to use a GET request and a PHP script.

The code I have so fa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python compiler 3 hours ago NeoQuant NeoQuant General Codin...
  Trading Risk management s... 4 hours ago NeoQuant NeoQuant Code sharing
  Standard template Data En... 5 hours ago Hosthubac Hosthubac Code Review
  No new line from print in... 11 hours ago Lou snippsat General Codin...
  Python Online Compiler Today, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 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... 579494
  Tutorial Requ... 512819
  Web Scraping ... 442365
  Newbie with P... 386395
  New Users Int... 381716
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 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
NeoQuant Today
Hosthubac Today
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today

User Panel Messages

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