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,579
» Latest member: Langlais
» Forum threads: 38,632
» Forum posts: 175,029

Full Statistics

Online Users
There are currently 448 online users.
» 0 Member(s) | 444 Guest(s)
Bing, Google, Baidu, Yandex

Latest Threads
PRANK YOUR FRIENDS WITH T...
Forum: Code sharing
Last Post: shailesen
3 hours ago
» Replies: 3
» Views: 3,964
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: MarkMan
4 hours ago
» Replies: 8
» Views: 308
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
6 hours ago
» Replies: 3
» Views: 102
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
11 hours ago
» Replies: 3
» Views: 149
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 03:37 AM
» Replies: 2
» Views: 126
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 230
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 995
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Jun-18-2025, 04:47 AM
» Replies: 1
» Views: 107
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 141
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 148

 
  I really need help!!! about argtypes and restype I think..
Posted by: Yuji3131 - Oct-25-2016, 03:44 AM - Forum: Data Science - Replies (4)

Recently Ive tried using Fortran subroutine with ctypeps in Python

the question is how can I send array to fortran?
here are my Fortran code and p..... More

Print this item

  Tracing function calls
Posted by: PyRaider - Oct-25-2016, 02:22 AM - Forum: General Coding Help - Replies (1)

I am new python but consider myself little more than a beginner. I am working on somebody else's code and its a huge program. I want to understand how..... More

Print this item

  Python basics about __init__ and return statement
Posted by: wk14 - Oct-25-2016, 01:29 AM - Forum: General Coding Help - Replies (5)

hi all

I haven't used python in almost 4 years, and even back then I've only learned the very basic stuff (so basically forget it all..)
Could som..... More

Print this item

  [xbmc] How to block the code from executed twice under the loop
Posted by: chris0147 - Oct-24-2016, 11:00 PM - Forum: GUI - Replies (29)

Hi all,
I need some help with my code. I have a problem with running the code through on the loop because when I pressed on the right arrow button of..... More

Print this item

  [pygtk] fixed.move not working as expected
Posted by: DennisT - Oct-24-2016, 08:43 PM - Forum: GUI - Replies (4)

Can anyone explain why the following code isn't working as I expect?  What I expect is a soccer ball png image would appear in the upper left corner a..... More

Print this item

  pip and setup script
Posted by: metulburr - Oct-24-2016, 08:13 PM - Forum: News and Discussions - Replies (14)

Im not sure of when pip was introduced, or more importantly when it was considered "the" method of installation. I know it was included in python 2.7...... More

Print this item

  Waiting for the user input while executing the program
Posted by: Lightningwalrus - Oct-24-2016, 05:29 PM - Forum: General Coding Help - Replies (3)

Hello !

Is there a way to make a program wait for the user input while executing a the rest of the code ?  For example i have a while loop which do..... More

Print this item

  Configuring requests module to use secondary IP on server for outbound requests
Posted by: mohit - Oct-24-2016, 03:01 PM - Forum: Networking - Replies (1)

Hello all.
[color=#1d2129][font=helvetica, arial, sans-serif]I have a server which h..... More

Print this item

  Why doesn't this work in the Python Shell?
Posted by: diemildefreude - Oct-24-2016, 06:52 AM - Forum: General Coding Help - Replies (10)

Hey, this simple code works as a script, but not if I enter it directly into the Python Shell (via Cmder on Windows). Is that normal?

[python]
i =..... More

Print this item

  banning accounts upon key words/phrases
Posted by: metulburr - Oct-24-2016, 12:24 AM - Forum: Board - Replies (22)

I requested an anti spam plugin and someone responded back with the plugin code. 

it blocks a post from being made and deletes the account. This is..... More

Print this item

  package installed by synaptic not accessible by jupyter
Posted by: kwijyb00 - Oct-23-2016, 10:20 PM - Forum: Data Science - Replies (2)

[color=#222222][font=Verdana, arial, sans-serif]I have this problem probably generated by having installed anaconda python over a ubuntu 16.10 sys whe..... More

Print this item

  Number logic problem
Posted by: m1xzg - Oct-23-2016, 06:20 PM - Forum: General Coding Help - Replies (13)

Hello all,  I'm having a bit of a problem with some number logic in a python script I'm working on.   The back story is this...

I have a raspberry ..... More

Print this item

  alternative to python
Posted by: Skaperen - Oct-23-2016, 09:05 AM - Forum: Bar - Replies (32)

if you were to make your own language similar to python, but not necessarily compatible, how would yours differ?

i had been thinking of writing one..... More

Print this item

  PyPDF2, merge.append(...) problem
Posted by: peterkl - Oct-23-2016, 08:31 AM - Forum: General Coding Help - Replies (1)

Greetings everyone,
I was developing a program to add Metadata to several PDF Files I have using PyPDF2, more specifically with the PdfFileMerger mo..... More

Print this item

  Open Source and X Platform development editor for Python
Posted by: donj - Oct-23-2016, 08:12 AM - Forum: News and Discussions - Replies (12)

Hi Everyone,

I'm the author of a Python extension for the open source, MIT licensed and cross platform Visual Studio Code Editor (https ://code.vis..... More

Print this item

  Unwanted random generation of scripted Shapes in GASP
Posted by: diemildefreude - Oct-23-2016, 07:34 AM - Forum: General Coding Help - Replies (3)

Hello,

I'm currently learning Python 2.7 with the help of this tutorial: http://openbookproject.net/thinkcs/pytho.../ch04.html If you look ..... More

Print this item

  NameError: name 'bsObj' is not defined
Posted by: Blue Dog - Oct-22-2016, 07:24 PM - Forum: Web Scraping & Web Development - Replies (14)

I am not sure what this error is.
here is the line of code it is talking about:

for link in bsObj.findAll("a", href=re.compile("^(/wiki/)")):

H..... More

Print this item

  multiprocess passing multiple arguments double asterisk
Posted by: pic8690 - Oct-22-2016, 07:00 PM - Forum: General Coding Help - Replies (1)

[python]

import multiprocessing as mp

def bar(**kwargs):
   for a in kwargs:
      print a,kwargs[a]

arguments={'name':'Joe','age':20}
p=m..... More

Print this item

  Python3 to Arduino
Posted by: holt24 - Oct-22-2016, 03:28 PM - Forum: General Coding Help - Replies (5)

Hi. My first post on here.
 I am trying to send - receive Python3 <> Arduino.
I had this working with Python2.7 now would like to convert to Pyhon3..... More

Print this item

  Read input file and print hyperlinks
Posted by: Emmanouil - Oct-22-2016, 11:07 AM - Forum: Web Scraping & Web Development - Replies (8)

Hello everybody, sorry for my last post it does not show the picture,
Edit admin:
No problem,just find "Insert Python tag" button.

I am new in py..... More

Print this item

  Naive Bayes too slow
Posted by: pythlang - Oct-21-2016, 09:22 PM - Forum: Data Science - Replies (22)

So, after fooling around with this algorithm I've noticed that it's entirely too slow since it's a learning kit, especially for analyzing large sets o..... More

Print this item

  ReGex With Python
Posted by: Kalet - Oct-21-2016, 08:29 PM - Forum: Web Scraping & Web Development - Replies (33)

Hi, I have a problem I could not solve, ask for your cooperation. 

Link => pastebin /QvZGfKTZ (add .com in pastebin).

I need only select the tex..... More

Print this item

  Show GPG keys in pyqt5 window
Posted by: Fred Barclay - Oct-21-2016, 08:04 PM - Forum: GUI - Replies (1)

G'day mates! I'm working on RumpelstilskN and I've exhausted my admittedly meager pyqt5 knowledge..... More


Attached Files

Thumbnail(s)
   
Print this item

  Creating Dynamic Variable Names
Posted by: Dragonexpert - Oct-21-2016, 05:02 PM - Forum: General Coding Help - Replies (3)

I was looking around at the MySQLdb extension and noticed that returns are a field number instead of a field name.
I was working on building a functi..... More

Print this item

  here is another 2.7 to 3.5 convert
Posted by: Blue Dog - Oct-21-2016, 04:37 PM - Forum: General Coding Help - Replies (5)

here is the code, some of it have been converted, so like it is not it will not run on ether one.

[python]import socket   #for sockets
import sys ..... More

Print this item

  Manipulating files Python 2.7
Posted by: hugobaur - Oct-21-2016, 01:20 PM - Forum: General Coding Help - Replies (6)

Folks,

I have a difficulty here to manipulate files.

Objective: I'm developing a script that needs to create folders and copy files from a sourc..... More

Print this item

  Reading privacy
Posted by: Ofnuts - Oct-21-2016, 10:25 AM - Forum: Board - Replies (3)

Just noticed this (and yes, it was talked about in "First impressions....").

[quote]
[size=x-small]Users browsed this thread: ..... More

Print this item

  Sage program question
Posted by: Doesnotcompute - Oct-21-2016, 09:45 AM - Forum: General Coding Help - Replies (2)

Hi , I have a problem with the following code (it's fairly simple I guess) , when I enter "what is love?" I get one of the random responses back , and..... More

Print this item

  suggestions for a GUI client program
Posted by: Skaperen - Oct-21-2016, 04:58 AM - Forum: GUI - Replies (1)

i have a plan to develop a program to dig deep into the Mandelbrot and Julia spaces and display the result in color.  an intended feature is to do the..... More

Print this item

  [split] adding 3rd party libs
Posted by: Blue Dog - Oct-21-2016, 12:35 AM - Forum: General Coding Help - Replies (7)

Hello Big Grin 

I need to put some modules in python 3.4, my os is win 7. How would I do that? One of the modules I need is pyperclip

..... More

Print this item

  Dont quote me on this!
Posted by: Yoriz - Oct-20-2016, 09:44 PM - Forum: Bar - Replies (16)

Yoriz Wrote: Wrote:This thread needs the quote feature disabled. [Image: smiley-faces-75.gif]
..... More

Print this item

  Mod_Python Issue
Posted by: wsmith - Oct-20-2016, 07:33 PM - Forum: Web Scraping & Web Development - Replies (3)

I have Apache running on a RedHat server, set up with mod_python using mod_python.publisher.
I have no problem navigating to any of the Python script..... More

Print this item

  Any one here used Rust (programming language) ?
Posted by: micseydel - Oct-20-2016, 06:35 PM - Forum: Bar - Replies (4)

Anyone here use Rust yet?

Print this item

  2d vector library advice
Posted by: kristofferorum - Oct-20-2016, 03:47 PM - Forum: General Coding Help - Replies (1)

Hi all,
 I'm a relative pythonic noob trying to figure out what library to use in order to do some 2d drawing with embedded bitmap graphics. I'm look..... More

Print this item

  Reusing same namespace name when writing back XML with xml.etree.ElementTree
Posted by: Ofnuts - Oct-20-2016, 03:26 PM - Forum: General Coding Help - Replies (1)

I'm editing an XML file with xml.etree.ElementTree. On input the XML has a namespace defined so all tags are of the form
[code]<somenamespace:tag>[/c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PRANK YOUR FRIENDS WITH T... 3 hours ago Spyros_dev shailesen Code sharing
  How do select this table ... 4 hours ago MarkMan MarkMan Web Scraping ...
  [split] Simple webbot for... 6 hours ago AB073 Plyth Code Review
  Dynamic Module Import Err... 11 hours ago DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... Yesterday, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question 06-18, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... 06-18, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
Most views
  The best Prog... 572267
  Tutorial Requ... 484755
  Web Scraping ... 436808
  Newbie with P... 379631
  Thread remain... 351217
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7337
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Langlais Today
ethan897 Today
DavidZergo Today
Dnfsdd8hfn2 Today
Zefin7 Today

User Panel Messages

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