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,581
» Latest member: Zauf
» Forum threads: 38,633
» Forum posts: 175,030

Full Statistics

Online Users
There are currently 563 online users.
» 1 Member(s) | 553 Guest(s)
Baidu, Google, Bing, Yandex, Twitter, AOL, deanhystad

Latest Threads
Problème d'exécutable
Forum: General Coding Help
Last Post: Zauf
29 minutes ago
» Replies: 0
» Views: 7
PRANK YOUR FRIENDS WITH T...
Forum: Code sharing
Last Post: shailesen
5 hours ago
» Replies: 3
» Views: 3,965
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: MarkMan
7 hours ago
» Replies: 8
» Views: 319
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
8 hours ago
» Replies: 3
» Views: 103
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:07 AM
» Replies: 3
» Views: 152
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 03:37 AM
» Replies: 2
» Views: 129
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 231
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 996
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Jun-18-2025, 04:47 AM
» Replies: 1
» Views: 111
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 143

 
  Simple question help me plz
Posted by: PedroGPT - Oct-28-2016, 07:03 PM - Forum: Homework - Replies (4)

Hello. If I have a string: 'ABC', how can I give each character a value so it can be coded?

ex: A = 1
     B = 2
     C = 3

input:

x = 'ABC..... More

Print this item

  Overlay two lines on a single seaborn plot
Posted by: pemfir - Oct-28-2016, 04:38 PM - Forum: Data Science - Replies (1)

[quote]
issue i am facing is that when i want to plot two datasets into a single seaborn graph, the graph does not maintain the correct x-axis from e..... More

Print this item

  How to umount from python script?
Posted by: demosthenesk - Oct-28-2016, 08:10 AM - Forum: General Coding Help - Replies (2)

Hello, i have the next umount function:

[python]
    def umount(self):
        '''unmounts VirtualDVD'''
        cmd = 'gksudo umount VirtualDVD..... More

Print this item

  a = b = c
Posted by: Skaperen - Oct-28-2016, 07:33 AM - Forum: General Coding Help - Replies (5)

applying the TIASIIW method i found that

a = b = c
assigns c to both a and b.
it works in both 2.7.12 and 3.5.2.
[i]i cannot find..... More

Print this item

  bksp() requires no arguments (one given)
Posted by: gdog1102 - Oct-28-2016, 02:51 AM - Forum: General Coding Help - Replies (3)

Here is some code for my text editor (in progress)
[python]
print 'WELCOME TO CHARPY V2'
import os
#os detection/import msvcrt
try:
    import m..... More

Print this item

  [SenseHat] Frogger
Posted by: ScarletSwitch - Oct-27-2016, 10:33 PM - Forum: Game Development - Replies (1)

So I'm making a game sort of like frogger and this is what I have so far
[python]
from sense_hat import SenseHat, ACTION_PRESSED, ACTION_HELD, ACTIO..... More

Print this item

  Flask Issues
Posted by: iainstott - Oct-27-2016, 06:02 PM - Forum: Web Scraping & Web Development - Replies (12)

Hi guys, hoping someone fancies helping me out. I have written a central heating control script in python 2, and as I haven't really done much with py..... More

Print this item

  bpython
Posted by: metulburr - Oct-27-2016, 04:56 PM - Forum: News and Discussions - Replies (2)

This is kinda interesting
https://github.com/bpython/bpython
[img]https://camo.githubusercontent.com/fffc539a28d2465c11b74ff3c06d0b5595037454/687474..... More

Print this item

  Not sure whats wrong with this
Posted by: DoomMagnet - Oct-27-2016, 04:47 PM - Forum: GUI - Replies (4)

I'm a new programmer who started python last month and tkinter today. I've got a problem with my code and im not sure whats up with it.

[python]fro..... More

Print this item

  Any way to get raw_input to work in my function?
Posted by: Pythonerous - Oct-27-2016, 04:35 PM - Forum: General Coding Help - Replies (4)

Hi again! Been playing around with functions and decided to make my own and wanted to make a program that stated food waste in pounds with the data co..... More

Print this item

  Various Python Gotchas
Posted by: metulburr - Oct-27-2016, 03:13 PM - Forum: Common pitfalls and what to do - Replies (4)

Python will trip you up at some point or another. It sometimes can feel like a bug when its not. What people define as a gotcha depends on who you are..... More

Print this item

  how to install pyqt5 for python 3.5.2 64bit
Posted by: lemonred - Oct-27-2016, 11:31 AM - Forum: GUI - Replies (2)

Hello my names Luigi from Italy,

How to install pyqt5 on python 3.5.2 64 bit with code designer ?

Thanks.

Print this item

  this would be silly if it as not driving mr crazy
Posted by: Blue Dog - Oct-27-2016, 11:17 AM - Forum: Web Scraping & Web Development - Replies (16)

I am using 2.7.3

import urllib
htmlfile = urllib.urlopen("http://www.google.com")
htmltext = htmlfile.read()
[size=x-large]this i..... More

Print this item

  Sharing global variables between script in python
Posted by: capponero - Oct-27-2016, 08:00 AM - Forum: General Coding Help - Replies (3)

Hello guys,

I have just moved from Matlab to Python (I am using Spyder environment) and I am depressed that I cannot share the global variables bet..... More

Print this item

  Python code error on browser.
Posted by: adi.6194 - Oct-27-2016, 06:39 AM - Forum: General Coding Help - Replies (3)

I have this code which works fine when i run it through terminal. But when i get to the link via browser, it gives me an error:
[quote]
sh: hdfs: c..... More

Print this item

  BASH ?
Posted by: elico - Oct-27-2016, 06:37 AM - Forum: Bar - Replies (2)

Hi all 

What is the meaning of BASH in linux ?

Thanks 
Elico

Print this item

  Installing powerpoint
Posted by: elico - Oct-27-2016, 06:35 AM - Forum: Bar - Replies (14)

Hi all


I need to do some openoffice for linux presentaiuon to run under linux

Can it be done  ? 
How to do this ?

Thanks 

Elico


HI t..... More

Print this item

  C code under linux
Posted by: elico - Oct-27-2016, 06:31 AM - Forum: Bar - Replies (9)

Hi 

I need to code some program in C
Do I have to compile it under linux ?
Can  I compile it under WINDOWS and when verifid can I upload and run ..... More

Print this item

  mod actions
Posted by: metulburr - Oct-27-2016, 05:44 AM - Forum: Board - Replies (13)

Do you guys want mod actions to show in the thread. The main one i was thinking of was "moving thread" or "merging thread" for those ones that we have..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to put data into a right variable -CSV
Posted by: klllmmm - Oct-27-2016, 01:27 AM - Forum: General Coding Help - Replies (3)

I have exported some data to CSV from a PDF file using PDF multitool.

[url=https:..... More

Print this item

  Selenium - "Element is not currently visible and may not be manipulated"
Posted by: tkj80 - Oct-26-2016, 11:10 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I have been working on the following code to scrape data from the website for my research. However, I got the following error message. "errorMe..... More

Print this item

  create dictionary from **kwargs that include tuple
Posted by: bluefrog - Oct-26-2016, 09:57 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to initialise an object by passing a list of named tuples. I would like to build a dictionary.

the code that came as a result of ..... More

Print this item

  NON US
Posted by: elico - Oct-26-2016, 09:04 PM - Forum: General Coding Help - Replies (1)

Hi how do I writr lines of non US language

Thanks 
Elco

Print this item

  Search the data to update in a database
Posted by: chris0147 - Oct-26-2016, 05:48 PM - Forum: General Coding Help - Replies (7)

Hi all,
I need some help, I want to search for the data into the database and replace for each string. I want to find for a data like 3001, I want to..... More

Print this item

  Do I better to give up to use ctypes?!?!
Posted by: Yuji3131 - Oct-26-2016, 05:46 PM - Forum: General Coding Help - Replies (2)

I've been trying to call Fortran.dll file with ctypes in Python 2.7. 

however I've struggled with how to send and get Array and Matrix. Strictly sp..... More

Print this item

  AsyncSSH and timeout
Posted by: Standard_user - Oct-26-2016, 03:13 PM - Forum: General Coding Help - Replies (1)

Good day,
I'm trying to run multiple SSH clients using AsyncSSH lib. This is an example from manual, which works fine:
      
[python]
import asy..... More

Print this item

  Repl.it Big goal
Posted by: snippsat - Oct-26-2016, 02:21 PM - Forum: News and Discussions - Replies (3)

Quote:That's why today we're making every Python package ever immediately available on Repl.it
..... More

Print this item

  facing problem with running interactive shell using paramiko
Posted by: saswatidas437 - Oct-26-2016, 01:21 AM - Forum: News and Discussions - Replies (1)

[color=#333333][size=small]I have written below code to run 3 command in remote server interactively[/s..... More

Print this item

  NLTK create corpora
Posted by: pythlang - Oct-26-2016, 01:21 AM - Forum: General Coding Help - Replies (5)

Hi guys,

Pretty straightforward and most likely easy question for you guys here:

I'm trying to create and use my own corpora saved as a .txt fil..... More

Print this item

  Scraping Content from Google Chat
Posted by: ATXpython - Oct-25-2016, 11:34 PM - Forum: General Coding Help - Replies (2)

Hello - 

I want to see if anyone knows of an "easy" way to pull content from google hangouts (their instant messenger app).
So, if I had python lo..... More

Print this item

  Oignon convex hull
Posted by: Scientifix - Oct-25-2016, 07:59 PM - Forum: Data Science - Replies (3)

Hello everyone,
I have been working on a projet for a while now and I don't get my code to work
The problem looks quite simple :

Given a set of ..... More

Print this item

  creating a dictionary
Posted by: bluefrog - Oct-25-2016, 04:30 PM - Forum: General Coding Help - Replies (5)

Given the following, how can I best create a dictionary as follows:

1 [2]
2 [3, 4]
3 [1]
4 [4, 5]
The sample code I have thus far ..... More

Print this item

  I need assistance with my Python project
Posted by: ProgHelper - Oct-25-2016, 01:45 PM - Forum: Homework - Replies (1)

Hello guys,

[color=#333333]I need your kind support in completing the project below.[/..... More

Print this item

  Python Developer at Submarine Studio (Amsterdam)
Posted by: Sub - Oct-25-2016, 12:35 PM - Forum: Jobs - No Replies

For our animation studio we are looking for a Python Developer who can help us expand our internal asset management system and help us with pipeline r..... More

Print this item

  New to python, need help
Posted by: harryco - Oct-25-2016, 10:01 AM - Forum: Homework - Replies (4)

Hello guys, I desperately need your help..I have a marked exercise to do and I have no idea how to do it. Could you please help me so  i dont fail ;d ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Problème d'exécutable 29 minutes ago Zauf Zauf General Codin...
  PRANK YOUR FRIENDS WITH T... 5 hours ago Spyros_dev shailesen Code sharing
  How do select this table ... 7 hours ago MarkMan MarkMan Web Scraping ...
  [split] Simple webbot for... 8 hours ago AB073 Plyth Code Review
  Dynamic Module Import Err... Today, 00:07 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...
Most views
  The best Prog... 572267
  Tutorial Requ... 484757
  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
Zauf Today
rupacodingclave Today
Langlais Today
ethan897 Today
DavidZergo Today

User Panel Messages

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